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

📄 window_8h.htm

📁 MINIGUI1.6开发API
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<dl class="el"><dd class="mdescRight">Prints a message in readable string form to a stdio stream.  <a href="group__msg__pass__fns.htm#ga22"></a><br></dl><li>MG_EXPORT <a class="el" href="group__msg__hook__fns.htm#ga0">MSGHOOK</a> GUIAPI <a class="el" href="group__msg__hook__fns.htm#ga2">RegisterKeyMsgHook</a> (void *context, <a class="el" href="group__msg__hook__fns.htm#ga0">MSGHOOK</a> hook)<dl class="el"><dd class="mdescRight">Registers a key message hook.  <a href="group__msg__hook__fns.htm#ga2"></a><br></dl><li>MG_EXPORT <a class="el" href="group__msg__hook__fns.htm#ga0">MSGHOOK</a> GUIAPI <a class="el" href="group__msg__hook__fns.htm#ga3">RegisterMouseMsgHook</a> (void *context, <a class="el" href="group__msg__hook__fns.htm#ga0">MSGHOOK</a> hook)<dl class="el"><dd class="mdescRight">Registers a mouse message hook.  <a href="group__msg__hook__fns.htm#ga3"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__create__fns.htm#ga5">CreateThreadForMainWindow</a> (pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)<dl class="el"><dd class="mdescRight">Create a thread for main window.  <a href="group__window__create__fns.htm#ga5"></a><br></dl><li>MG_EXPORT pthread_t GUIAPI <a class="el" href="group__window__create__fns.htm#ga6">GetMainWinThread</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hMainWnd)<dl class="el"><dd class="mdescRight">Get the thread id which main window belongs to.  <a href="group__window__create__fns.htm#ga6"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__create__fns.htm#ga7">WaitMainWindowClose</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, void **returnval)<dl class="el"><dd class="mdescRight">Suspends execution of the calling thread which main window belongs to until the target thread terminates, unless the target thread has already terminated.  <a href="group__window__create__fns.htm#ga7"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__create__fns.htm#ga8">MainWindowThreadCleanup</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hMainWnd)<dl class="el"><dd class="mdescRight">Cleans up system resource associated with a main window.  <a href="group__window__create__fns.htm#ga8"></a><br></dl><li>MG_EXPORT <a class="el" href="group__handles.htm#ga1">HWND</a> GUIAPI <a class="el" href="group__window__create__fns.htm#ga9">CreateMainWindow</a> (<a class="el" href="struct__MAINWINCREATE.htm">PMAINWINCREATE</a> pCreateStruct)<dl class="el"><dd class="mdescRight">Creates a main window.  <a href="group__window__create__fns.htm#ga9"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__create__fns.htm#ga10">DestroyMainWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Destroys a main window.  <a href="group__window__create__fns.htm#ga10"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__create__fns.htm#ga14">DefaultWindowProc</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, 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)<dl class="el"><dd class="mdescRight">The default window callback procedure.  <a href="group__window__create__fns.htm#ga14"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga2">UpdateWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> bErase)<dl class="el"><dd class="mdescRight">Updates a window.  <a href="group__window__general__fns.htm#ga2"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga3">ShowWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int iCmdShow)<dl class="el"><dd class="mdescRight">Shows or hides a window.  <a href="group__window__general__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__window__general__fns.htm#ga4">EnableWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> fEnable)<dl class="el"><dd class="mdescRight">Enables of disables a window.  <a href="group__window__general__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__window__general__fns.htm#ga5">IsWindowEnabled</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Determines whether the specified window is enabled for mouse and keyboard input.  <a href="group__window__general__fns.htm#ga5"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga6">GetClientRect</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="struct__RECT.htm">PRECT</a> prc)<dl class="el"><dd class="mdescRight">Retrives the client rectangle of a window.  <a href="group__window__general__fns.htm#ga6"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__general__fns.htm#ga7">GetWindowBkColor</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Returns the current background color of a window.  <a href="group__window__general__fns.htm#ga7"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__general__fns.htm#ga8">SetWindowBkColor</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int new_bkcolor)<dl class="el"><dd class="mdescRight">Sets the background color of a window.  <a href="group__window__general__fns.htm#ga8"></a><br></dl><li>MG_EXPORT <a class="el" href="struct__LOGFONT.htm">PLOGFONT</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga9">GetWindowFont</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the default font of a window.  <a href="group__window__general__fns.htm#ga9"></a><br></dl><li>MG_EXPORT <a class="el" href="struct__LOGFONT.htm">PLOGFONT</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga10">SetWindowFont</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="struct__LOGFONT.htm">PLOGFONT</a> pLogFont)<dl class="el"><dd class="mdescRight">Sets the default font of a window.  <a href="group__window__general__fns.htm#ga10"></a><br></dl><li>MG_EXPORT <a class="el" href="group__handles.htm#ga4">HCURSOR</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga11">GetWindowCursor</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the current cursor of a window.  <a href="group__window__general__fns.htm#ga11"></a><br></dl><li>MG_EXPORT <a class="el" href="group__handles.htm#ga4">HCURSOR</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga12">SetWindowCursor</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__handles.htm#ga4">HCURSOR</a> hNewCursor)<dl class="el"><dd class="mdescRight">Sets the current cursor of a window.  <a href="group__window__general__fns.htm#ga12"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga13">GetWindowStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the style of a window.  <a href="group__window__general__fns.htm#ga13"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga14">GetWindowExStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the extended style of a window.  <a href="group__window__general__fns.htm#ga14"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga15">ExcludeWindowStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle)<dl class="el"><dd class="mdescRight">Removes the specific style of a window.  <a href="group__window__general__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__window__general__fns.htm#ga16">IncludeWindowStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle)<dl class="el"><dd class="mdescRight">Includes the specific style of a window.  <a href="group__window__general__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__window__general__fns.htm#ga17">ExcludeWindowExStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle)<dl class="el"><dd class="mdescRight">Removes the specific extended style of a window.  <a href="group__window__general__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__window__general__fns.htm#ga18">IncludeWindowExStyle</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle)<dl class="el"><dd class="mdescRight">Includes the specific extended style of a window.  <a href="group__window__general__fns.htm#ga18"></a><br></dl><li>MG_EXPORT <a class="el" href="group__window__create__fns.htm#ga0">WNDPROC</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga19">GetWindowCallbackProc</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the callback procedure of a window.  <a href="group__window__general__fns.htm#ga19"></a><br></dl><li>MG_EXPORT <a class="el" href="group__window__create__fns.htm#ga0">WNDPROC</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga20">SetWindowCallbackProc</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__window__create__fns.htm#ga0">WNDPROC</a> newProc)<dl class="el"><dd class="mdescRight">Sets the callback procedure of a window.  <a href="group__window__general__fns.htm#ga20"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga21">GetWindowAdditionalData</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the first additional data of a window.  <a href="group__window__general__fns.htm#ga21"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga22">SetWindowAdditionalData</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> newData)<dl class="el"><dd class="mdescRight">Sets the first additional data of a window.  <a href="group__window__general__fns.htm#ga22"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga23">GetWindowAdditionalData2</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the second additional data of a window.  <a href="group__window__general__fns.htm#ga23"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga24">SetWindowAdditionalData2</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> newData)<dl class="el"><dd class="mdescRight">Sets the second additional data of a window.  <a href="group__window__general__fns.htm#ga24"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga25">GetWindowClassAdditionalData</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the additional data of a control class.  <a href="group__window__general__fns.htm#ga25"></a><br></dl><li>MG_EXPORT <a class="el" href="group__win32__types.htm#ga4">DWORD</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga26">SetWindowClassAdditionalData</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__win32__types.htm#ga4">DWORD</a> newData)<dl class="el"><dd class="mdescRight">Sets the additional data of a control class.  <a href="group__window__general__fns.htm#ga26"></a><br></dl><li>MG_EXPORT const char *GUIAPI <a class="el" href="group__window__general__fns.htm#ga27">GetWindowCaption</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Retrives the caption of a window.  <a href="group__window__general__fns.htm#ga27"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga28">SetWindowCaption</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, const char *spCaption)<dl class="el"><dd class="mdescRight">Sets the caption of a window.  <a href="group__window__general__fns.htm#ga28"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga29">InvalidateRect</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, const <a class="el" href="struct__RECT.htm">RECT</a> *prc, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> bEraseBkgnd)<dl class="el"><dd class="mdescRight">Makes a rectangle region in the client area of a window invalid.  <a href="group__window__general__fns.htm#ga29"></a><br></dl><li>MG_EXPORT <a class="el" href="group__handles.htm#ga2">HDC</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga30">BeginPaint</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Prepares a window for painting.  <a href="group__window__general__fns.htm#ga30"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga31">EndPaint</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="group__handles.htm#ga2">HDC</a> hdc)<dl class="el"><dd class="mdescRight">Marks the end of painting in a window.  <a href="group__window__general__fns.htm#ga31"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga32">GetUpdateRect</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, <a class="el" href="struct__RECT.htm">RECT</a> *update_rect)<dl class="el"><dd class="mdescRight">Retrives the bounding box of the update region of a window.  <a href="group__window__general__fns.htm#ga32"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__general__fns.htm#ga33">ClientWidthToWindowWidth</a> (<a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle, int cw)<dl class="el"><dd class="mdescRight">Calculates main window width from the width of the client area.  <a href="group__window__general__fns.htm#ga33"></a><br></dl><li>MG_EXPORT int GUIAPI <a class="el" href="group__window__general__fns.htm#ga34">ClientHeightToWindowHeight</a> (<a class="el" href="group__win32__types.htm#ga4">DWORD</a> dwStyle, int ch, <a class="el" href="group__simple__types.htm#ga0">BOOL</a> hasMenu)<dl class="el"><dd class="mdescRight">Calculates main window height from the height of the client area.  <a href="group__window__general__fns.htm#ga34"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga35">ClientToScreen</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int *x, int *y)<dl class="el"><dd class="mdescRight">Converts the client coordinates of a point to screen coordinates.  <a href="group__window__general__fns.htm#ga35"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga36">ScreenToClient</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int *x, int *y)<dl class="el"><dd class="mdescRight">Converts the screen coordinates of a point to client coordinates.  <a href="group__window__general__fns.htm#ga36"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga37">WindowToScreen</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int *x, int *y)<dl class="el"><dd class="mdescRight">Converts the window coordinates of a point to screen coordinates.  <a href="group__window__general__fns.htm#ga37"></a><br></dl><li>MG_EXPORT void GUIAPI <a class="el" href="group__window__general__fns.htm#ga38">ScreenToWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd, int *x, int *y)<dl class="el"><dd class="mdescRight">Converts the screen coordinates of a point to window coordinates.  <a href="group__window__general__fns.htm#ga38"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga39">IsMainWindow</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<dl class="el"><dd class="mdescRight">Determines whether a window is a main window.  <a href="group__window__general__fns.htm#ga39"></a><br></dl><li>MG_EXPORT <a class="el" href="group__simple__types.htm#ga0">BOOL</a> GUIAPI <a class="el" href="group__window__general__fns.htm#ga40">IsControl</a> (<a class="el" href="group__handles.htm#ga1">HWND</a> hWnd)<

⌨️ 快捷键说明

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