hWin = WM_GetDialogItem(pMsg->hWin, ID_MULTIPAGE_0);
GUI_CreateDialogBox(_aDialogCreate0, GUI_COUNTOF(_aDialogCreate0), NULL, WM_GetClientWindow(hWin), 0, 0);
MULTIPAGE_AddPage(hWin, 0, "current");
GUI_CreateDialogBox(_aDialogCreate1, GUI_COUNTOF(_aDialogCreate1), NULL, WM_GetClientWindow(hWin), 0, 0);
MULTIPAGE_AddPage(hWin, 0, "mode1");
GUI_CreateDialogBox(_aDialogCreate2, GUI_COUNTOF(_aDialogCreate2), NULL, WM_GetClientWindow(hWin), 0, 0);
MULTIPAGE_AddPage(hWin, 0, "mode2");
GUI_CreateDialogBox(_aDialogCreate3, GUI_COUNTOF(_aDialogCreate3), NULL, WM_GetClientWindow(hWin), 0, 0);
MULTIPAGE_AddPage(hWin, 0, "mode3");
MULTIPAGE_AddPage(hWin, 0, "mode4");
//******************************
hClient = WM_GetClientWindow(hWin);//获取MULTIPAGE的客户端
WM_SetHasTrans(hClient);//把客户端变透明窗口
//********************************这里会仿真出错,黑屏
MULTIPAGE_SetBitmap (hClient,&bmThu, 1, 0);//这个函数怎么是怎么实在多页选项上面显示位图,而不是整个MULTIPAGE的背景变成一副图片
//intMULTIPAGE_SetBitmap (MULTIPAGE_Handle hObj, const GUI_BITMAP * pBitmap, int Index, int State);
MULTIPAGE_SelectPage(hWin, 0);
}
|