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.
 
 
 
 
 
 

27 lines
924 B

////////////////////////////////////////////////////////////////////////////////////////////////////
// This is a collection of useful functions.
//
#ifndef __Global_h__
#define __Global_h__
// Display a message box to query the user if she is sure she wants to exit the wizard
BOOL VerifyExitMessageBox(void);
// Return a SIZE structure for the size that text will be in a window
// A return value of SIZE( -1, -1 ) indicates an error
SIZE GetTextSize( HWND hWnd, LPCTSTR sz );
// Return a the height for the text will be in a window
// A return value of -1 indicates an error
int GetTextHeight( HWND hWnd, LPCTSTR sz );
// Return a the width for the text will be in a window
// A return value of -1 indicates an error
int GetTextWidth( HWND hWnd, LPCTSTR sz );
TCHAR *MakeCopyOfString( const TCHAR* sz );
#endif // __Global_h__