Windows C++ Library
Namespaces | Defines | Typedefs | Enumerations | Variables
WclTypes.hpp File Reference

Windows C++ library common types and macros. More...

Namespaces

namespace  WCL
 

The Windows C++ Library namespace.


Defines

#define EXPORT   __declspec(dllexport)
 Specfifier used to export functions.
#define WINDOWPROC   CALLBACK
 Specifier used on Window callback functions.
#define DIALOGPROC   CALLBACK
 Specifier used on Dialog callback functions.
#define GENERIC_NONE   0
 Helpers for specifying Read and Write access.
#define GENERIC_READWRITE   (GENERIC_READ | GENERIC_WRITE)
#define CF_NONE   0
 Helper for specifying a clipboard format.
#define CF_TCHAR_TEXT   CF_UNICODETEXT
 The build independent clipboard text format.

Typedefs

typedef time_t WCL::Seconds
 GMT based time_t used internally.
typedef time_t WCL::Days
 Count of days.
typedef unsigned __int64 WCL::StreamPos
 The position within a stream.
typedef UINT WCL::TimerID
 The ID of a timer.
typedef WORD WCL::KeyCode
 The virtual code or character code of a key.
typedef DWORD WCL::KeyState
 The full state of a virtual key.
typedef uint WCL::KeyFlags
 The virtual key flags defined by the MK_* constants.
typedef int WCL::ResizeFlags
 The resize flags defined by the SIZE_* constants.
typedef uint WCL::ScrollbarFlags
 The scrollbar flags defined by the SB_* constants.
typedef UINT WCL::ControlID
 The ID of a child control.
typedef BOOL WCL::DlgResult
 The result type of a DLGPROC.

Enumerations

enum  TextFormat { ANSI_TEXT, UNICODE_TEXT }
 The storage format for a chunk of text. More...

Variables

const Seconds WCL::SECS_PER_MIN = 60
const Seconds WCL::SECS_PER_HOUR = 60 * 60
const Seconds WCL::SECS_PER_DAY = 60 * 60 * 24

Detailed Description

Windows C++ library common types and macros.

Author:
Chris Oldwood

Define Documentation

#define EXPORT   __declspec(dllexport)

Specfifier used to export functions.

#define WINDOWPROC   CALLBACK

Specifier used on Window callback functions.

#define DIALOGPROC   CALLBACK

Specifier used on Dialog callback functions.

#define GENERIC_NONE   0

Helpers for specifying Read and Write access.

#define GENERIC_READWRITE   (GENERIC_READ | GENERIC_WRITE)
#define CF_NONE   0

Helper for specifying a clipboard format.

#define CF_TCHAR_TEXT   CF_UNICODETEXT

The build independent clipboard text format.


Enumeration Type Documentation

enum TextFormat

The storage format for a chunk of text.

Enumerator:
ANSI_TEXT 
UNICODE_TEXT 

ANSI text. Assume 1 byte per character.