Leaked source code of windows server 2003
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.

40 lines
986 B

  1. // Copyright (c) 2002 Microsoft Corporation
  2. //
  3. // File: uiutil.h
  4. //
  5. // Synopsis: Commonly used UI functions
  6. //
  7. // History: 01/22/2002 JeffJon Created
  8. // Sets the font of a given control in a dialog.
  9. //
  10. // parentDialog - Dialog containing the control.
  11. //
  12. // controlID - Res ID of the control for which the font will be
  13. // changed.
  14. //
  15. // font - handle to the new font for the control.
  16. void
  17. SetControlFont(HWND parentDialog, int controlID, HFONT font);
  18. // Sets the font of a control to a large point bold font as per Wizard '97
  19. // spec.
  20. //
  21. // dialog - handle to the dialog that is the parent of the control
  22. //
  23. // bigBoldResID - resource id of the control to change
  24. void
  25. SetLargeFont(HWND dialog, int bigBoldResID);
  26. // Sets the font of a control to bold
  27. //
  28. // dialog - handle to the dialog that is the parent of the control
  29. //
  30. // boldResID - resource id of the control to change
  31. void
  32. SetBoldFont(HWND dialog, int boldResID);