GRAPHICTREE::ITEM::MSG Class Reference

Message container to send to message handler. More...

#include <mi32/grtree.h>

List of all members.

Public Types

enum  BTNKEY {
  ButtonLeft = 0x01, ButtonMiddle = 0x02, ButtonRight = 0x04, Shift = 0x10,
  Control = 0x20
}
enum  MSGPROC {
  Ignored = 0x000, Normal = 0x001, Reset = 0x002, PopupMenu = 0x004,
  NoSelect = 0x100
}
enum  MSGTYPE {
  NoMessage = 0, Draw, PointerMotion, ButtonPressed,
  ButtonReleased, ButtonMotion, KeyPressed, KeyReleased,
  RequestSize, Deselected, Selected, PositionChanged,
  Deleting, RequestToolTip, ButtonDoubleClick, ShowChildren,
  HideChildren
}

Public Member Functions

 MSG ()
ITEMGetItem () const

Public Attributes

BTNKEY button
LRECT2D drawrect
MGD::CONTEXTgc
MIUNICODE key
LPOINT2D origin
LPOINT2D pointer
Widget popupmenu
void * PrivPtr
MSGPROC proc
void * Reference
UINT32 RefIndex
LPOINT2D size
BTNKEY state
MIUNICODEtooltip
GRAPHICTREEtree
MSGTYPE type
UINT32 VisibleWidth

Detailed Description

Message container to send to message handler.


Member Enumeration Documentation

Enumerator:
ButtonLeft 
ButtonMiddle 
ButtonRight 
Shift 
Control 

Processing done for Button/KeyPress messages.

Enumerator:
Ignored 

Message was ignored, don't send Button/Key release message.

Normal 

Message handled, send Button/KeyRelease message.

Reset 

Message handled and Button/KeyRelease consumed also (grab).

PopupMenu 

Message handler wants graphictree to popup menu.

NoSelect 

Don't select item user clicked on.

Message type.

Enumerator:
NoMessage 
Draw 
PointerMotion 
ButtonPressed 
ButtonReleased 
ButtonMotion 
KeyPressed 
KeyReleased 
RequestSize 
Deselected 
Selected 

Item "selected".

PositionChanged 

Position changed.

Deleting 

Item being deleted.

RequestToolTip 

Requesting ToolTip.

ButtonDoubleClick 

User double-clicked.

ShowChildren 

Children about to be shown.

HideChildren 

Children have been hidden.


Constructor & Destructor Documentation

GRAPHICTREE::ITEM::MSG::MSG (  )  [inline]

Default constructor.


Member Function Documentation

ITEM* GRAPHICTREE::ITEM::MSG::GetItem (  )  const [inline]

Get item message applies to.


Member Data Documentation

Which button was pressed/released.

Rectangle to draw.

Graphic context for drawing.

Which key was pressed/released.

Item origin in window coordinates.

Pointer location where event occurred.

Menu to display when message handler requests.

Item's private pointer if set.

What processing message handler did.

Item reference.

Item reference index.

Item size for SizeRequest.

Button/Modifier key state.

ToolTip string returned (will be freed).

The GRAPHICTREE that the message came from.

Message type.

Visible width for SizeRequest.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:29 2012 for TNTsdk 2012 by  doxygen 1.6.1