Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
619 B

  1. typedef struct _MYCHOOSEFONT {
  2. HWND hwndOwner;
  3. HDC hdc;
  4. LPLOGFONT lpLogFont;
  5. DWORD Flags;
  6. FARPROC lpfnHook;
  7. } MYCHOOSEFONT, FAR *LPMYCHOOSEFONT;
  8. #define MYCF_SCREENFONTS 0x00000001L
  9. #define MYCF_PRINTERFONTS 0x00000002L
  10. #define MYCF_BOTH (MYCF_MYCF_SCREENFONTS | MYCF_PRINTERFONTS)
  11. BOOL APIENTRY MyChooseFont(LPMYCHOOSEFONT lpcf);
  12. //---------------------- private ----------------------------
  13. #define IDD_FACE 100
  14. #define IDD_PTSIZE 101
  15. #define IDD_WEIGHT 102
  16. #define IDD_TREATMENT 103
  17. #define IDD_BOLD 104
  18. #define IDD_ITALIC 105
  19. #define IDD_LOWERCASE 106
  20. #define IDD_HELP 254
  21. #define FONTDLG 145