楼主请问如何控制FRAMEWIN窗口框架一直处于底层啊,我的窗口框架和按钮是一起创建的,但是一点屏幕的非按钮窗口框架部分,FRAMEWIN总是把其他的控件覆盖掉!!
static const GUI_WIDGET_CREATE_INFO _aDialogA[] = {
{ WINDOW_CreateIndirect, "", 0, 0, 0, 800, 480, 0},
{ FRAMEWIN_CreateIndirect, "Pressure", ID_ICP, 0, 0, 800, 480, 0},
{ BUTTON_CreateIndirect, "up", GUI_ID_BUTTON0, 106,68, 141,52},
{ BUTTON_CreateIndirect, "down", GUI_ID_BUTTON1, 106,146,141,52},
{ BUTTON_CreateIndirect, "begin", GUI_ID_BUTTON2, 106,224,141,52},
{ BUTTON_CreateIndirect, "stop", GUI_ID_BUTTON3, 106,304,141,52},
{ BUTTON_CreateIndirect, "back", GUI_ID_BUTTON4, 15,374,50,50},
//{ DROPDOWN_CreateIndirect, "Frequency", GUI_ID_DROPDOWN0, 95, 259,174,80},
{ PROGBAR_CreateIndirect, "", GUI_ID_PROGBAR0, 364,309,351,47},
{ EDIT_CreateIndirect, NULL, GUI_ID_EDIT1, 743,38, 39, 30},
{ TEXT_CreateIndirect, "HZ", GUI_ID_TEXT0, 527,180,57, 40},
//{ EDIT_CreateIndirect, "1", GUI_ID_EDIT0, 397,161,124,59},
{ EDIT_CreateIndirect, NULL, GUI_ID_EDIT2, 688,38, 39, 30},
{ MULTIEDIT_CreateIndirect, "MULTIEDIT", GUI_ID_MULTIEDIT0, 635,132,116,153,0,0},
{ DROPDOWN_CreateIndirect, NULL, GUI_ID_DROPDOWN0, 242,114,83, 80, 0,0}
}; |