Defines | Typedefs | Functions | Variables

## iupwin_drv.h File Reference

Windows Driver. More...

### Defines

#define | iupWIN_PT2PIXEL(_pt, _res) MulDiv(_pt, _res, 72)
#define | iupWIN_PIXEL2PT(_pixel, _res) MulDiv(_pixel, 72, _res)
#define | IUP_MDI_FIRSTCHILD 100000000
#define | GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
#define | GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))

### Typedefs

typedef int(* | IFctlColor )(Ihandle *ih, HDC hdc, LRESULT *result)
typedef void(* | IFdrawItem )(Ihandle *ih, void *drawitem)
typedef int(* | IFnotify )(Ihandle *ih, void *msg_info, int *result)
typedef int(* | IFwmCommand )(Ihandle *ih, WPARAM wp, LPARAM lp)
typedef int(* | IwinMsgProc )(Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp, LRESULT *result)

### Functions

IUP_DRV_API void | iupwinShowLastError (void)
IUP_DRV_API void | iupwinSetInstance (HINSTANCE hInstance)
void | iupwinWmSetFocus (Ihandle *ih)
int | iupwinGetKeyBoardCues (void)
int | iupwinKeyEvent (Ihandle *ih, int wincode, int press)
void | iupwinButtonKeySetStatus (WORD keys, char *status, int doubleclick)
int | iupwinKeyDecode (int wincode)
void | iupwinKeyInit (void)
void | iupwinTipsGetDispInfo (LPARAM lp)
void | iupwinTipsUpdateInfo (Ihandle *ih, HWND tips_hwnd)
void | iupwinTipsDestroy (Ihandle *ih)
void | iupwinTouchInit (void)
void | iupwinTouchRegisterAttrib (Iclass *ic)
void | iupwinTouchProcessInput (Ihandle *ih, int count, void *lp)
char * | iupwinGetHFontAttrib (Ihandle *ih)
HFONT | iupwinGetHFont (const char *value)
char * | iupwinFindHFont (HFONT hFont)
int | iupwinDragDetectStart (Ihandle *ih)
void | iupwinDropFiles (HDROP hDrop, Ihandle *ih)
void | iupwinDestroyDragDrop (Ihandle *ih)
void | iupwinMenuDialogProc (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp)
Ihandle * | iupwinMenuGetItemHandle (HMENU hmenu, int menuId)
Ihandle * | iupwinMenuGetHandle (HMENU hMenu)
void | iupwinSetCustomQuitMessage (int enable)
IUP_DRV_API int | iupwinBaseMsgProc (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp, LRESULT *result)
int | iupwinBaseContainerMsgProc (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp, LRESULT *result)
LRESULT CALLBACK | iupwinBaseWndProc (HWND hwnd, UINT msg, WPARAM wp, LPARAM lp)
void | iupwinChangeWndProc (Ihandle *ih, WNDPROC newProc)
IUP_DRV_API int | iupwinButtonUp (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp)
IUP_DRV_API int | iupwinButtonDown (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp)
IUP_DRV_API int | iupwinMouseMove (Ihandle *ih, UINT msg, WPARAM wp, LPARAM lp)
void | iupwinTrackMouseLeave (Ihandle *ih)
void | iupwinRefreshCursor (Ihandle *ih)
IUP_DRV_API void | iupwinFlagButtonDown (Ihandle *ih, UINT msg)
IUP_DRV_API int | iupwinFlagButtonUp (Ihandle *ih, UINT msg)
int | iupwinListDND (Ihandle *ih, UINT uNotification, POINT pt)
HWND | iupwinCreateWindowEx (HWND hParent, LPCTSTR lpClassName, DWORD dwExStyle, DWORD dwStyle, int serial, void *clientdata)
IUP_DRV_API int | iupwinCreateWindow (Ihandle *ih, LPCTSTR lpClassName, DWORD dwExStyle, DWORD dwStyle, void *clientdata)
void | iupwinGetNativeParentStyle (Ihandle *ih, DWORD *dwExStyle, DWORD *dwStyle)
void | iupwinMergeStyle (Ihandle *ih, DWORD old_mask, DWORD value)
void | iupwinSetStyle (Ihandle *ih, DWORD value, int set)
int | iupwinClassExist (const TCHAR *name)
int | iupwinSetTitleAttrib (Ihandle *ih, const char *value)
TCHAR * | iupwinGetWindowText (HWND hWnd)
HCURSOR | iupwinGetCursor (Ihandle *ih, const char *name)
int | iupwinGetColorRef (Ihandle *ih, char *name, COLORREF *color)
int | iupwinGetParentBgColor (Ihandle *ih, COLORREF *cr)
int | iupwinSetAutoRedrawAttrib (Ihandle *ih, const char *value)
void | iupwinSetMnemonicTitle (Ihandle *ih, int pos, const char *value)
void | iupwinDrawFocusRect (HDC hDC, int x, int y, int w, int h)
int | iupwinGetScreenRes (void)

### Variables

HINSTANCE | iupwin_hinstance
int | iupwin_comctl32ver6
HINSTANCE | iupwin_dll_hinstance
DWORD | iupwin_mainthreadid

### Detailed Description

See Copyright Notice in "iup.h"