⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 window_8h.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<dl class="el"><dd class="mdescRight">Control wants all keys.  <a href="group__dialog__fns.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga26">DLGC_WANTCHARS</a>&nbsp;&nbsp;&nbsp;0x0008<dl class="el"><dd class="mdescRight">Want MSG_CHAR messages.  <a href="group__dialog__fns.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga27">DLGC_WANTENTER</a>&nbsp;&nbsp;&nbsp;0x0010<dl class="el"><dd class="mdescRight">Control wants enter keys.  <a href="group__dialog__fns.htm#ga27"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga28">DLGC_HASSETSEL</a>&nbsp;&nbsp;&nbsp;0x0080<dl class="el"><dd class="mdescRight">Understands EM_SETSEL message.  <a href="group__dialog__fns.htm#ga28"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga29">DLGC_DEFPUSHBUTTON</a>&nbsp;&nbsp;&nbsp;0x0100<dl class="el"><dd class="mdescRight">Default pushbutton.  <a href="group__dialog__fns.htm#ga29"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga30">DLGC_PUSHBUTTON</a>&nbsp;&nbsp;&nbsp;0x0200<dl class="el"><dd class="mdescRight">Non-default pushbutton.  <a href="group__dialog__fns.htm#ga30"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga31">DLGC_RADIOBUTTON</a>&nbsp;&nbsp;&nbsp;0x0400<dl class="el"><dd class="mdescRight">Radio button.  <a href="group__dialog__fns.htm#ga31"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga32">DLGC_3STATE</a>&nbsp;&nbsp;&nbsp;0x0800<dl class="el"><dd class="mdescRight">3 States button item.  <a href="group__dialog__fns.htm#ga32"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga33">DLGC_STATIC</a>&nbsp;&nbsp;&nbsp;0x1000<dl class="el"><dd class="mdescRight">Static item: don't include.  <a href="group__dialog__fns.htm#ga33"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga34">DLGC_BUTTON</a>&nbsp;&nbsp;&nbsp;0x2000<dl class="el"><dd class="mdescRight">Button item: can be checked.  <a href="group__dialog__fns.htm#ga34"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga35">CreateMainWindowIndirect</a>(pDlgTemplate, hOwner, WndProc)&nbsp;&nbsp;&nbsp;CreateMainWindowIndirectParam(pDlgTemplate, hOwner, WndProc, 0)<dl class="el"><dd class="mdescRight">An simplified version of <em>CreateMainWindowIndirectParam</em>.  <a href="group__dialog__fns.htm#ga35"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="struct__MSG.htm">_MSG</a> <a class="el" href="group__msg__pass__fns.htm#ga0">MSG</a><li>typedef int(* <a class="el" href="group__msg__hook__fns.htm#ga0">MSGHOOK</a> )(void *context, <a class="el" href="group__handles.htm#ga1">HWND</a> dst_wnd, int msg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wparam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lparam)<dl class="el"><dd class="mdescRight">Type of message hook function.  <a href="group__msg__hook__fns.htm#ga0"></a><br></dl><li>typedef <a class="el" href="struct__HOOKINFO.htm">_HOOKINFO</a> <a class="el" href="group__msg__hook__fns.htm#ga1">HOOKINFO</a><li>typedef int(* <a class="el" href="group__window__create__fns.htm#ga0">WNDPROC</a> )(<a class="el" href="group__handles.htm#ga1">HWND</a>, int, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a>, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a>)<dl class="el"><dd class="mdescRight">Type of the window callback procedure.  <a href="group__window__create__fns.htm#ga0"></a><br></dl><li>typedef <a class="el" href="struct__MAINWINCREATE.htm">_MAINWINCREATE</a> <a class="el" href="group__window__create__fns.htm#ga2">MAINWINCREATE</a><li>typedef <a class="el" href="struct__SCROLLINFO.htm">_SCROLLINFO</a> <a class="el" href="group__scrollbar__fns.htm#ga0">SCROLLINFO</a><li>typedef <a class="el" href="struct__SCROLLINFO.htm">_SCROLLINFO</a> * <a class="el" href="group__scrollbar__fns.htm#ga1">PSCROLLINFO</a><li>typedef <a class="el" href="struct__WNDCLASS.htm">_WNDCLASS</a> <a class="el" href="group__class__fns.htm#ga0">WNDCLASS</a><li>typedef void(* <a class="el" href="group__control__fns.htm#ga0">NOTIFPROC</a> )(<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int id, int nc, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> add_data)<dl class="el"><dd class="mdescRight">Type of the notification callback procedure.  <a href="group__control__fns.htm#ga0"></a><br></dl><li>typedef <a class="el" href="group__simple__types.htm#ga0">BOOL</a>(* <a class="el" href="group__timer__fns.htm#ga0">TIMERPROC</a> )(<a class="el" href="group__handles.htm#ga1">HWND</a>, int, <a class="el" href="group__win32__types.htm#ga4">DWORD</a>)<dl class="el"><dd class="mdescRight">Type of the timer callback procedure.  <a href="group__timer__fns.htm#ga0"></a><br></dl><li>typedef <a class="el" href="struct__MENUITEMINFO.htm">_MENUITEMINFO</a> <a class="el" href="group__menu__fns.htm#ga0">MENUITEMINFO</a><li>typedef <a class="el" href="struct__CTRLDATA.htm">_CTRLDATA</a> <a class="el" href="group__dialog__fns.htm#ga0">CTRLDATA</a><li>typedef <a class="el" href="struct__DLGTEMPLATE.htm">_DLGTEMPLATE</a> <a class="el" href="group__dialog__fns.htm#ga2">DLGTEMPLATE</a></ul><h2>Functions</h2><ul><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga2">PeekMessageEx</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg, <a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsgFilterMin, int iMsgFilterMax, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> bWait, <a class="el" href="group__win32__types.htm#ga6">UINT</a> uRemoveMsg)<dl class="el"><dd class="mdescRight">Peeks a message from the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga2"></a><br></dl><li>static <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga3">GetMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg, <a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Gets a message from the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga3"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga4">WaitMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg, <a class="el" href="group__handles.htm#ga1">HWND</a> hMainWnd)<dl class="el"><dd class="mdescRight">Waits for a message from the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga4"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga5">HavePendingMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hMainWnd)<dl class="el"><dd class="mdescRight">Checks if there is any pending message in the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga5"></a><br></dl><li>static <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga6">PeekMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg, <a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsgFilterMin, int iMsgFilterMax, <a class="el" href="group__win32__types.htm#ga6">UINT</a> uRemoveMsg)<dl class="el"><dd class="mdescRight">Peeks a message from the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga6"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga7">PeekPostMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg, <a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsgFilterMin, int iMsgFilterMax, <a class="el" href="group__win32__types.htm#ga6">UINT</a> uRemoveMsg)<dl class="el"><dd class="mdescRight">Peeks a post message from the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga7"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga8">PostMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Posts a message into the message queue of a window and returns immediatly.  <a href="group__msg__pass__fns.htm#ga8"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga9">SendMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Sends a message to a window.  <a href="group__msg__pass__fns.htm#ga9"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga10">SetAutoRepeatMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hwnd, int msg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Sets the auto-repeat message.  <a href="group__msg__pass__fns.htm#ga10"></a><br></dl><li>int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga11">PostSyncMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Posts a synchronical message to a window which is in different thread.  <a href="group__msg__pass__fns.htm#ga11"></a><br></dl><li>int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga12">SendAsyncMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Sends an asynchronical message to a window.  <a href="group__msg__pass__fns.htm#ga12"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga13">SendNotifyMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Sends a notification message to a window.  <a href="group__msg__pass__fns.htm#ga13"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga14">BroadcastMessage</a> (int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)<dl class="el"><dd class="mdescRight">Broadcasts a message to all main window on the desktop.  <a href="group__msg__pass__fns.htm#ga14"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga15">PostQuitMessage</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Puts a MSG_QUIT message into the message queue of a main window.  <a href="group__msg__pass__fns.htm#ga15"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga16">SetKeyboardLayout</a> (const char *kbd_layout)<dl class="el"><dd class="mdescRight">Sets a new keyboard layout.  <a href="group__msg__pass__fns.htm#ga16"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga17">TranslateMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg)<dl class="el"><dd class="mdescRight">Translates key down and key up messages to MSG_CHAR message and post it into the message queue.  <a href="group__msg__pass__fns.htm#ga17"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga18">TranslateKeyMsgToChar</a> (int message, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam, <a class="el" href="group__win32__types.htm#ga2">WORD</a> *ch)<dl class="el"><dd class="mdescRight">Translates a key down and key up message to a corresponding character.  <a href="group__msg__pass__fns.htm#ga18"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga19">DispatchMessage</a> (<a class="el" href="struct__MSG.htm">PMSG</a> pMsg)<dl class="el"><dd class="mdescRight">Dispatches a message to the window's callback procedure.  <a href="group__msg__pass__fns.htm#ga19"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga20">ThrowAwayMessages</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> pMainWnd)<dl class="el"><dd class="mdescRight">Removes all messages in the message queue associated with a window.  <a href="group__msg__pass__fns.htm#ga20"></a><br></dl><li>MG_EXPORT const char *GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga21">Message2Str</a> (int message)<dl class="el"><dd class="mdescRight">Translates a message identifier to the message string.  <a href="group__msg__pass__fns.htm#ga21"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__msg__pass__fns.htm#ga22">PrintMessage</a> (FILE *fp, <a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iMsg, <a class="el" href="group__win32__types.htm#ga8">WPARAM</a> wParam, <a class="el" href="group__win32__types.htm#ga9">LPARAM</a> lParam)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -