资源列表:
{ TEXT_CreateIndirect, "Text", ID_TEXT_11, 82, 185, 26, 25, 0, 0x64, 0 },
{ TEXT_CreateIndirect, "Text", ID_TEXT_12, 212, 185, 20, 25, 0, 0x64, 0 },
初始化:
hItem = WM_GetDialogItem(pMsg->hWin, ID_TEXT_12);
TEXT_SetTextColor(hItem, GUI_MAKE_COLOR(0x00FFFFFF));
TEXT_SetTextAlign(hItem, GUI_TA_LEFT | GUI_TA_VCENTER);
TEXT_SetFont(hItem, &GUI_Fontsongti16);
p_name = zhankongbi;
TEXT_SetText(hItem, p_name);
|