📄 window_8h.htm
字号:
<li>#define <a class="el" href="group__msg__pass__fns.htm#ga33">PM_NOYIELD</a> 0x0002<li>#define <a class="el" href="group__msg__hook__fns.htm#ga4">HOOK_GOON</a> 0<li>#define <a class="el" href="group__msg__hook__fns.htm#ga5">HOOK_STOP</a> 1<li>#define <a class="el" href="group__styles.htm#ga0">WS_NONE</a> 0x00000000L<dl class="el"><dd class="mdescRight">None style. <a href="group__styles.htm#ga0"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga2">WS_ABSSCRPOS</a> 0x80000000L<dl class="el"><dd class="mdescRight">Creates a main window whose position is based on absolute screen coordinates. <a href="group__styles.htm#ga2"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga3">WS_CHILD</a> 0x40000000L<dl class="el"><dd class="mdescRight">Indicates the window is a child. <a href="group__styles.htm#ga3"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga4">WS_CAPTION</a> 0x20000000L<dl class="el"><dd class="mdescRight">Creates a main window with caption. <a href="group__styles.htm#ga4"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga5">WS_SYSMENU</a> 0x10000000L<dl class="el"><dd class="mdescRight">Creates a main window with system menu. <a href="group__styles.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga6">WS_VISIBLE</a> 0x08000000L<dl class="el"><dd class="mdescRight">Creates a window initially visible. <a href="group__styles.htm#ga6"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga7">WS_DISABLED</a> 0x04000000L<dl class="el"><dd class="mdescRight">Creates a window initially disabled. <a href="group__styles.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga11">WS_BORDER</a> 0x00400000L<dl class="el"><dd class="mdescRight">Creates a window with border. <a href="group__styles.htm#ga11"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga12">WS_THICKFRAME</a> 0x00200000L<dl class="el"><dd class="mdescRight">Creates a window with thick frame. <a href="group__styles.htm#ga12"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga13">WS_THINFRAME</a> 0x00100000L<dl class="el"><dd class="mdescRight">Creates a window with thin frame. <a href="group__styles.htm#ga13"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga14">WS_VSCROLL</a> 0x00080000L<dl class="el"><dd class="mdescRight">Creates a window with vertical scroll bar. <a href="group__styles.htm#ga14"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga15">WS_HSCROLL</a> 0x00040000L<dl class="el"><dd class="mdescRight">Creates a window with horizontal scroll bar. <a href="group__styles.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga16">WS_MINIMIZEBOX</a> 0x00020000L<dl class="el"><dd class="mdescRight">Creates a window with minimizing box on caption. <a href="group__styles.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga17">WS_MAXIMIZEBOX</a> 0x00010000L<dl class="el"><dd class="mdescRight">Creates a window with maximizing box on caption. <a href="group__styles.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga18">WS_GROUP</a> 0x00020000L<dl class="el"><dd class="mdescRight">Indicates the control is the leader of a group. <a href="group__styles.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga19">WS_TABSTOP</a> 0x00010000L<dl class="el"><dd class="mdescRight">Indicates the user can set the input focus to the control by using Tab key. <a href="group__styles.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga20">WS_EX_NONE</a> 0x00000000L<dl class="el"><dd class="mdescRight">None extended window style. <a href="group__styles.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga21">WS_EX_USEPRIVATECDC</a> 0x00000002L<dl class="el"><dd class="mdescRight">The window has its own private client device context. <a href="group__styles.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga23">WS_EX_TOPMOST</a> 0x00000008L<dl class="el"><dd class="mdescRight">The main window is a topmost (always on top) window. <a href="group__styles.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga24">WS_EX_TRANSPARENT</a> 0x00000020L<dl class="el"><dd class="mdescRight">The window is transparent. <a href="group__styles.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga25">WS_EX_TOOLWINDOW</a> 0x00000080L<dl class="el"><dd class="mdescRight">The main window is a tool window, which can not gain the input focus. <a href="group__styles.htm#ga25"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga26">WS_EX_USEPARENTFONT</a> 0x00000100L<dl class="el"><dd class="mdescRight">The window uses the default font of its parent. <a href="group__styles.htm#ga26"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga28">WS_EX_USEPARENTCURSOR</a> 0x00000800L<dl class="el"><dd class="mdescRight">The window uses the default cursor of its parent. <a href="group__styles.htm#ga28"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga40">WS_EX_DLGHIDE</a> 0x00100000L<dl class="el"><dd class="mdescRight">The dialog won't show immediately after it is created. <a href="group__styles.htm#ga40"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga41">WS_EX_NOCLOSEBOX</a> 0x20000000L<dl class="el"><dd class="mdescRight">The main window has no closing box on its caption. <a href="group__styles.htm#ga41"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga42">WS_EX_CTRLASMAINWIN</a> 0x40000000L<dl class="el"><dd class="mdescRight">The control can be displayed out of the main window which contains the control. <a href="group__styles.htm#ga42"></a><br></dl><li>#define <a class="el" href="group__styles.htm#ga43">WS_EX_CLIPCHILDREN</a> 0x80000000L<dl class="el"><dd class="mdescRight">When paint the window, the children areas will be clipped. <a href="group__styles.htm#ga43"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga15">HWND_DESKTOP</a> __mg_hwnd_desktop<dl class="el"><dd class="mdescRight">Desktop window handle. <a href="group__window__create__fns.htm#ga15"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga16">HWND_NULL</a> 0<dl class="el"><dd class="mdescRight">Null window handle. <a href="group__window__create__fns.htm#ga16"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga17">HWND_INVALID</a> 0xFFFFFFFF<dl class="el"><dd class="mdescRight">Invalid window handle. <a href="group__window__create__fns.htm#ga17"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga18">MainWindowCleanup</a>(hwnd) MainWindowThreadCleanup(hwnd)<dl class="el"><dd class="mdescRight">Is an alias of <em>MainWindowThreadCleanup</em>. <a href="group__window__create__fns.htm#ga18"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga19">DefaultMainWinProc</a> (<a class="el" href="group__window__create__fns.htm#ga4">__mg_def_proc</a>[0])<dl class="el"><dd class="mdescRight">Is the default main window callback procedure. <a href="group__window__create__fns.htm#ga19"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga20">DefaultDialogProc</a> (<a class="el" href="group__window__create__fns.htm#ga4">__mg_def_proc</a>[1])<dl class="el"><dd class="mdescRight">The default dialog box procedure. <a href="group__window__create__fns.htm#ga20"></a><br></dl><li>#define <a class="el" href="group__window__create__fns.htm#ga21">DefaultControlProc</a> (<a class="el" href="group__window__create__fns.htm#ga4">__mg_def_proc</a>[2])<dl class="el"><dd class="mdescRight">The default control callback procedure. <a href="group__window__create__fns.htm#ga21"></a><br></dl><li>#define <a class="el" href="group__window__general__fns.htm#ga73">SetFocus</a> SetFocusChild<li>#define <a class="el" href="group__window__general__fns.htm#ga74">GetFocus</a> GetFocusChild<li>#define <a class="el" href="group__window__general__fns.htm#ga75">GetForegroundWindow</a> GetActiveWindow<li>#define <a class="el" href="group__window__general__fns.htm#ga76">SetForegroundWindow</a> SetActiveWindow<li>#define <a class="el" href="group__window__general__fns.htm#ga109">GetMainWinMetrics</a>(iItem) (WinMainMetrics[iItem])<dl class="el"><dd class="mdescRight">Get main window metrics. <a href="group__window__general__fns.htm#ga109"></a><br></dl><li>#define <a class="el" href="group__window__general__fns.htm#ga166">GetWindowElementColor</a>(iItem) (WinElementColors[iItem])<dl class="el"><dd class="mdescRight">Get window element color. <a href="group__window__general__fns.htm#ga166"></a><br></dl><li>#define <a class="el" href="group__sys__bmps.htm#ga40">LoadSystemBitmap</a>(pBitmap, szItemName) LoadSystemBitmapEx (pBitmap, szItemName, -1, -1)<dl class="el"><dd class="mdescRight">Loads a bitmap from information defined in MiniGUI.cfg. <a href="group__sys__bmps.htm#ga40"></a><br></dl><li>#define <a class="el" href="group__control__fns.htm#ga5">CreateWindow</a>(class_name, caption, style,id, x, y, w, h, parent, add_data)<dl class="el"><dd class="mdescRight">A simplified version of <em>CreateWindowEx</em>. <a href="group__control__fns.htm#ga5"></a><br></dl><li>#define <a class="el" href="group__timer__fns.htm#ga7">SetTimer</a>(hwnd, id, speed) SetTimerEx(hwnd, id, speed, NULL)<dl class="el"><dd class="mdescRight">The backward compatibility version of SetTimerEx. <a href="group__timer__fns.htm#ga7"></a><br></dl><li>#define <a class="el" href="group__timer__fns.htm#ga8">ResetTimer</a>(hwnd, id, speed) ResetTimerEx(hwnd, id, speed, (<a class="el" href="group__timer__fns.htm#ga0">TIMERPROC</a>)0xFFFFFFFF)<dl class="el"><dd class="mdescRight">The backward compatibility version of ResetTimerEx. <a href="group__timer__fns.htm#ga8"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga23">DLGC_WANTARROWS</a> 0x0001<dl class="el"><dd class="mdescRight">Control wants arrow keys. <a href="group__dialog__fns.htm#ga23"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga24">DLGC_WANTTAB</a> 0x0002<dl class="el"><dd class="mdescRight">Control wants tab keys. <a href="group__dialog__fns.htm#ga24"></a><br></dl><li>#define <a class="el" href="group__dialog__fns.htm#ga25">DLGC_WANTALLKEYS</a> 0x0004
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -