Detailed Description

Enumerations

enum  {
  BFM_INIT ,
  BFM_TIMER_MESSAGE ,
  BFM_CALCSIZE ,
  BFM_CHECKCLOSE ,
  BFM_CHECKCLOSE_LAYOUTSWITCH ,
  BFM_ASKCLOSE ,
  BFM_DESTROY ,
  BFM_CLOSEWINDOW ,
  BFM_ASK_TABSWITCH ,
  BFM_VISIBLE_ON ,
  BFM_VISIBLE_OFF ,
  BFM_PARENT_TITLECHNG ,
  BFM_RENAMEWINDOW ,
  BFM_GETACTIVETABTITLE ,
  BFM_GETCURSORINFO ,
  RESULT_CURSOR ,
  RESULT_BUBBLEHELP ,
  RESULT_SUPPRESSBUBBLE ,
  RESULT_CURSOR_FORCE_HIDE ,
  RESULT_CURSOR_NO_STEREO_HIDE ,
  RESULT_HELP1 ,
  RESULT_HELP2 ,
  RESULT_HELP3 ,
  RESULT_HELP4 ,
  RESULT_BUBBLEHELP_TITLE ,
  BFM_CURSORINFO_REMOVE ,
  BFM_SETCURSORINFO ,
  BFM_GETINFO ,
  BFM_DRAW ,
  BFM_DRAW_LEFT ,
  BFM_DRAW_TOP ,
  BFM_DRAW_RIGHT ,
  BFM_DRAW_BOTTOM ,
  BFM_DRAW_HASRECT ,
  BFM_DRAW_OGL ,
  BFM_DRAW_REASON ,
  BFM_SHOW_AREA ,
  BFM_SCROLLGROUP_SCROLLED ,
  SCROLLGROUP_HEADER ,
  BFM_TITLECHNG ,
  BFM_ENABLE ,
  BFM_DISABLE ,
  BFM_MINCHNG ,
  BFM_MAXCHNG ,
  BFM_VALUECHNG ,
  BFM_IDCHNG ,
  BFM_GOTFOCUS ,
  BFM_LOSTFOCUS ,
  BFM_SETFOCUS ,
  BFM_SETFIRSTFOCUS ,
  BFM_MOVEFOCUSNEXT ,
  BFM_MOVEFOCUSPREV ,
  BFM_SETLASTFOCUS ,
  BFM_GETFOCUSBEFOREUPDATE ,
  BFM_SETFOCUSAFTERUPDATE ,
  BFM_SHOW_FRAME ,
  BFM_SHOW_ID ,
  BFM_MANAGER_ID ,
  BFM_CHILD_REMOVED ,
  BFM_CHILD_ID ,
  BFM_ACTIVATE_WINDOW ,
  BFM_INPUT ,
  BFM_INPUT_AFTER_SCROLL ,
  BFM_INPUT_QUALIFIER ,
  BFM_INPUT_MODIFIERS ,
  BFM_INPUT_DEVICE ,
  BFM_INPUT_MOUSE ,
  BFM_INPUT_KEYBOARD ,
  BFM_INPUT_ASC ,
  BFM_INPUT_CHANNEL ,
  BFM_INPUT_MOUSELEFT ,
  BFM_INPUT_MOUSERIGHT ,
  BFM_INPUT_MOUSEMIDDLE ,
  BFM_INPUT_MOUSEX1 ,
  BFM_INPUT_MOUSEX2 ,
  BFM_INPUT_MOUSEWHEEL ,
  BFM_INPUT_MOUSEMOVE ,
  BFM_INPUT_MAGNIFY ,
  BFM_INPUT_VALUE ,
  BFM_INPUT_VALUE_REAL ,
  BFM_INPUT_X ,
  BFM_INPUT_Y ,
  BFM_INPUT_Z ,
  BFM_INPUT_TILT ,
  BFM_INPUT_ORIENTATION ,
  BFM_INPUT_FINGERWHEEL ,
  BFM_INPUT_P_ROTATION ,
  BFM_INPUT_HSCROLL ,
  BFM_INPUT_VSCROLL ,
  BFM_INPUT_MULTITOUCHSCROLL ,
  BFM_INPUT_WHEELSCROLL ,
  BFM_INPUT_TIMESTAMP ,
  BFM_INPUT_DOUBLECLICK ,
  INPUT_DBLCLK ,
  BFM_SIZED ,
  BFM_ACTION ,
  BFM_ACTION_ID ,
  BFM_ACTION_VALUE ,
  BFM_ACTION_INDRAG ,
  BFM_ACTION_STRCHG ,
  BFM_ACTION_VALCHG ,
  BFM_ACTION_ESC ,
  BFM_ACTION_RESET ,
  BFM_ACTION_UPDATE ,
  BFM_ACTION_KEYUP ,
  BFM_ACTION_KEYDOWN ,
  BFM_COLORCHOOSER_PARENTMESSAGE ,
  BFM_COLORCHOOSER ,
  BFM_COLORCHOOSER_RGB_RANGE ,
  BFM_COLORCHOOSER_SYSTEMMESSAGE ,
  BFM_GET_FOCUS_RECTANGLE ,
  BFM_GET_FOCUS_RECTANGLE_X ,
  BFM_GET_FOCUS_RECTANGLE_Y ,
  BFM_GET_FOCUS_RECTANGLE_W ,
  BFM_GET_FOCUS_RECTANGLE_H ,
  BFM_ACTIVE_CHG ,
  BFM_ACTIVE ,
  BFM_DRAGSTART ,
  BFM_DRAGRECEIVE ,
  BFM_DRAGEND ,
  BFM_DRAGAUTOSCROLL ,
  DRAGTYPE_FILES ,
  DRAGTYPE_ICON ,
  DRAGTYPE_MANAGER ,
  DRAGTYPE_COMMAND ,
  DRAGTYPE_CMDPALETTE ,
  DRAGTYPE_DESCID ,
  DRAGTYPE_ATOMARRAY ,
  DRAGTYPE_FILENAME_IMAGE ,
  DRAGTYPE_RGB ,
  DRAGTYPE_FILENAME_SCENE ,
  DRAGTYPE_FILENAME_OTHER ,
  DRAGTYPE_RGB_ARRAY ,
  DRAGTYPE_RGBA_ARRAY ,
  BFM_DRAG_DATA_ ,
  BFM_DRAG_SCREENX ,
  BFM_DRAG_SCREENY ,
  BFM_DRAG_FINISHED ,
  BFM_DRAG_PRIVATE ,
  BFM_DRAG_LOST ,
  BFM_DRAG_TYPE_NEW ,
  BFM_DRAG_DATA_NEW ,
  BFM_DRAG_ESC ,
  AUTOSCROLL_UP ,
  AUTOSCROLL_DOWN ,
  AUTOSCROLL_LEFT ,
  AUTOSCROLL_RIGHT ,
  AUTOSCROLL_LEFT_UP ,
  AUTOSCROLL_LEFT_DOWN ,
  AUTOSCROLL_RIGHT_UP ,
  AUTOSCROLL_RIGHT_DOWN ,
  HANDLEMOUSEDRAG_PRIVATEFRAME ,
  HANDLEMOUSEDRAG_PRIVATEAUTOSCROLL ,
  BFM_GETVALUE ,
  BFM_VALUEADD ,
  BFM_VALUESUB ,
  BFM_INITVALUES ,
  BFM_ADJUSTSIZE ,
  BFM_ADJUSTSIZE_LEFT ,
  BFM_ADJUSTSIZE_TOP ,
  BFM_ADJUSTSIZE_WIDTH ,
  BFM_ADJUSTSIZE_HEIGHT ,
  BFM_LAYOUT_CHANGED ,
  BFM_FULLSCREENMODE_ON ,
  BFM_FULLSCREENMODE_OFF ,
  BFM_ISACTIVE ,
  BFM_SETSTATUSBAR ,
  BFM_STATUSBAR_PROGRESSON ,
  BFM_STATUSBAR_TXT ,
  BFM_STATUSBAR_PROGRESS ,
  BFM_STATUSBAR_PROGRESSSPIN ,
  BFM_STATUSBAR_HELP ,
  BFM_STATUSBAR_PROGRESSFULLSIZE ,
  BFM_STATUSBAR_TINT_COLOR ,
  BFM_STATUSBAR_NETTINT_COLOR ,
  BFM_STATUSBAR_NETPROGRESSON ,
  BFM_STATUSBAR_NETTXT ,
  BFM_STATUSBAR_NETPROGRESS ,
  BFM_STATUSBAR_NETPROGRESSSPIN ,
  BFM_MARKFOCUS ,
  BFM_CLEARFOCUS ,
  BFM_SETACTIVE ,
  BFM_SETACTIVE_DATA ,
  BFM_REMOVE_DIALOG ,
  BFM_DESTINATION_GROUP ,
  BFM_SCROLLAREA ,
  BFM_SCROLLX ,
  BFM_SCROLLY ,
  BFM_GETVISIBLE_XOFF ,
  BFM_GETVISIBLE_YOFF ,
  BFM_GETVISIBLE_WIDTH ,
  BFM_GETVISIBLE_HEIGHT ,
  SCR_VISIBLEOBJS ,
  BFM_SETVIEWPORTORIGIN ,
  BFM_SCROLLGROUP_OFFSETCHANGED ,
  BFM_SETVIEWPORTORIGIN_X ,
  BFM_SETVIEWPORTORIGIN_Y ,
  BFM_SETVIEWPORTSIZE ,
  BFM_MENU_SET ,
  BFM_MENU_ON ,
  BFM_MENU_OFF ,
  BFM_MENU_CHECK ,
  BFM_MENU_UNCHECK ,
  BFM_DRAWUSERITEM ,
  BFM_DRAWUSERITEM_ID ,
  BFM_SYNC_MESSAGE ,
  BFM_CORE_MESSAGE ,
  BFM_CORE_ID ,
  BFM_CORE_UNIQUEID ,
  BFM_CORE_PAR1 ,
  BFM_CORE_PAR2 ,
  BFM_CORE_SPECIALCOREID ,
  BFM_TESTONLY ,
  BFM_SPECIALGETSTRING ,
  BFM_SPECIALSETRANGE ,
  BFM_SPECIALMODE ,
  BFM_SETSPECIALMULTI ,
  BFM_SETSPECIALMULTID ,
  BFM_POPUPNOTIFY ,
  BFM_INTERACTSTART ,
  BFM_INTERACTEND ,
  BFM_CORE_UPDATECOMMANDS ,
  BF_INSERT_LAST ,
  BFM_MENUFINDER ,
  BFM_SET_MSG_BITMASK ,
  BITMASK_CORE_MESSAGE ,
  BITMASK_SYNC_MESSAGE ,
  BFM_SETMAINTITLE ,
  BFM_GETVIEWPANELDATA ,
  BFM_GETVIEWPANEL_PRIVATEDATA ,
  BFM_SETVIEWPANELLAYOUT ,
  BFM_VPD_PANELID ,
  BFM_VPD_LAYOUTTYPE ,
  BFM_VPD_MAXIMIZED ,
  BFM_VPD_PRIVATEDATA ,
  BFM_STORE_WEIGHTS ,
  BFM_MARKFORCELAYOUT ,
  BFM_REDRAW_EDITMODE ,
  BFM_RELOAD_MENUS ,
  BFM_OPTIMIZE ,
  BFM_CORE_UPDATEACTIVECOMMANDS ,
  BFM_UPDATE_REGION ,
  BFM_GUIPREFSCHANGED ,
  BFM_COMMANDSCHANGED ,
  BFM_LAYOUT_GETDATA ,
  BFM_LAYOUT_SETDATA ,
  BFM_GETCUSTOMGUILAYOUTDATA ,
  BFM_WEIGHTS_CHANGED ,
  BFM_GETPARENT_MANAGER_ID ,
  BFM_EDITFIELD_GETCURSORPOS ,
  BFM_EDITFIELD_GETBLOCKSTART ,
  BFM_EDITFIELD_SETCURSORPOS ,
  BFM_FADE ,
  BFM_FADE_REMOVEALL ,
  BFM_EDITFIELD_STOREUNDO ,
  BFM_EDITFIELD_RESTOREUNDO ,
  BFM_EDITFIELD_FLUSHUNDO ,
  BFM_EDITFIELD_GETUNDOSTATS ,
  BFM_EDITFIELD_UNDOSTAT_COUNT ,
  BFM_EDITFIELD_UNDOSTAT_UNDOLEVEL ,
  BFM_REQUIRESRESULT ,
  BFM_SCROLLGROUP_SCALE ,
  BFM_DUMMY
}
 

