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

#pragma once
class UIUtils
{
public:
static int MessageBox ( HWND hwndParent, UINT nTextID, UINT nTitleID, UINT nTyoe );
static bool LoadOFNFilterFromRes ( UINT nResID, CString& rstrFilter );
static void PathCompatCtrlWidth ( HWND hwndCtrl, LPWSTR wszPath, int nCorrection = 0 );
static void TrimTextToCtrl ( HWND hwndCtrl, LPWSTR wszText, int nCorrection = 0 );
static void ShowCOMError ( HWND hwndParent, UINT nTextID, UINT nTitleID, HRESULT hr );
private:
UIUtils(void);
~UIUtils(void);
};