uLib
User mode C/C++ extended API library for Win32 programmers.
|
#include <uLib/StdDlg.h>
Standard Font selection dialog..
The inherited CHOOSEFONT fields are used for Execute calls.
LogFont is the buffer for lpLogFont.
See also [MSDN} CHOOSEFONT, ChooseFont()
Public Data | |
LOGFONT | LogFont |
Public Functions | |
FontDialog () | |
void | SetOwner (HWND Owner, HINSTANCE hInst=NULL) |
bool | Execute () |
HFONT | CreateFont () |
void | SetFaceName (CSTR Face) |
void | SetTypeface (CSTR Face, WORD Points, WORD Weight, BYTE ChrSet=ANSI_CHARSET) |
bool | GetLogFontFromDC (HDC hDC) |
FontDialog::FontDialog | ( | ) |
Definition at line 320 of file StdDlg.cpp.
void FontDialog::SetOwner | ( | HWND | Owner, |
HINSTANCE | hInst = NULL |
||
) |
Definition at line 337 of file StdDlg.cpp.
|
inline |
|
inline |
void FontDialog::SetFaceName | ( | CSTR | Face | ) |
Safe-copy Face name to LogFont.
Definition at line 344 of file StdDlg.cpp.
Definition at line 349 of file StdDlg.cpp.
bool FontDialog::GetLogFontFromDC | ( | HDC | hDC | ) |
Get LogFont from current font in 'hDC'.
See [MSDN] GetObject, GetCurrentObject
Definition at line 357 of file StdDlg.cpp.
LOGFONT FontDialog::LogFont |