anonymous enum |
Enumerator | |
---|---|
BFM_INIT | Sent after an element has been created. |
BFM_TIMER_MESSAGE | Timer message. Use GeDialog::SetTimer/ GeUserArea::SetTimer to set the periodical time. |
BFM_CALCSIZE | Called if the element has to calculate its own minimum X and Y dimensions. |
BFM_CHECKCLOSE | Check if a dialog is able to close. Return false it is OK to close, otherwise true. |
BFM_CHECKCLOSE_LAYOUTSWITCH | Check if a dialog is able to close when layouts are switched. Return false it is OK to close, otherwise true. |
BFM_ASKCLOSE | Ask if a dialog is able to close. Return false it is OK to close, otherwise true. |
BFM_DESTROY | Sent just before the window is destroyed. |
BFM_CLOSEWINDOW | Send this message to close a dialog. Internal. |
BFM_ASK_TABSWITCH | Ask for switching tabs. Internal. |
BFM_VISIBLE_ON | An element gets this message if it comes to front after tabbing invisible. Internal. |
BFM_VISIBLE_OFF | An element gets this message if it went back (another tab becomes visible). Internal. |
BFM_PARENT_TITLECHNG | Parent notify about title change. Internal. |
BFM_RENAMEWINDOW | Send this (parent) message to rename a window. Internal. |
BFM_GETACTIVETABTITLE | Ask for active tab title. Private. |
BFM_GETCURSORINFO | Respond this message to display any help information in the bubble help or global statusbar. |
RESULT_CURSOR | |
RESULT_BUBBLEHELP | String Bubble help text. |
RESULT_SUPPRESSBUBBLE | Bool Suppress bubble help. |
RESULT_CURSOR_FORCE_HIDE | Bool Return value for
|
RESULT_CURSOR_NO_STEREO_HIDE | Bool Overwrites RESULT_CURSOR_FORCE_HIDE. |
RESULT_HELP1 | String Help 1. Internal. |
RESULT_HELP2 | String Help 2. Internal. |
RESULT_HELP3 | String Help 3. Internal. |
RESULT_HELP4 | String Help 4. Internal. |
RESULT_BUBBLEHELP_TITLE | String Bubble help text title. Printed in bold for the bubble help, not visible in the status bar. |
BFM_CURSORINFO_REMOVE | Sent when mouse cursor has left a user area.
|
BFM_SETCURSORINFO | Same as BFM_EDITFIELD_SETCURSORPOS. |
BFM_GETINFO | Private. |
BFM_DRAW | Redraw message for user areas: |
BFM_DRAW_LEFT | Int32 Left clipping. |
BFM_DRAW_TOP | Int32 Top clipping. |
BFM_DRAW_RIGHT | Int32 Right clipping. |
BFM_DRAW_BOTTOM | Int32 Bottom clipping. |
BFM_DRAW_HASRECT | Bool Flag for an existing redraw rectangle. Internal. |
BFM_DRAW_OGL | Bool OpenGL flag. Internal. |
BFM_DRAW_REASON | BaseContainer Message which started the redraw. |
BFM_SHOW_AREA | Scrolls the visible rectangle defined with [BFM_DRAW_LEFT, BFM_DRAW_TOP, BFM_DRAW_RIGHT, BFM_DRAW_BOTTOM]. Internal. |
BFM_SCROLLGROUP_SCROLLED | Scroll group scrolled. ...
GroupBegin(0, BFH_SCALEFIT | BFV_SCALEFIT, 1, 0, String(),0);
GroupSpace(0, 0);
ScrollGroupBegin(IDC_SCROLL_GROUP, BFH_SCALEFIT | BFV_SCALEFIT,
(m_bBorder ? SCROLLGROUP_BORDERIN : 0) | SCROLLGROUP_HORIZ | SCROLLGROUP_VERT | SCROLLGROUP_AUTOHORIZ | SCROLLGROUP_AUTOVERT);
m_pHeaderArea = AddUserArea(SCROLLGROUP_HEADER, BFH_SCALEFIT | BFV_TOP);
m_pUserArea = AddUserArea(IDC_USER_AREA, BFH_SCALEFIT | BFV_SCALEFIT);
GroupEnd();
GroupEnd();
AttachUserArea(m_wndHeaderArea, m_pHeaderArea);
...
Int32 MyDialog::Message(const BaseContainer& msg, BaseContainer& result)
{
switch (msg.GetId())
{
case BFM_SCROLLGROUP_SCROLLED:
if (m_bHasHeader)
{
Int32 chgh = msg.GetInt32(0);
Int32 chgv = msg.GetInt32(1);
Int32 xoff = msg.GetInt32(2);
Int32 yoff = msg.GetInt32(3);
if (chgh)
m_wndHeaderArea.Redraw();
}
break;
}
return SUPER::Message(msg, result);
}
|
SCROLLGROUP_HEADER | Scroll group header ID. |
BFM_TITLECHNG | Notify about title change. Private. |
BFM_ENABLE | Enables the element. Internal. |
BFM_DISABLE | Disables the element. Internal. |
BFM_MINCHNG | Private. |
BFM_MAXCHNG | Private. |
BFM_VALUECHNG | Value changed. Private. |
BFM_IDCHNG | Private. |
BFM_GOTFOCUS | Item got the focus. |
BFM_LOSTFOCUS | Item lost the focus. |
BFM_SETFOCUS | Internal. |
BFM_SETFIRSTFOCUS | Internal. |
BFM_MOVEFOCUSNEXT | Private. |
BFM_MOVEFOCUSPREV | Private. |
BFM_SETLASTFOCUS | Private. |
BFM_GETFOCUSBEFOREUPDATE | A custom GUI receives this message before the layout is updated. This is used to avoid losing the focus over a specific gadget after the layout is updated.
|
BFM_SETFOCUSAFTERUPDATE | A custom GUI description receives this message after the layout is updated to reactivate previously focused gadget.
|
BFM_SHOW_FRAME | Brings the frame to front. Return true if found. Internal. |
BFM_SHOW_ID | Int32 Frame ID. Internal. |
BFM_MANAGER_ID | Int32 Manager ID. Internal. |
BFM_CHILD_REMOVED | Private. |
BFM_CHILD_ID | Int32 Private. |
BFM_ACTIVATE_WINDOW | Private. |
BFM_INPUT | A dialog/user area receives this message if any mouse or keyboard input is received. See Input Events for more information. |
BFM_INPUT_AFTER_SCROLL | Input message ID sent after scroll area processed input messages. |
BFM_INPUT_QUALIFIER | Int32 A bit mask with the qualifiers at the time when the event occurred: QUALIFIER |
BFM_INPUT_MODIFIERS | Int32 Same as BFM_INPUT_QUALIFIER but also contains bits > 0xf. Private. |
BFM_INPUT_DEVICE | Int32 Device: |
BFM_INPUT_MOUSE | Mouse. |
BFM_INPUT_KEYBOARD | Keyboard. |
BFM_INPUT_ASC | String Contains the Unicode input from keyboard. |
BFM_INPUT_CHANNEL | |
BFM_INPUT_MOUSELEFT | Left mouse button. |
BFM_INPUT_MOUSERIGHT | Right mouse button. |
BFM_INPUT_MOUSEMIDDLE | Middle mouse button. |
BFM_INPUT_MOUSEX1 | Fourth mouse button. |
BFM_INPUT_MOUSEX2 | Five mouse button. |
BFM_INPUT_MOUSEWHEEL | Mouse wheel or panning on touch pad or touch screen. Values in BFM_INPUT_HSCROLL, BFM_INPUT_VSCROLL. |
BFM_INPUT_MOUSEMOVE | Mouse move. |
BFM_INPUT_MAGNIFY | Zoom guesture on touch pad or touch screen (or mouse scroll with ctrl to indicate zoom). Value in BFM_INPUT_VALUE_REAL. |
BFM_INPUT_VALUE | Int32 Value of the input channel (true/false or a Int32 value, e.g. for scroll wheel data).
|
BFM_INPUT_VALUE_REAL | Float Channel value (e.g. pen pressure). |
BFM_INPUT_X | Float X value. |
BFM_INPUT_Y | Float Y value. |
BFM_INPUT_Z | Float Z value. |
BFM_INPUT_TILT | Float Pen tilt. |
BFM_INPUT_ORIENTATION | Float Pen rotation. |
BFM_INPUT_FINGERWHEEL | Float Finger wheel (tangential pen pressure). |
BFM_INPUT_P_ROTATION | Float Pen rotation around its own axis. |
BFM_INPUT_HSCROLL | Float amount of horizontal scrolling (touch pad, mouse ball) |
BFM_INPUT_VSCROLL | Float amount of vertical scrolling (touch pad, mouse wheel/ball) |
BFM_INPUT_MULTITOUCHSCROLL | Bool True for scroll events on a multitouch device (which also supports magnify), false for scroll-only mice. |
BFM_INPUT_WHEELSCROLL | Bool True for scroll events on a classic wheel mouse. False for everything else (touchpad, magic mouse). |
BFM_INPUT_TIMESTAMP | Float Time stamp of the event or 0.0 (unavailable). |
BFM_INPUT_DOUBLECLICK | Bool Double click. |
INPUT_DBLCLK | Mouse qualifier flag for double click. Internal. |
BFM_SIZED | Element has been sized. |
BFM_ACTION | One of the child elements made any action: |
BFM_ACTION_ID | Int32 ID of the dialog element that triggered the action. |
BFM_ACTION_VALUE | GeData Action value. |
BFM_ACTION_INDRAG | Bool Slider in dragging mode (not finished). |
BFM_ACTION_STRCHG | |
BFM_ACTION_VALCHG | Bool Edit/slider changed. |
BFM_ACTION_ESC | Bool Action escaped. Internal. |
BFM_ACTION_RESET | Bool Reset to default value on right-click of input field arrows. |
BFM_ACTION_UPDATE | Bool Update without verify. Internal. |
BFM_ACTION_KEYUP | Bool Key Up pressed while editfield is active. |
BFM_ACTION_KEYDOWN | Bool Key Down pressed while editfield is active. |
BFM_COLORCHOOSER_PARENTMESSAGE | Color chooser parent message. |
BFM_COLORCHOOSER | Color chooser settings: |
BFM_COLORCHOOSER_RGB_RANGE | Int32 RGB range: COLORSYSTEM_RANGE |
BFM_COLORCHOOSER_SYSTEMMESSAGE | Bool Sends a parent message BFM_COLORCHOOSER_PARENTMESSAGE if the settings change. |
BFM_GET_FOCUS_RECTANGLE | Returns the coordinates of the input field with the current focus. |
BFM_GET_FOCUS_RECTANGLE_X | Int32 Input field X coordinate. |
BFM_GET_FOCUS_RECTANGLE_Y | Int32 Input field Y coordinate. |
BFM_GET_FOCUS_RECTANGLE_W | Int32 Input field width. |
BFM_GET_FOCUS_RECTANGLE_H | Int32 Input field height. |
BFM_ACTIVE_CHG | Private. |
BFM_ACTIVE | Bool Private. |
BFM_DRAGSTART | Sent before drag and drop. Internal. |
BFM_DRAGRECEIVE | Drag receive. (See DragAndDrop.) |
BFM_DRAGEND | Sent after drag and drop. Internal. |
BFM_DRAGAUTOSCROLL | Sent to the gadget under the mouse cursor to ask for auto-scrolling during drag and drop. AUTOSCROLL Internal. |
DRAGTYPE_FILES | Files. The data is a string with the Filename. |
DRAGTYPE_ICON | Icon. |
DRAGTYPE_MANAGER | Destination drag for C.O.F.F.E.E. manager. |
DRAGTYPE_COMMAND | Destination drag for command. |
DRAGTYPE_CMDPALETTE | Command palette. |
DRAGTYPE_DESCID | Description ID. The data is of type DescPropertyDragData. |
DRAGTYPE_ATOMARRAY | |
DRAGTYPE_FILENAME_IMAGE | Texture filename. |
DRAGTYPE_RGB | RGB color. |
DRAGTYPE_FILENAME_SCENE | Scene filename. |
DRAGTYPE_FILENAME_OTHER | Other filename. |
DRAGTYPE_RGB_ARRAY | Color array. Data received is maxon::BaseArray<Vector>*.
|
DRAGTYPE_RGBA_ARRAY | Color with alpha array. Data received is maxon::BaseArray<maxon::ColorA>*.
|
BFM_DRAG_DATA_ | ANY Drag data. Internal. |
BFM_DRAG_SCREENX | Int32 Screen X. |
BFM_DRAG_SCREENY | Int32 Screen Y. |
BFM_DRAG_FINISHED | Bool Drag finished. |
BFM_DRAG_PRIVATE | Bool Private drag. |
BFM_DRAG_LOST | Bool Drag lost. |
BFM_DRAG_TYPE_NEW | |
BFM_DRAG_DATA_NEW | ANY Internal drag data. |
BFM_DRAG_ESC | Bool Drag escaped. |
AUTOSCROLL_UP | Scroll up. |
AUTOSCROLL_DOWN | Scroll down. |
AUTOSCROLL_LEFT | Scroll left. |
AUTOSCROLL_RIGHT | Scroll right. |
AUTOSCROLL_LEFT_UP | Scroll left up. |
AUTOSCROLL_LEFT_DOWN | Scroll left down. |
AUTOSCROLL_RIGHT_UP | Scroll right up. |
AUTOSCROLL_RIGHT_DOWN | Scroll right down. |
HANDLEMOUSEDRAG_PRIVATEFRAME | Private. |
HANDLEMOUSEDRAG_PRIVATEAUTOSCROLL | Private. |
BFM_GETVALUE | Private. |
BFM_VALUEADD | Private. |
BFM_VALUESUB | Private. |
BFM_INITVALUES | Sent after the layout is done. |
BFM_ADJUSTSIZE | Private. |
BFM_ADJUSTSIZE_LEFT | |
BFM_ADJUSTSIZE_TOP | |
BFM_ADJUSTSIZE_WIDTH | |
BFM_ADJUSTSIZE_HEIGHT | |
BFM_LAYOUT_CHANGED | Sent to parent about layout changes. Forces recalculation of the layout. Internal. |
BFM_FULLSCREENMODE_ON | Dialog went to fullscreen mode. Internal. |
BFM_FULLSCREENMODE_OFF | Dialog left fullscreen mode. Internal. |
BFM_ISACTIVE | Private. |
BFM_SETSTATUSBAR | To set a statusbar (e.g. inside a SCROLLGROUP (dialog element)): |
BFM_STATUSBAR_PROGRESSON | Bool Statusbar active. |
BFM_STATUSBAR_TXT | String First text. |
BFM_STATUSBAR_PROGRESS | Float Between 0.0 and 1.0. |
BFM_STATUSBAR_PROGRESSSPIN | Bool Spinning bar. |
BFM_STATUSBAR_HELP | String Second text. (Help.) |
BFM_STATUSBAR_PROGRESSFULLSIZE | Bool Use full-sized progress bar. Internal. |
BFM_STATUSBAR_TINT_COLOR | Int32 Color ID for the status bar, or as RGB value (Vector). |
BFM_STATUSBAR_NETTINT_COLOR | Int32 Color ID for the NET status bar, or as RGB value (Vector). Internal. |
BFM_STATUSBAR_NETPROGRESSON | Bool NET statusbar active. Internal. |
BFM_STATUSBAR_NETTXT | String NET first text. Internal. |
BFM_STATUSBAR_NETPROGRESS | Float Between 0.0 and 1.0. Internal. |
BFM_STATUSBAR_NETPROGRESSSPIN | Bool NET spinning bar. Internal. |
BFM_MARKFOCUS | Private. Revert focus message. For internal use only. |
BFM_CLEARFOCUS | Private. Clear focus of all children. |
BFM_SETACTIVE | Private. |
BFM_SETACTIVE_DATA | Private. |
BFM_REMOVE_DIALOG | Removes the dialog from the current group. Internal. |
BFM_DESTINATION_GROUP | Destination dialog group, nullptr for an own window. Internal. |
BFM_SCROLLAREA | To scroll a scroll area: Internal. |
BFM_SCROLLX | Int32 X direction. Internal. |
BFM_SCROLLY | Int32 Y direction. Internal. |
BFM_GETVISIBLE_XOFF | Private. |
BFM_GETVISIBLE_YOFF | Private. |
BFM_GETVISIBLE_WIDTH | Private. |
BFM_GETVISIBLE_HEIGHT | Private. |
SCR_VISIBLEOBJS | Private. Visible scroll elements. |
BFM_SETVIEWPORTORIGIN | Internal. Set the scroll area origin. |
BFM_SCROLLGROUP_OFFSETCHANGED | Internal. internal message to notify inner elements about scroll change |
BFM_SETVIEWPORTORIGIN_X | Int32 X coordinate. Internal. |
BFM_SETVIEWPORTORIGIN_Y | Int32 Y coordinate. Internal. |
BFM_SETVIEWPORTSIZE | Private. |
BFM_MENU_SET | Int32 Private. : |
BFM_MENU_ON | Internal. |
BFM_MENU_OFF | Internal. |
BFM_MENU_CHECK | Internal. |
BFM_MENU_UNCHECK | Internal. |
BFM_DRAWUSERITEM | Private. |
BFM_DRAWUSERITEM_ID | Internal. |
BFM_SYNC_MESSAGE | Sync message. |
BFM_CORE_MESSAGE | Core message: (See Core Messages.) |
BFM_CORE_ID | Int32 Core message ID. |
BFM_CORE_UNIQUEID | Int32 Time stamp. |
BFM_CORE_PAR1 | ANY Parameter 1. |
BFM_CORE_PAR2 | ANY Parameter 2. |
BFM_CORE_SPECIALCOREID | Int32 Special manager ID for sync message. |
BFM_TESTONLY | Private. |
BFM_SPECIALGETSTRING | Private. |
BFM_SPECIALSETRANGE | Private. |
BFM_SPECIALMODE | Set the multi-line edit field to the right language mode. case BFM_SPECIALMODE:
{
SCRIPTMODE mode = (SCRIPTMODE)msg.GetInt32(1, SCRIPTMODE::PYTHON);
if (textfile)
textfile->python = mode==SCRIPTMODE::PYTHON;
break;
}
|
BFM_SETSPECIALMULTI | Private. |
BFM_SETSPECIALMULTID | Private. |
BFM_POPUPNOTIFY | Notification of popup before the menu opens. |
BFM_INTERACTSTART | Sent when user interaction starts. Dialogs should capture this message and stop threads that work on the scene data. Int32 GeDialog::Message(const BaseContainer &msg,BaseContainer &result)
{
...
switch (msg.GetId())
{
case BFM_INTERACTSTART: // Interact stop
StopAllThreads();
break;
...
}
return false;
}
|
BFM_INTERACTEND | Sent when user interaction ends. |
BFM_CORE_UPDATECOMMANDS | Update all command buttons. Internal. |
BF_INSERT_LAST | Private. |
BFM_MENUFINDER | Private. |
BFM_SET_MSG_BITMASK | Private. |
BITMASK_CORE_MESSAGE | |
BITMASK_SYNC_MESSAGE | |
BFM_SETMAINTITLE | Private. |
BFM_GETVIEWPANELDATA | Private. |
BFM_GETVIEWPANEL_PRIVATEDATA | Private. |
BFM_SETVIEWPANELLAYOUT | Private. |
BFM_VPD_PANELID | Private. |
BFM_VPD_LAYOUTTYPE | Private. |
BFM_VPD_MAXIMIZED | Private. |
BFM_VPD_PRIVATEDATA | Private. |
BFM_STORE_WEIGHTS | Private. |
BFM_MARKFORCELAYOUT | Private. |
BFM_REDRAW_EDITMODE | Private. |
BFM_RELOAD_MENUS | Private. |
BFM_OPTIMIZE | Private. |
BFM_CORE_UPDATEACTIVECOMMANDS | Private. |
BFM_UPDATE_REGION | Private. |
BFM_GUIPREFSCHANGED | Private. |
BFM_COMMANDSCHANGED | Private. Internal message that is sent around if some commands changed their status: SendCoreMessage(COREMSG_CINEMA,BaseContainer(COREMSG_UPDATECOMMANDSMESSAGE));
|
BFM_LAYOUT_GETDATA | Sent when saving the layout. Return a container to store with the layout for this dialog. |
BFM_LAYOUT_SETDATA | Receive the container saved with BFM_LAYOUT_GETDATA when loading a layout. |
BFM_GETCUSTOMGUILAYOUTDATA | Private. |
BFM_WEIGHTS_CHANGED | Group weights changed. The group ID is returned. |
BFM_GETPARENT_MANAGER_ID | Private. |
BFM_EDITFIELD_GETCURSORPOS | Int32 Return the cursor position in an edit field. |
BFM_EDITFIELD_GETBLOCKSTART | Int32 Returns the block start position in an edit field. |
BFM_EDITFIELD_SETCURSORPOS | Int32 Set the cursor position in an edit field. case BFM_EDITFIELD_SETCURSORPOS:
{
Int32 pos=m.GetInt32(1), redraw;
redraw=SetCursorPos(pos);
redraw+=SetBlockStartPos(pos);
if(redraw) Redraw();
return SUPER::CbMessage(m);
}
|
BFM_FADE | Sent to blend GUI color with ease in a GeUserArea. Int32 BitmapButton::Message(const BaseContainer &msg,BaseContainer &result)
{
switch (msg.GetId())
{
case BFM_FADE:
AdjustColor(COLOR_BG,COLOR_BG_HIGHLIGHT,msg.GetFloat(BFM_FADE));
Redraw();
break;
}
}
|
BFM_FADE_REMOVEALL | Private. |
BFM_EDITFIELD_STOREUNDO | Stores the undo container for a multi-line edit text. |
BFM_EDITFIELD_RESTOREUNDO | Restore the undo container for a multi-line edit text. |
BFM_EDITFIELD_FLUSHUNDO | Flushes the undo stack for a multi-line edit text. |
BFM_EDITFIELD_GETUNDOSTATS | Get the undo statistics for a multi-line edit text. Internal. |
BFM_EDITFIELD_UNDOSTAT_COUNT | Int32 The undo stack size. |
BFM_EDITFIELD_UNDOSTAT_UNDOLEVEL | Int32 The current undo level. |
BFM_REQUIRESRESULT | Set to true in the passed container for GeDialog::SendMessage to return a value from the message. |
BFM_SCROLLGROUP_SCALE | @markprivate |
BFM_DUMMY |