pub fn SetFont(&self, hFont: HFONT, bRedraw: BOOL) {
        self.assert_window();
		//um::winuser::SendMessage(self.0, WM_SETFONT, hFont as WPARAM, MAKELPARAM(bRedraw, 0));
        unsafe {
            um::winuser::SendMessageW(self.0, WM_SETFONT, hFont as WPARAM, (bRedraw & 0xFFFF) as LPARAM);
        }
    }
// MAKELPARAM is a macro in user32.h
// #define MAKELPARAM(l, h)      (LPARAM)MAKELONG(l, h)
// MAKELONG is a macro in common.h:
// #define MAKELONG(low, high)   ((DWORD)(((WORD)(low)) | (((DWORD)((WORD)(high))) << 16)))

MAKELPARAM is a macro in user32.h
MAKELPARAM is a macro in user32 . h
pub fn SetFont(&self, hFont: HFONT, bRedraw: BOOL) {
        self.assert_window();
		//um::winuser::SendMessage(self.0, WM_SETFONT, hFont as WPARAM, MAKELPARAM(bRedraw, 0));
        unsafe {
            um::winuser::SendMessageW(self.0, WM_SETFONT, hFont as WPARAM, (bRedraw & 0xFFFF) as LPARAM);
        }
    }
pub fn SetFont ( & self , hFont : HFONT , bRedraw : BOOL ) { self . assert_window ( ) ; //um::winuser::SendMessage(self.0, WM_SETFONT, hFont as WPARAM, MAKELPARAM(bRedraw, 0));
 unsafe { um :: winuser :: SendMessageW ( self . 0 , WM_SETFONT , hFont as WPARAM , ( bRedraw & 0xFFFF ) as LPARAM ) ; } }
MAKELPARAM is a macro in user32.h
MAKELPARAM is a macro in user32 . h
&self
hFont
HFONT
bRedraw
BOOL
&self
hFont
HFONT
bRedraw
BOOL
define makelparam(l, h)      (lparam)makelong(l, h)

MAKELONG is a macro in common.h.
MAKELONG is a macro in common . h .
define makelong(low, high)   ((dword)(((word)(low)) | (((dword)((word)(high))) << 16)))

None