97#define ID_MDI_FIRSTCHILD 50000
100#define CHARACTER_INFO_BOX_WIDTH 55
101#define CHARACTER_INFO_BOX_HEIGHT 16
102#define CHARACTER_BITMAP_BOX_HEIGHT 14
103#define CHARACTER_BOX_WIDTH (CHARACTER_INFO_BOX_WIDTH)
104#define CHARACTER_BOX_HEIGHT (CHARACTER_INFO_BOX_HEIGHT + CHARACTER_BITMAP_BOX_HEIGHT)
105#define CHARACTER_BOX_PADDING 5
106#define FONT_BOXES_WND_WIDTH (CHARACTER_BOX_WIDTH * 16 + CHARACTER_BOX_PADDING * 15)
107#define FONT_BOXES_WND_HEIGHT (CHARACTER_BOX_HEIGHT * 16 + CHARACTER_BOX_PADDING * 15)
108#define FONT_WND_MIN_WIDTH (FONT_BOXES_WND_WIDTH + 25)
109#define FONT_WND_MIN_HEIGHT (FONT_BOXES_WND_HEIGHT + GetSystemMetrics(SM_CYCAPTION) + 25)
112#define HITTEST_SEPARATOR -1
115#define WM_USER_APPCLOSE (WM_USER + 1)
118#define TOOLBAR_EDIT_GLYPH 0
144 *uFontRow = uCharacter / 16;
145 *uFontColumn = uCharacter % 16;
INT AllocAndLoadString(OUT LPTSTR *lpTarget, IN HINSTANCE hInst, IN UINT uID)
DWORD LoadAndFormatString(IN HINSTANCE hInstance, IN UINT uID, OUT LPTSTR *lpTarget,...)
struct _MAIN_WND_INFO MAIN_WND_INFO
struct _MAIN_WND_INFO * PMAIN_WND_INFO
VOID UnInitFontWndClass(VOID)
BOOL DoSaveFile(IN PWSTR pszFileName)
INT_PTR CALLBACK EditGlyphDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
VOID UnInitEditGlyphWndClasses(VOID)
struct _FONT_WND_INFO * PFONT_WND_INFO
static __inline VOID GetCharacterPosition(IN UINT uCharacter, OUT PUINT uFontRow, OUT PUINT uFontColumn)
BOOL InitFontWndClass(VOID)
VOID UnInitFontBoxesWndClass(VOID)
BOOL InitFontBoxesWndClass(VOID)
BOOL DoOpenFile(OUT PWSTR pszFileName)
struct _FONT_OPEN_INFO * PFONT_OPEN_INFO
BOOL CreateFontWindow(PMAIN_WND_INFO MainWndInfo, PFONT_OPEN_INFO OpenInfo)
VOID GetCharacterRect(IN UINT uFontRow, IN UINT uFontColumn, OUT LPRECT CharacterRect)
struct _EDIT_GLYPH_INFO * PEDIT_GLYPH_INFO
VOID SetPasteButtonState(IN PMAIN_WND_INFO Info)
UINT uCharacterClipboardFormat
struct _VGAFONT * PVGAFONT
VOID LocalizedError(IN UINT uID,...)
VOID CreateFontBoxesWindow(PFONT_WND_INFO FontWndInfo)
struct _FONT_OPEN_INFO FONT_OPEN_INFO
VOID EditCurrentGlyph(PFONT_WND_INFO FontWndInfo)
VOID FileInitialize(HWND hwnd)
INT_PTR CALLBACK AboutDlgProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
BOOL InitMainWndClass(VOID)
VOID DoFileSave(IN PMAIN_WND_INFO Info, IN BOOL bSaveAs)
BOOL InitEditGlyphWndClasses(VOID)
VOID SetToolbarFileButtonState(IN PMAIN_WND_INFO Info, BOOL bEnabled)
VOID UnInitMainWndClass(VOID)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
PFONT_WND_INFO FontWndInfo
PEDIT_GLYPH_INFO PrevEditGlyphWnd
PEDIT_GLYPH_INFO NextEditGlyphWnd
PFONT_WND_INFO NextFontWnd
PFONT_WND_INFO PrevFontWnd
PEDIT_GLYPH_INFO FirstEditGlyphWnd
PMAIN_WND_INFO MainWndInfo
PEDIT_GLYPH_INFO LastEditGlyphWnd
PFONT_WND_INFO LastFontWnd
PFONT_WND_INFO FirstFontWnd
PFONT_WND_INFO CurrentFontWnd
WORD WORD PSZ PSZ pszFileName
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info