📄 defaultappproc.c
字号:
/*
* Default Application Handler
*
*
* COPYRIGHT (c) 2001 - 2010.
* emTech System Corporation.
*
* The license and distribution terms for this file may be
* found in found in the file LICENSE.
*/
/* Huangf emcore@263.net
*/
#include "emGUI.h"
unsigned32 DefaultAppProc(
AppID appID,
unsigned16 msg,
unsigned16 nParam,
unsigned32 lParam
)
{
WndID win;
switch (msg){
case APPCREATE:
break;
case WM_CREATE:
case WM_CLOSE:
case WM_HIDE:
case WM_SHOW:
win = (WndID)lParam;
if (win && win->parent == NULL){
/* Application Window,
* switch DrawArea
*/
win = FirstWindow(appID);
if (win && win->drawArea){
SwitchDrawArea(win->drawArea);
}
}
break;
}
return 0L;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -