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.

31 lines
681 B

  1. // Copyright (c) 1997-1999 Microsoft Corporation
  2. //
  3. // code common to several pages
  4. //
  5. // 12-16-97 sburns
  6. // Sets the font of a given control in a dialog.
  7. //
  8. // parentDialog - Dialog containing the control.
  9. //
  10. // controlID - Res ID of the control for which the font will be
  11. // changed.
  12. //
  13. // font - handle to the new font for the control.
  14. void
  15. SetControlFont(HWND parentDialog, int controlID, HFONT font);
  16. // Sets the font of a control to a large point bold font as per Wizard '97
  17. // spec.
  18. //
  19. // dialog - handle to the dialog that is the parent of the control
  20. //
  21. // bigBoldResID - resource id of the control to change
  22. void
  23. SetLargeFont(HWND dialog, int bigBoldResID);