neoWidgets
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Classes | Typedefs | Enumerations | Functions
neo Namespace Reference

All declaration for neoWidgets are in this namespace. More...

Classes

class  ActiveFileDialogIF
 
class  Bitmap
 Bitmap handle More...
 
class  BitmapData
 Wraps the creation of a BITMAP struct from a HBITMAP. More...
 
class  Button
 
class  ButtonMessageId
 
struct  CaptureChangedMessage
 
class  CheckBox
 
class  ClientDC
 A client device context allows drawing to the client area of a window. More...
 
class  ComboBox
 
struct  CommandMessage
 
class  CommandMessageId
 
class  ComPtr
 Smart pointer to COM classes. More...
 
class  Config
 Interface for all configuration classes. More...
 
class  Control
 Base class for standard Windows controls. More...
 
class  ControlParam
 Holds optional control parameters. More...
 
struct  CreateMessage
 
struct  CtlColorMessage
 
class  DC
 Unmanaged device context, to allow the user to call IDC functions on arbitrary DCs. More...
 
class  DeviceContextIF
 Interface for device context functions. More...
 
class  DibSection
 Device independent bitmap. More...
 
struct  DropFilesMessage
 
class  DynamicLib
 Encapsulates loading of DLLs. More...
 
struct  EnableMessage
 
struct  EraseBkgndMessage
 
class  File
 Contains the basic functions for file reading/writing. More...
 
class  FileDialog
 
class  FileDialogEvents
 
class  FileDialogOptions
 
class  FileSearch
 Wrapper for the FindFirstFile API. More...
 
struct  FileSearchItem
 Data about a file system item found by FileSearch. More...
 
class  FileTypeFilter
 
class  Font
 Font handle More...
 
class  FontParams
 Font parameters with everything set to default. More...
 
class  GdiObject
 Basic GDI class that automatically deletes the handle. More...
 
struct  GetIconMessage
 
struct  GetMinMaxInfoMessage
 
class  GroupBox
 
class  HatchBrush
 Brush handle More...
 
class  HeaderCtrl
 TODO: needs methods. More...
 
class  iniConfig
 Configuration that writes to an ini-file. More...
 
struct  KeyMessage
 
class  ListBox
 
class  ListBoxIF
 Common interface for ListBox and ComboBox. More...
 
class  ListCtrl
 TODO: needs methods. More...
 
class  LoadedLib
 Retrieves address of already loaded DLL. More...
 
class  MemoryDC
 Memory device contexts attach themselves to a bitmap. More...
 
class  Menu
 
struct  Message
 Wrap parameters of WndProc in a struct. Can be used for any message. More...
 
class  MessageId
 Unified message identifier. More...
 
struct  MouseMessage
 
struct  MoveMessage
 
struct  MovingMessage
 
struct  NotifyMessage
 
class  NotifyMessageId
 
class  OpenFileDialog
 
class  OSVersion
 
class  PaintDC
 A paint device context can only be called inside the WM_PAINT message handler. More...
 
class  Path
 Manipulation of Windows-style path strings. More...
 
class  PatternBrush
 Brush handle More...
 
class  Pen
 Pen handle More...
 
class  PickFolderDialog
 
struct  Point
 Windows POINT structure with constructor. More...
 
struct  PrintMessage
 
class  ProgressBar
 
class  RadioButton
 
struct  Rect
 Windows RECT structure with constructor. More...
 
class  RegistryConfig
 Configuration that writes to the Window registry. More...
 
class  SaveFileDialog
 
class  SaveRestoreDC
 Wraps SaveDC in an object oriented way. More...
 
class  ScrollBar
 
class  ScrollBarIF
 Common interface for all scrollbars. More...
 
struct  ScrollMessage
 
class  ScrollMessageId
 
struct  Size
 Windows SIZE structure with constructor. More...
 
struct  SizeMessage
 
struct  SizingMessage
 
class  SolidBrush
 Brush handle More...
 
class  StaticCtrl
 
class  StatusBar
 
struct  StyleChangedMessage
 
class  TabCtrl
 
class  TextBox
 
class  TextBoxIF
 Common interface for TextBox and ComboBox. More...
 
struct  TimerMessage
 
class  Window
 General purpose window. More...
 
class  WindowBase
 The big window class that every other class descends from. More...
 
class  WindowModal
 This window can enter a modal message loop. More...
 
class  WindowParam
 Creation parameters for the Window class. More...
 
struct  WindowPosChangeMessage
 
class  WindowScrollBar
 Represents the scrollbars attached to the sides of a window. More...
 
class  WindowScrollBarH
 Horizontal window scrollbar. More...
 
class  WindowScrollBarV
 Vertical window scrollbar. More...
 
class  WindowScrollMessageId
 

Typedefs

typedef DWORD FD_FLAGS
 

Enumerations

