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.

22 lines
563 B

  1. #ifndef _ADM_H_
  2. #define _ADM_H_
  3. class CDscrWnd
  4. {
  5. private:
  6. HWND hWndMain;
  7. HWND hWndDscrTitle;
  8. HWND hWndDscrText;
  9. HFONT hFontDscrTitle;
  10. public:
  11. CDscrWnd();
  12. ~CDscrWnd();
  13. void Create(HWND hWndParent, HWND hWndInsertAfter, int nXPos, int nYPos, int nWidth, int nHeight);
  14. void SetText(LPCTSTR pcszTitle, LPCTSTR pcszText, BOOL fUpdateWindowState = TRUE);
  15. void ShowWindow(BOOL fShow);
  16. void GetRect(RECT* lpRect);
  17. void MoveWindow(int nXPos, int nYPos, int nWidth, int nHeight);
  18. };
  19. #endif // _ADM_H_