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.

28 lines
753 B

  1. /*********************************************************************
  2. Registration Wizard
  3. CStaticText.h
  4. 11/14/94 - Tracy Ferrier
  5. (c) 1994-95 Microsoft Corporation
  6. **********************************************************************/
  7. #ifndef __CStaticText__
  8. #define __CStaticText__
  9. #include <tchar.h>
  10. class CStaticText
  11. {
  12. public:
  13. CStaticText(HINSTANCE hInstance, HWND hwndDlg,int idControl,int idString1,int idString2);
  14. virtual ~CStaticText();
  15. LRESULT PASCAL CtlWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
  16. static LPTSTR LoadExtendedString(HINSTANCE hInstance,int idString1,int idString2);
  17. private:
  18. HINSTANCE m_hInstance;
  19. LPTSTR m_szText;
  20. FARPROC m_lpfnOrigWndProc;
  21. HFONT m_hFont;
  22. };
  23. #endif