官方例程如下:
#include "GUI.h"
#include "WM.H"
#include "FRAMEWIN.H"
static void _cbBkWindow(WM_MESSAGE *pMsg)
{
switch(pMsg->MsgId)
{
case WM_PAINT:
GUI_ClearRect(0, 50, 319, 239);
default:
WM_DefaultProc(pMsg);
}
}
static void _cbWindow(WM_MESSAGE *pMsg)
{
GUI_RECT Rect;
switch(pMsg->MsgId)
{
case WM_PAINT: