MvcMsgDecoder Class

class MvcMsgDecoder

A set of static routines for decoding and manipulating Windows messages. The struct is used only as a way to give the functions a namespace and to allow inlining.

Defined in: MvcController.h

Class Members

static BOOL  IsKeyMessage(UINT m)

Determine if message ID is a key message

static BOOL  IsMouseMessage(UINT m)

Determine if message ID is a mouse message

static BOOL  DecodeMouseMessage(UINT m, WPARAM, LPARAM lParam, CPoint& pt)

If message is a mouse message, then extract the device point