// sets the dialog box icons
Inline void chsetdlgicons (hwnd hwnd, int idi) {
SendMessage (Hwnd, Wm_seticon, True, (LPARAM)
Loadicon (Hinstance) getWindowlongptr (hwnd, gwlp_hinstance),
MakeintResource (IDI))))))
SendMessage (hwnd, wm_seticon, false, (lparam)
Loadicon (Hinstance) getWindowlongptr (hwnd, gwlp_hinstance),
MakeintResource (IDI))))))
}