SendMessage (, WM

xiaoxiao2021-03-06  120

// 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))))))

}

转载请注明原文地址:https://www.9cbs.com/read-100261.html

New Post(0)