Enumeration Type Documentation

◆ anonymous enum

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.
BFM_DRAG_SCREENX and BFM_DRAG_SCREENY are the input IDs.

RESULT_CURSOR 

Int32 Mouse cursor: MOUSE

RESULT_BUBBLEHELP 

String Bubble help text.

RESULT_SUPPRESSBUBBLE 

Bool Suppress bubble help.

RESULT_CURSOR_FORCE_HIDE 

Bool Return value for GetCursorInfo.
Set this to true in the result container to hide the cursor but to keep the cursor type.

Note
Used for the stereoscopic viewport so that OpenGL can draw the perspective mouse.
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.

See also
RemoveLastCursorInfo()
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.
Use this together with a scroll group header user area with ID SCROLLGROUP_HEADER to get information about when the group has 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.

See also
BFM_SETFOCUSAFTERUPDATE
Note
These messages are only sent if the customgui is used inside the Attribute Manager and not when it is used in any other GeDialog.
Int32 MyCustomGui::Message(const BaseContainer &msg, BaseContainer &result)
{
...
switch (msg.GetId())
{
case BFM_GETFOCUSBEFOREUPDATE: // Layout is about to update and active gadget could lose focus: store it
{
Int32 activeGadgetId = NOTOK;
if (IsActive(MY_BUTTON_ID)) activeGadgetId = MY_BUTTON_ID;
else if (IsActive(MY_USERAREA_ID)) activeGadgetId = MY_USERAREA_ID;
if (IsActive(MY_COLORFIELD_ID)) activeGadgetId = MY_COLORFIELD_ID;
result.SetInt32(0, activeGadgetId); // activeGadgetId is a usual gadget id, e.g. AddButton(MY_BUTTON_ID, BFH_LEFT, 0, 0 "My Button");
return true;
break;
}
case BFM_SETFOCUSAFTERUPDATE: // Layout has been updated (focus is in first gadget now): reactivate '_activeGadgetId'
{
Int32 activeGadgetId = msg.GetInt32(0);
if (activeGadgetId != NOTOK)
Activate(activeGadgetId);
return true;
break;
}
...
}
return SUPER::Message(msg, result);
}
Since
R18
BFM_SETFOCUSAFTERUPDATE 

