diff options
Diffstat (limited to 'new/ui_windows.h')
| -rw-r--r-- | new/ui_windows.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/new/ui_windows.h b/new/ui_windows.h index cfea287..0fba593 100644 --- a/new/ui_windows.h +++ b/new/ui_windows.h @@ -18,6 +18,9 @@ struct uiWindowsNewControlParams { DWORD dwStyle; // WS_CHILD and WS_VISIBLE are automatically applied. HINSTANCE hInstance; + // Set this to non-FALSE to use the standard control font used by other ui controls. + BOOL useStandardControlFont; + // These are called when the control sends a WM_COMMAND or WM_NOTIFY (respectively) to its parent. // ui redirects the message back and calls these functions. // Store the result in *lResult and return any non-FALSE value (such as TRUE) to return the given result; return FALSE to pass the notification up to your window procedure. @@ -42,7 +45,6 @@ struct uiSizingSys { #define uiDlgUnitsToY(dlg, baseY) MulDiv((dlg), baseY, 8) // and use this if you need the text of the window width -// TODO really export? extern intmax_t uiWindowsWindowTextWidth(HWND hwnd); // these functions get and set the window text for such a uiControl |
