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.

16 lines
607 B

  1. #pragma once
  2. class UIUtils
  3. {
  4. public:
  5. static int MessageBox ( HWND hwndParent, UINT nTextID, UINT nTitleID, UINT nTyoe );
  6. static bool LoadOFNFilterFromRes ( UINT nResID, CString& rstrFilter );
  7. static void PathCompatCtrlWidth ( HWND hwndCtrl, LPWSTR wszPath, int nCorrection = 0 );
  8. static void TrimTextToCtrl ( HWND hwndCtrl, LPWSTR wszText, int nCorrection = 0 );
  9. static void ShowCOMError ( HWND hwndParent, UINT nTextID, UINT nTitleID, HRESULT hr );
  10. private:
  11. UIUtils(void);
  12. ~UIUtils(void);
  13. };