A custom GUI description receives this message after the layout is updated to reactivate previously focused gadget.

See also
BFM_GETFOCUSBEFOREUPDATE
Since
R18
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 

Int32 Contains the key or mouse button. See also KEY.

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).

See also
BFM_INPUT_VALUE_REAL
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 

Bool String in text field changed.

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.
Tells OS X the input cursor position to get the input popup on Japanese systems. Internal.

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 

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>*.

Since
R17.032
DRAGTYPE_RGBA_ARRAY 

Color with alpha array. Data received is maxon::BaseArray<maxon::ColorA>*.

Since
R20
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 

Int32 Drag type: DRAGTYPE

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.

See also
GeDialog::InitValues GeUserArea::InitValues ProgressDialog::InitValues
BFM_ADJUSTSIZE 

Private.

BFM_ADJUSTSIZE_LEFT 

Int32

BFM_ADJUSTSIZE_TOP 

Int32

BFM_ADJUSTSIZE_WIDTH 

Int32

BFM_ADJUSTSIZE_HEIGHT 

Int32

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.
Internal code:

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.
The GeDialog class already overloads this message to ensure that user interactions stop redraws etc.:

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.
Used for example by the Attribute Manager to store its mask settings.

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.
Internal code:

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.
The example below blends the background of the icon button from COLOR_BG to COLOR_BG_HIGHLIGHT:

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