📄 dialog_1000msgproc.c
字号:
/*******************************************************************************
* COPYRIGHT DaTang Mobile Communications Equipment CO.,LTD *
********************************************************************************
* Filename :
*
* Description:
* Notes : NA
*
*--------------------------------------------------------------------------------
* Change History:
*--------------------------------------------------------------------------------
*
*
*******************************************************************************/
#include "UIResource.h"
/*********************************************************************************** Function: OnBnClked1001* Purpose: <describing what the function is to do> * Relation: <describing the name, version and position of protocols involved by * this function>* Params:* * Name Type In/Out Description * -------- ---- ------ ----------- * * Return: <comment on the returned values>* Note: <the limitations to use this function or other comments>***********************************************************************************/static SINT32 OnBnClked1001(HWND hWnd,WPARAM w,LPARAM l){ return DefaultMainWinProc(hWnd, MSG_COMMAND, w, l);}
/**********************************************************************************
* Function: OnInitDialog
* Purpose: <describing what the function is to do>
* Relation: <describing the name, version and position of protocols involved by
* this function>
* Params:
*
* Name Type In/Out Description
* -------- ---- ------ -----------
*
* Return: <comment on the returned values>
* Note: <the limitations to use this function or other comments>
***********************************************************************************/
static SINT32 OnInitDialog(HWND hWnd,WPARAM w,LPARAM l)
{
return DefaultMainWinProc(hWnd, MSG_INITDIALOG, w, l);
}
/**********************************************************************************
* Function: CreateDialog_1000
* Purpose: <describing what the function is to do>
* Relation: <describing the name, version and position of protocols involved by
* this function>
* Params:
*
* Name Type In/Out Description
* -------- ---- ------ -----------
*
* Return: <comment on the returned values>
* Note: <the limitations to use this function or other comments>
***********************************************************************************/
HWND CreateDialog_1000(HWND hParentWnd)
{
HWND hWnd = NULL;
BEGIN_STATIC_MSGMAP(Dialog_1000maps) MAPMESSAGE(MSG_INITDIALOG,OnInitDialog) MAPCOMMAND(IDC_BUTTON_1001,BN_CLICKED,OnBnClked1001) END_STATIC_MSGMAP(Dialog_1000maps)
hWnd = tp_resource_window_create( hParentWnd,
NULL,
&Dialog_1000maps,
DIALOG_1000_PATH,
"Dialog_1000",
0
);
return hWnd;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -