TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Enumerations | Functions
WinUI Namespace Reference

Classes

class  App
 WinUI application base class. More...
 
class  BaseWindow
 Base window class for Dialog and Window. More...
 
class  Bitmap
 
class  BrowseForFolder
 Wrapper around SHBrowseForFolder() More...
 
class  Button
 Button control wrapper. More...
 
class  cAboutDlg
 
class  Clipboard
 Clipboard wrapper. More...
 
class  ClipboardViewer
 Clipboard viewer class. More...
 
class  ComboBox
 Combo box control wrapper. More...
 
struct  cReg
 
struct  cRegVal
 
class  DC
 Device context (DC) wrapper. More...
 
class  Dialog
 Dialog wrapper class. More...
 
class  DIB
 DIB wrapper. More...
 
class  Edit
 Edit control wrapper. More...
 
class  Exception
 WinUI base exception class. More...
 
struct  Font
 Wrapper around a Win32 Font. More...
 
class  FrameWindow
 Frame window wrapper class. More...
 
class  Header
 List view control wrapper. More...
 
class  ImageList
 Image list wrapper. More...
 
class  ListBox
 List view control wrapper. More...
 
class  Menu
 Menu wrapper. More...
 
struct  MENUOrID
 Works around the menu / control ID problem in CreateWindow() More...
 
class  OpenFile
 Wrapper around the open common dialog. More...
 
class  ProgressBar
 Progress bar control wrapper. More...
 
class  Radio
 Radio button wrapper. More...
 
class  ReBar
 ReBar control wrapper class. More...
 
struct  Rect
 Wrapper around a Win32 RECT. More...
 
class  Registry
 Registry access. More...
 
struct  RegVal
 
class  RichEdit
 Rich edit control wrapper. More...
 
class  SaveFile
 Wrapper around the save common dialog. More...
 
class  Slider
 Slider bar control wrapper. More...
 
class  SolidBrush
 Solid Brush wrapper. More...
 
class  Splitter
 Splitter window control. More...
 
class  Static
 Static control wrapper. More...
 
class  StatusBar
 Status bar control wrapper. More...
 
class  TabControl
 Tab control wrapper. More...
 
class  ToolBar
 Tool bar control wrapper. More...
 
class  TreeView
 Tree view control wrapper. More...
 
class  Win32Exception
 Base Win32 exception class. More...
 
class  Window
 Window wrapper class. More...
 

Enumerations

enum  OSType {
  eWindows95,
  eWindows95_OSR2,
  eWindows98,
  eWindows98_SE,
  eWindowsME,
  eWindowsNT351,
  eWindowsNT4,
  eWindowsNT4_SP6,
  eWindows2000,
  eWindows2000_SP1,
  eWindows2000_SP2,
  eWindows2000_SP3_OrGreater,
  eWindowsXP_Beta,
  eWindowsXP,
  eWindowsXP_SP1_OrGreater,
  eWindowsNETServer,
  eUnknownOS_NT
}
 Contains constants for all Win32 systems. More...
 

Functions

