if (!hDlg)
return NULL;
- SetWindowRedraw(hDlg, FALSE);
-
if (first) {
first = false;
getguisize (hDlg, &gui_width, &gui_height);
ew (guiDlg, IDC_RESETAMIGA, full_property_sheet ? FALSE : TRUE);
ew (guiDlg, IDOK, TRUE);
if (panelDlg != NULL) {
+ SetWindowRedraw(hDlg, FALSE);
ShowWindow (panelDlg, FALSE);
DestroyWindow (panelDlg);
panelDlg = NULL;
+ SetWindowRedraw(hDlg, TRUE);
}
if (ToolTipHWND != NULL) {
DestroyWindow (ToolTipHWND);
panelresource->child = res;
panelDlg = x_CreateDialogIndirectParam(res->inst, res->resource, hDlg, ppage[id].dlgproc, id, res);
- //SetWindowRedraw(hDlg, FALSE);
-
rescaleresource(panelresource, false);
freescaleresource(res);
EnumChildWindows (panelDlg, &childenumproc, (LPARAM)ppage[currentpage].nres->tmpl);
SendMessage (panelDlg, WM_NULL, 0, 0);
- //SetWindowRedraw(hDlg, TRUE);
- //RedrawWindow(hDlg, NULL, NULL, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_UPDATENOW);
-
hAccelTable = ppage[currentpage].accel;
if (ppage[id].focusid > 0 && action != TVC_BYKEYBOARD) {
setfocus (panelDlg, ppage[id].focusid);
}
- SetWindowRedraw(hDlg, TRUE);
- RedrawWindow(panelDlg, NULL, NULL, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
-
return panelDlg;
}
if (!res)
return h;
if (scaleresource (res, &dctx, hDlg, -1, 0, 0, -1)) {
+ res->parent = panelresource;
h = DialogBoxIndirect (res->inst, res->resource, hDlg, proc);
}
customDlgType = 0;
if (!res)
return h;
if (scaleresource (res, &dctx, hDlg, -1, 0, 0, -1)) {
+ res->parent = panelresource;
h = x_CreateDialogIndirectParam(res->inst, res->resource, hDlg, proc, NULL, res);
}
freescaleresource (res);
}
setguititle (dhwnd);
+ RedrawWindow(dhwnd, NULL, NULL, RDW_ERASE | RDW_FRAME | RDW_INVALIDATE | RDW_ALLCHILDREN);
ShowWindow (dhwnd, SW_SHOW);
MapDialogRect (dhwnd, &dialog_rect);