1 #pragma once 2 3 /* Messages for the display class */ 4 #define FVM_SETTYPEFACE WM_USER 5 #define FVM_SETSTRING (WM_USER + 1) 6 #define FVM_GETFULLNAME (WM_USER + 2) 7 8 /* Size restrictions */ 9 #define MAX_STRING 100 10 #define MAX_FORMAT 20 11 #define MAX_SIZES 8 12 13 extern const WCHAR g_szFontDisplayClassName[]; 14 15 /* Public function */ 16 BOOL Display_InitClass(HINSTANCE hInstance); 17 LRESULT Display_OnPrint(HWND hwnd); 18