BOOL SendMessageW (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 
BOOL PostMessage (HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
 
template<class TException >
WINUI_INL void Throw (TException &cException, const TCHAR *pszFile, int iLine)
 Throws Exception derived exception classes. More...
 
WINUI_INL ni::cString FormatLastWin32Err ()
 Returns error string for the last Win32 error. More...
 
WINUI_INL void CheckLastErr (const TCHAR *pszFile, int iLine)
 Calls GetLastError() to determine if the last API call failed. Displays an error message dialog box in the case of failure. More...
 
WINUI_INL const TCHAR * GetModulePath ()
 Returns the path of the physical file the running module is implemented. More...
 
WINUI_INL ni::cString LoadString (UINT id)
 
WINUI_INL OSType GetOS ()
 Determines the installed OS. More...
 
WINUI_INL bool IsOSNT ()
 Determines if the installed OS is based on the NT kernel. More...
 
WINUI_INL DWORD AverageRGBA (DWORD dwCol1, DWORD dwCol2)
 Computes '(Col1 + Col2) / 2' with two 0xRRGGBBAA colors. More...
 
WINUI_INL DWORD GetDllVersion (const TCHAR *pszDLLName)
 Obtains version information from a DLL. More...
 
WINUI_INL LONG GetFileSize (const TCHAR *pszFileName)
 Obtains the size of a file. More...
 
WINUI_INL LRESULT CALLBACK GlobalWndProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
 Global message procedure for all Window derived classes. More...
 
WINUI_INL LPCTSTR RegisterClass (const TCHAR *pszName, UINT iStyle=CS_HREDRAW|CS_VREDRAW, LPCTSTR pszIconRes=NULL, LPCTSTR pszSmIconRes=NULL, HBRUSH hbrBackground=NULL)
 Window class registration function. More...
 
WINUI_INL LRESULT CALLBACK GlobalDlgProc (HWND hWndDialog, UINT uMsg, WPARAM wParam, LPARAM lParam)
 Global message procedure for all Dialog derived classes. More...
 
WINUI_INL BOOL InitCommonControls ()
 Inititalize common controls. More...
 
WINUI_INL BOOL Initialize ()
 Main initialization function. More...
 
WINUI_INL int MainLoop (HACCEL hAccelerators=NULL, HWND hWndAccel=NULL)
 Call to process messages until WM_QUIT is being received. More...
 
WINUI_INL void MainLoopPeek (HACCEL hAccelerators=NULL, HWND hWndAccel=NULL)
 Call to process all queued messages. More...
 
void RegValInit (RegVal *pValData)
 
void RegValFree (RegVal *pValData)
 
bool RegValGetNumber (const RegVal *pValData, DWORD *pdwNumber)
 
bool RegValGetBinary (const RegVal *pValData, LPBYTE pbyteData, DWORD dwSize)
 
bool RegValGetNewBinary (const RegVal *pValData, LPBYTE *pbyteData, DWORD *pdwSize)
 
bool RegValGetNewString (const RegVal *pValData, LPTSTR *pszString, DWORD *pdwLength)
 
bool RegValGetString (const RegVal *pValData, LPTSTR pszString, DWORD dwLength)
 
bool RegValGetStringArr (const RegVal *pValData, LPTSTR pszStrings[], DWORD dwCount)
 
bool RegValGetNewStringArr (const RegVal *pValData, LPTSTR **pszStrings, DWORD *pdwCount)
 
void RegValSetNumber (RegVal *pValData, DWORD dwNumber)
 
bool RegValSetBinary (RegVal *pValData, const LPBYTE pbyteData, DWORD dwSize)
 
bool RegValSetString (RegVal *pValData, LPCTSTR pszString)
 
bool RegValSetStringArr (RegVal *pValData, const LPCTSTR pszStrings[], DWORD dwCount)
 
HKEY RegConnect (HKEY hKey, LPCTSTR pszRemote)
 
HKEY RegOpen (HKEY hKey, LPCTSTR pszSubKey, DWORD dwRights)
 
HKEY RegCreate (HKEY hKey, LPCTSTR pszSubKey, DWORD dwRights)
 
void RegClose (HKEY hKey)
 
bool RegLoadVal (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, RegVal *pValData)
 
bool RegLoadNumber (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, DWORD *pdwNumber)
 
bool RegLoadBinary (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPBYTE pbyteData, DWORD dwSize)
 
bool RegLoadNewBinary (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPBYTE *pbyteData, DWORD *pdwSize)
 
bool RegLoadString (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPTSTR pszString, DWORD dwLength)
 
bool RegLoadNewString (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPTSTR *pszString, DWORD *pdwLength)
 
bool RegLoadStringArr (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPTSTR pszStrings[], DWORD dwCount)
 
bool RegLoadNewStringArr (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPTSTR **pszStrings, DWORD *pdwCount)
 
bool RegSaveVal (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, const RegVal *pValData)
 
bool RegSaveNumber (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, DWORD dwNumber)
 
bool RegSaveBinary (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, const LPBYTE pbyteData, DWORD dwSize)
 
bool RegSaveString (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, LPCTSTR pszString)
 
bool RegSaveStringArr (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName, const LPCTSTR pszStrings[], DWORD dwCount)
 
bool RegDeleteSubKeys (HKEY hKey)
 
bool RegDeleteKey (HKEY hKey, LPCTSTR pszSubKey, LPCTSTR pszValName)
 
bool RegHasEntries (HKEY hKey, LPCTSTR pszSubKey, DWORD *pdwSubKeyCount, DWORD *pdwValueCount)
 
BOOL SetClassesRootRegKey (const ni::achar *lpszKey, const ni::achar *lpszValue, const ni::achar *lpszValueName=NULL)
 
const ni::acharRegisterApp (const ni::achar *aszAppName, const ni::achar *aszExt, const ni::achar *aszDocDesc)