enum  FD_FLAGS_ENUM {
  FD_FILEMUSTEXIST = 0x00000001, FD_PATHMUSTEXIST = 0x00000002, FD_FORCEFILESYSTEM = 0x00000004, FD_CREATEPROMPT = 0x00000008,
  FD_OVERWRITEPROMPT = 0x00000010, FD_STRICTFILETYPES = 0x00000020, FD_KEEPWORKINGDIR = 0x00000040, FD_NOVALIDATE = 0x00000080,
  FD_ALLOWMULTISELECT = 0x00000100, FD_NOREADONLYRETURN = 0x00000200
}
 
enum  SEEK_FROM { FROM_START, FROM_CURRENT, FROM_END }
 
enum  WIN_TYPE {
  WIN_UNKNOWN_OLDER = 0, WIN_2000 = 1, WIN_XP = 2, WIN_SERVER_2003 = 3,
  WIN_VISTA = 4, WIN_SERVER_2008 = 4, WIN_SERVER_2008_R2 = 5, WIN_7 = 5,
  WIN_SERVER_2012 = 6, WIN_8 = 6, WIN_SERVER_2012_R2 = 7, WIN_8_1 = 7,
  WIN_UNKNOWN_NEWER = 8
}
 

Functions

template<typename T >
bool configStructRead (const Config &conf, const tstring &key, T &result)
 
bool configStructRead (const Config &conf, const tstring &key, Point &result)
 
bool configStructRead (const Config &conf, const tstring &key, Size &result)
 
bool configStructRead (const Config &conf, const tstring &key, Rect &result)
 
template<typename T >
bool configStructRead (const Config &conf, const tstring &key, std::vector< T > &result)
 
template<typename T >
bool configStructWrite (Config &conf, const tstring &key, const T &value)
 
bool configStructWrite (Config &conf, const tstring &key, const Point &value)
 
bool configStructWrite (Config &conf, const tstring &key, const Size &value)
 
bool configStructWrite (Config &conf, const tstring &key, const Rect &value)
 
template<typename T >
bool configStructWrite (Config &conf, const tstring &key, const std::vector< T > &value)
 
tstring neoFormat (const TCHAR *fmt,...)
 printf-style function More...
 
template<typename T >
bool neoParse (const tstring &text, T &result)
 
bool neoParse (const tstring &text, bool &result)
 
signed char neoParseNumber (signed char, const tstring &text)
 
short neoParseNumber (short, const tstring &text)
 
int neoParseNumber (int, const tstring &text)
 
long neoParseNumber (long, const tstring &text)
 
unsigned char neoParseNumber (unsigned char, const tstring &text)
 
unsigned long long neoParseNumber (unsigned long long, const tstring &text)
 
float neoParseNumber (float, const tstring &text)
 
double neoParseNumber (double, const tstring &text)
 
long double neoParseNumber (long double, const tstring &text)
 
tstring neoToString (signed char value)
 
tstring neoToString (short value)
 
tstring neoToString (int value)
 
tstring neoToString (long value)
 
tstring neoToString (long long value)
 
tstring neoToString (unsigned char value)
 
tstring neoToString (unsigned short value)
 
tstring neoToString (unsigned int value)
 
tstring neoToString (unsigned long value)
 
tstring neoToString (unsigned long long value)
 
tstring neoToString (float value)
 
tstring neoToString (double value)
 
tstring neoToString (long double value)
 
tstring neoToString (const bool &value)
 

Detailed Description

All declaration for neoWidgets are in this namespace.

Enumeration Type Documentation

Specifies to origin from which a file seek function begins the seek

Enumerator
FROM_START 

Start of file.

FROM_CURRENT 

Current file position.

FROM_END 

End of file.

Friendly names for the different windows versions.

Can be used like this:

if(GetOSVersion().windowsType >= WIN_VISTA)
{
// use Vista-introduced feature
}
Enumerator
WIN_UNKNOWN_OLDER 

not sure if neoWidgets will even work for such systems

WIN_2000 

Windows 2000.

WIN_XP 

Windows XP.

WIN_SERVER_2003 

Windows Server 2003.

WIN_VISTA 

Windows Vista.

WIN_SERVER_2008 

Windows 2008 (same as Windows Vista)

WIN_SERVER_2008_R2 

Windows 2008 Release 2 (same as Windows 7)

WIN_7 

Windows 7.

WIN_SERVER_2012 

Windows 2012 (same as Windows 8)

WIN_8 

Windows 8.

WIN_SERVER_2012_R2 

Windows 2012 Release 2 (same as Windows 8.1)

WIN_8_1 

Windows 8.1.

WIN_UNKNOWN_NEWER 

be forward compatible, the next windows version will surely come

Function Documentation

tstring neo::neoFormat ( const TCHAR *  fmt,
  ... 
)
inline

printf-style function

Parameters
fmtFormat specifier, see any documentation on printf for possible arguments
...variadic arguments, make sure they match the definition in fmt
Returns
Formatted string or an empty string if an error occured