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.

84 lines
1.1 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1995 - 1997
  3. All rights reserved.
  4. Module Name:
  5. ctl.hxx
  6. Abstract:
  7. Holds ctl prototypes
  8. Author:
  9. Steve Kiraly (SteveKi) 22-Dec-1997
  10. Revision History:
  11. Lazar Ivanov (LazarI) Oct-2000 - added vEnableControls
  12. --*/
  13. #ifndef _CTL_HXX
  14. #define _CTL_HXX
  15. /********************************************************************
  16. Ctl.cxx prototypes.
  17. ********************************************************************/
  18. BOOL
  19. bSetEditText(
  20. HWND hDlg,
  21. UINT uControl,
  22. LPCTSTR pszString
  23. );
  24. BOOL
  25. bSetEditTextFormat(
  26. HWND hDlg,
  27. UINT uControl,
  28. LPCTSTR pszString,
  29. ...
  30. );
  31. BOOL
  32. bGetEditText(
  33. HWND hDlg,
  34. UINT uControl,
  35. TString& strDest
  36. );
  37. VOID
  38. vEnableCtl(
  39. HWND hDlg,
  40. UINT uControl,
  41. BOOL bEnable
  42. );
  43. VOID
  44. vSetCheck(
  45. HWND hDlg,
  46. UINT uControl,
  47. BOOL bSet
  48. );
  49. BOOL
  50. bGetCheck(
  51. IN HWND hDlg,
  52. IN UINT uControl
  53. );
  54. VOID
  55. vEnableControls(
  56. IN HWND hDlg,
  57. IN BOOL bEnable,
  58. IN UINT arrIDs[],
  59. IN UINT uCount
  60. );
  61. #endif // _CTL_HXX