Message container to send to message handler. More...
#include <mi32/grtree.h>
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 () | |
| ITEM * | GetItem () const |
Public Attributes | |
| BTNKEY | button |
| LRECT2D | drawrect |
| MGD::CONTEXT * | gc |
| MIUNICODE | key |
| LPOINT2D | origin |
| LPOINT2D | pointer |
| Widget | popupmenu |
| void * | PrivPtr |
| MSGPROC | proc |
| void * | Reference |
| UINT32 | RefIndex |
| LPOINT2D | size |
| BTNKEY | state |
| MIUNICODE * | tooltip |
| GRAPHICTREE * | tree |
| MSGTYPE | type |
| UINT32 | VisibleWidth |
Message container to send to message handler.
Processing done for Button/KeyPress messages.
Message type.
| GRAPHICTREE::ITEM::MSG::MSG | ( | ) | [inline] |
Default constructor.
| ITEM* GRAPHICTREE::ITEM::MSG::GetItem | ( | ) | const [inline] |
Get item message applies to.
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.
1.6.1