home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 November
/
Chip_2003-11_cd2.bin
/
3d
/
bodypaint
/
BodyPaint_3D_Demo.exe
/
resource
/
_api
/
gui.h
< prev
next >
Wrap
C/C++ Source or Header
|
2003-07-04
|
20KB
|
728 lines
#ifndef _GUI_H_
#define _GUI_H_
enum
{
GUI_H_
};
enum
{
WIN_WINDOW = 1,
WIN_DLG = 2,
WIN_POPUP = 3,
WIN_WINDOW2 = 4
};
enum
{
FONT_DEFAULT = 0,
FONT_STANDARD = 1,
FONT_BOLD = 2,
FONT_MONOSPACED = 3
};
// Coffee Qualifiers
enum
{
QSHIFT = 1,
QCTRL = 2,
QALT = 4,
QALT2 = 8,
QALT3 = 16,
QQUAL_
};
// CoffeeKeys
enum
{
KEY_UP = 0x8000,
KEY_DOWN = 0x8001,
KEY_RIGHT = 0x8002,
KEY_LEFT = 0x8003,
KEY_PGUP = 0x8004,
KEY_PGDOWN = 0x8005,
KEY_HOME = 0x8006,
KEY_END = 0x8007,
KEY_INSERT = 0x8008,
KEY_DELETE = 0x8009,
KEY_BACKSPACE = 0x8010,
KEY_ENTER = 0x8011,
KEY_TAB = 0x8012,
KEY_F1 = 0x8013,
KEY_F2 = 0x8014,
KEY_F3 = 0x8015,
KEY_F4 = 0x8016,
KEY_F5 = 0x8017,
KEY_F6 = 0x8018,
KEY_F7 = 0x8019,
KEY_F8 = 0x8020,
KEY_F9 = 0x8021,
KEY_F10 = 0x8022,
KEY_F11 = 0x8023,
KEY_F12 = 0x8024,
KEY_ESC = 0x8025,
KEY_SPACE = 0x8026,
// for Old-IsKeyDown
KEY_MLEFT = 0xF000,
KEY_MRIGHT = 0xF001,
KEY_MMIDDLE = 0xF002,
KEY_MX1 = 0xF003,
KEY_MX2 = 0xF004,
KEY_SHIFT = 0xF010,
KEY_CONTROL = 0xF011,
KEY_ALT = 0xF012
};
enum
{
BfBLACK = 0,
BfWHITE = 1,
BfLTGRAY = 2,
BfLTRED = 3,
BfLTGREEN = 4,
BfLTBLUE = 5,
BfLTYELLOW = 6,
BfGRAY = 7,
BfRED = 8,
BfGREEN = 9,
BfBLUE = 10,
BfYELLOW = 11,
BfDGRAY = 12,
BfDRED = 13,
BfDGREEN = 14,
BfDBLUE = 15,
BfDYELLOW = 16,
BfDWHITE = 17,
BfORANGE = 18,
BfBROWN = 19,
BfPURPLE = 20
};
enum
{
ARROW_LEFT = 1,
ARROW_RIGHT = 2,
ARROW_UP = 3,
ARROW_DOWN = 4,
ARROW_SMALL_LEFT = 5,
ARROW_SMALL_RIGHT = 6,
ARROW_SMALL_UP = 7,
ARROW_SMALL_DOWN = 8
};
enum
{
// Bitmap modes
BMP_NORMAL = 0,
BMP_NORMALSCALED = 1,
BMP_DARKEN = 2,
BMP_EMBOSSED = 3,
BMP_ALLOWALPHA = 256 // bitmask
};
// Flags for Layout - bf_flags
enum
{
BFV_GRIDGROUP_EQUALCOLS = 1, // each column has the same width
BFV_GRIDGROUP_EQUALROWS = 2, // each row has the same height
BFV_CMD_EQUALCOLUMNS = 2048, // gleiche Spaltenbreite
BFV_BORDERGROUP_CHECKBOX = 4096, // checkbox in title of a bordergroup
BFV_BORDERGROUP_FOLD = 8192, // fold symbol in title of a bordergroup
BFV_BORDERGROUP_FOLD_OPEN = 16384, // fold symbol in title of a bordergroup group is opened, otherwise closed
BFV_DIALOG_REMOVEABLE = 4, // dialog is removeable
BFV_DIALOG_BAR_VERT = 8, // dialog has a vert. dialogbar
BFV_DIALOG_NOBUTTONS = 16, // no Button-Bar
//BFV_GRIDGROUP_LAYOUTER = 256, // mark a layouting-frame
BFV_LAYOUTGROUP_PALETTEOUTLINES = 512,
BFV_IGNORE_FOCUS = 1024,
BFV_TABGROUP_RELOADDIALOG = 2048, // ok, it's a hack
BFV_LAYOUTGROUP_NODROP = 4096,
BFV_LAYOUTGROUP_NODROP2 = 8192,
BFx_NOEQUAL = 64,
BFV_
};
enum //CommandResourceObj
{
RESOURCE_COMMAND = 'rcmd', // GetCResource();
RESOURCE_MENU = 'rmnu', // GetCResource();
RESOURCE_DIALOG = 'rdlg', // GetCResource();
RESOURCE_ICON = 'ricn', // GetCResource();
RESOURCE_CONTAINER = 'rcnt', // GetCResource();
RESCMD_TITLE = 'titl',
RESCMD_HELP = 'help',
RESCMD_ICONPOOL = 'pool',
RESCMD_ICONNUM = 'inum',
RESCMD_DESTINATION = 'dest',
RESCMD_SHORTQUAL = 'sqal',
RESCMD_SHORTKEY = 'skey',
RESCMD_SHORTQUAL2 = 'sql2',
RESCMD_SHORTKEY2 = 'sky2',
RESCMD_SHORTSTRING = 'sstr',
// private
RESCMD_FLAGS = 'flag', // LONG
RESCMD_VALUE = 'valu', // LONG
RESCMD_LASTUPDATE = 'updt', // LONG
RESCMD_SUB = 'subc' // SubCommand-Container
};
enum // MenuResourceObj
{
MENURESOURCE_SUBMENU = 1,
MENURESOURCE_SEPERATOR = 2,
MENURESOURCE_COMMAND = 3,
MENURESOURCE_SUBTITLE = 4,
MENURESOURCE_STRING = 5,
MENURESOURCE_MENURESOURCE = 6
};
enum
{
ICONPOOL_FILENAME = 'name',
ICONPOOL_ICON = 'icon',
ICON_ID = 'idid',
ICON_X = 'xpos',
ICON_Y = 'ypos',
ICON_W = 'wdth',
ICON_H = 'heig'
};
// BorderTypes
enum
{
BORDER_NONE = 0,
BORDER_THIN_IN = 1,
BORDER_THIN_OUT = 2,
BORDER_IN = 3,
BORDER_OUT = 4,
BORDER_GROUP_IN = 5,
BORDER_GROUP_OUT = 6,
BORDER_OUT2 = 7,
BORDER_OUT3 = 8,
BORDER_BLACK = 9,
BORDER_ACTIVE_1 = 10,
BORDER_ACTIVE_2 = 11,
BORDER_GROUP_TOP = 12,
BORDER_ACTIVE_3 = 13,
BORDER_ACTIVE_4 = 14,
BORDER_MASK = 0x7FFFFFFF,
BORDER_WITH_TITLE = 0x80000000
};
enum // DialogResourceObj
{
TAB_TABS = 0,
TAB_NOSELECT = 1,
TAB_CYCLE = 2,
TAB_RADIO = 3,
// binfo->pos BaseFrame vertical and horizontal orientation
BFV_CENTER = 0,
BFV_TOP = 1, // (1<<0),
BFV_BOTTOM = 2, // (1<<1),
BFV_FIT = 3, // (BFV_BOTTOM|BFV_TOP),
BFV_SCALE = 4, // (1<<2),
BFV_SCALEFIT = 7, // (BFV_SCALE|BFV_FIT),
BFV_MASK = 3,
BFH_CENTER = 0,
BFH_LEFT = 8, // 1<<3
BFH_RIGHT = 16, // 1<<4
BFH_FIT = 24,
BFH_SCALE = 32, // 1<<5
BFH_SCALEFIT = 56,
BFH_MASK = 24,
DR_MULTILINE_MONOSPACED = 1,
DR_MULTILINE_SYNTAXCOLOR = 2,
DR_MULTILINE_STATUSBAR = 4,
DR_COLORFIELD_NO_BRIGHTNESS = 1,
DR_COLORFIELD_NO_COLOR = 2,
DR_COLORFIELD_BODYPAINT = 4, // uses the BP style
DROLDWIN_SDK = 'sdk8',
DIALOGRESOURCE_
};
// Flags fuer CommandGadget
enum
{
CMD_POPUP_RIGHT = 1,
CMD_POPUP_BELOW = 2,
CMD_PIC = 4,
CMD_TOGGLE = 8, // soll togglebar sein sein
CMD_TEXT = 16, // Text
CMD_SHORTCUT = 32, // Shortcut
CMD_ARROW = 64, // Pfeile fⁿr Menu
CMD_VERT = 128, // vertikale Anordnung von Text und Icon
CMD_BUTTONLIKE = 256, // ist ein Button=TRUE, Menueintrag=FALSE
CMD_MENU = 512, // ist ein Menueintrag, daher keine Eintragung beim Commando, zwecks Updates
CMD_CYCLE = 1024, // bleibt eingerastet
CMD_EDITPALETTE = 4096, // CommandManagerFlag, dieser Button ist im PalettenManager
CMD_SMALLICONS = 8192, // Small icons (textheight)
CMD_VALUE = 0x3FFFFFFF,
CMD_ENABLED = 0x40000000, //2147483648,
CMD_
};
// Flags for PopUps
enum
{
POPUP_ABOVE = 1, // sdk: open to this direction relative to mouse
POPUP_BELOW = 2, // sdk: open to this direction relative to mouse
POPUP_CENTERVERT = 3, // sdk: open to this direction relative to mouse
POPUP_LEFT = 4, // sdk: open to this direction relative to mouse
POPUP_RIGHT = 8, // sdk: open to this direction relative to mouse
POPUP_CENTERHORIZ = 12, // sdk: open to this direction relative to mouse
POPUP_ADJUSTWIDTH = 16, // only for internal usage
POPUP_ADJUSTHEIGHT = 32, // only for internal usage
POPUP_EXECUTECOMMANDS = 64, // sdk: execute command immediatly
POPUP_
};
// flags for coffee-manager-window
enum
{
SCROLLGROUP_VERT = 4,
SCROLLGROUP_HORIZ = 8,
SCROLLGROUP_NOBLIT = 16,
SCROLLGROUP_LEFT = 32,
SCROLLGROUP_BORDERIN = 64,
SCROLLGROUP_STATUSBAR = 128,
SCROLLGROUP_AUTOHORIZ = 256,
SCROLLGROUP_AUTOVERT = 512,
SCROLLGROUP_NOSCROLLER = 1024
};
// Modes for MouseSelectAreas function
enum
{
MOUSESELECT_RECTANGLE = 1,
MOUSESELECT_POLYGON = 2,
MOUSESELECT_FREE = 3,
MOUSESELECT_NOCROSSCURSOR = (1<<30)
};
enum
{
MANAGER_NONE,
MANAGER_SCROLLER_HORIZ,
MANAGER_SCROLLER_VERT,
MANAGER_CLOSEBUTTON,
MANAGER_SIZEABLE,
MANAGER_TITLE,
MANAGER_ID,
MANAGER_MENUID,
MANAGER_NOBLITBIT,
MANAGER_WANTOWNSTATUSBAR,
MANAGER_DUMMY
};
// focus definitions
enum // focus of coffee-frames
{
FOCUS_OFF = 0, // has no focus
FOCUS_ON = 1, // has focus and window is active
FOCUS_INACT = 2, // has focus but window is inactive
FOCUS_HIDDEN = 3, // focus is hidden through ENTER
FOCUS_INPROGRESS = 4,
FOCUS_
};
enum
{
BFM_INIT = 'bINI',
BFM_TIMER_MESSAGE = 10020,
BFM_CALCSIZE = 'bCAS',
BFM_CHECKCLOSE = 'chkc', // versendet das physic. fenster geschickt, wenn user fenster schliessen will
BFM_ASKCLOSE = 'askc', // TRUE zurⁿck, wer etwas gegen das schliessen des fensters hat
BFM_DESTROY = 'dsty', // unweigerliches schliessen
BFM_CLOSEWINDOW = 'clos', // ParentMessage zum schliessen des Fenster
BFM_ASK_TABSWITCH = 'stab', // ask for switching tabs
BFM_ASK_VISIBLE = 'avis', // ParentMessage for asking for visiblility
BFM_VISIBLE_ON = 'visT', // Message about changing to visibility
BFM_VISIBLE_OFF = 'visF', // Message about changing to visibility
BFM_PARENT_TITLECHNG = 'pren', // ParentNotify about titlechng
BFM_RENAMEWINDOW = 'wren', // rename window message
BFM_GETACTIVETABTITLE = 'tact', // asking for activetab title
BFM_GETCURSORINFO = 'cinf', // ask for mousepointdata, gibt Container zurⁿck
//BFM_DRAG_SCREENX - screenx
//BFM_DRAG_SCREENY - screeny
// resultcontainer
RESULT_CURSOR = 1, // cursortype
RESULT_BUBBLEHELP = 2, // bubblehelptext
BFM_GETINFO = 'bInf',
BFM_DRAW = 'bDRA',
BFM_DRAW_LEFT = 1, // only redraw this area
BFM_DRAW_TOP = 2, // only redraw this area
BFM_DRAW_RIGHT = 3, // only redraw this area
BFM_DRAW_BOTTOM = 4, // only redraw this area
BFM_DRAW_HASRECT = 5, // flag for a existing redraw rectangle
BFM_DRAW_OGL = 6, // flag for a existing redraw rectangle
BFM_SHOW_AREA = 'sare', // scrolls the given rectangle visible (ScrollArea)
//BFM_DRAW_LEFT
//BFM_DRAW_TOP
//BFM_DRAW_RIGHT
//BFM_DRAW_BOTTOM
BFM_SCROLLGROUP_SCROLLED = 'scrs',
SCROLLGROUP_HEADER = 0xdeadbeee,
BFM_TITLECHNG = 'bTIC',
BFM_ENABLE = 'bEna', // enables the coffeeframe
BFM_DISABLE = 'bDis', // disables the coffeeframe
BFM_MINCHNG = 'bMIC',
BFM_MAXCHNG = 'bMAC',
BFM_VALUECHNG = 'bVAC',
BFM_IDCHNG = 'bIDC',
BFM_GOTFOCUS = 'bGFC', // Item gots the focus
BFM_LOSTFOCUS = 'bLFC', // Item lost the focus
BFM_SETFOCUS = 'bSFC', // internal msg
BFM_SETFIRSTFOCUS = 'bSFF', // help message focus-keyboard-control
BFM_MOVEFOCUSNEXT = 'bFNX', // help message focus-keyboard-control
BFM_MOVEFOCUSPREV = 'bFPR', // help message focus-keyboard-control
BFM_SETLASTFOCUS = 'bSLF', // help message focus-keyboard-control
BFM_SHOW_FRAME = 'sFrm', // brings the frame to front, return TRUE if found
BFM_SHOW_ID = 1, // show this id
BFM_MANAGER_ID = 2, // show this id
BFM_CHILD_REMOVED = 'bRem',
BFM_CHILD_ID = 1,
BFM_ACTIVATE_WINDOW = 'wact',
BFM_INPUT = 'bIPN',
BFM_INPUT_QUALIFIER = 'ipqa', // Qualifier
BFM_INPUT_DEVICE = 'ipdv', // Device
BFM_INPUT_MOUSE = 'mous', // Mouse
BFM_INPUT_KEYBOARD = 'keyb', // Mouse
BFM_INPUT_ASC = 'kasc', //
BFM_INPUT_CHANNEL = 'ipca', // Channel
BFM_INPUT_MOUSELEFT = 1,
BFM_INPUT_MOUSERIGHT = 2,
BFM_INPUT_MOUSEMIDDLE = 3,
BFM_INPUT_MOUSEX1 = 5,
BFM_INPUT_MOUSEX2 = 6,
BFM_INPUT_MOUSEWHEEL = 100, // Windows-MouseWheelMessage
BFM_INPUT_MOUSEMOVE = 101, // Windows-MouseMoveMessage
BFM_INPUT_VALUE = 'ipva', // Value des Channels (z.B Pressure)
BFM_INPUT_VALUE_REAL = 'ipvA', // REAL: Value des Channels (z.B Pressure)
BFM_INPUT_X = 'ipvx', // x-wert des Channels
BFM_INPUT_Y = 'ipvy', // y-wert
BFM_INPUT_Z = 'ipvz', // z-wert
BFM_INPUT_TILT = 'itlt', // pen tilt
BFM_INPUT_ROTATION = 'irot', // pen rotation
BFM_INPUT_FINGERWHEEL = 'ifng', // finger wheel
BFM_INPUT_DOUBLECLICK = 'ipdb', // bool: doubleclick
INPUT_DBLCLK = 0x8000,
BFM_SIZED = 'bISI',
BFM_ACTION = 'bACT',
BFM_ACTION_ID = 'meid',
BFM_ACTION_VALUE = 'meva',
BFM_ACTION_INDRAG = 'medr', // Bool: Slider in dragging mode (not finished)
BFM_ACTION_STRCHG = 'mest', // Bool: String in Textfield changed
BFM_ACTION_VALCHG = 'vchg', // Bool: NumberEdit/SliderChg
BFM_COLORCHOOSER_PARENTMESSAGE = 'colP',
BFM_COLORCHOOSER = 'colC',
BFM_COLORCHOOSER_SYSTEM = 1,
BFM_COLORCHOOSER_RGB_RANGE = 2,
BFM_COLORCHOOSER_H_RANGE = 3,
BFM_COLORCHOOSER_SV_RANGE = 4,
BFM_COLORCHOOSER_SYSTEMMESSAGE = 5, // sends a parent message "BFM_COLORCHOOSER_PARENTMESSAGE" if settings change
BFM_COLORCHOOSER_QUICKSTORE = 6,
BFM_COLORCHOOSER_MIXINGPANEL = 7,
BFM_ACTIVE_CHG = 'bACG', // Activation changed
BFM_ACTIVE = 'actv', // Flag, if window is active
BFM_DRAGSTART = 10001,
BFM_DRAGRECEIVE = 10003,
BFM_DRAGEND = 10004,
BFM_DRAGAUTOSCROLL = 10005,
DRAGTYPE_FILES = 1, // DataPointer is a string with the filename
DRAGTYPE_ICON = 4, //
DRAGTYPE_MANAGER = 5, // destination-drag for coffeemanager
DRAGTYPE_COMMAND = 6, // destination-drag for command
DRAGTYPE_CMDPALETTE = 7,
DRAGTYPE_OTRENN = 102,
DRAGTYPE_ATRENN = 103,
DRAGTYPE_ANAME = 104,
DRAGTYPE_CTRENN = 105,
DRAGTYPE_HV = 106,
DRAGTYPE_TIMEA = 107,
DRAGTYPE_TIMEC = 108,
DRAGTYPE_TIMEU = 109,
DRAGTYPE_MCURVE = 110,
DRAGTYPE_U_MARKERX = 111,
DRAGTYPE_U_MARKERY = 112,
DRAGTYPE_ATOMARRAY = 201,
DRAGTYPE_TEXTURE_FILENAME = 202,
DRAGTYPE_RGB = 203,
DRAGTYPE_A_RKEYS = 305,
DRAGTYPE_BROWSER_SCENE = 401,
DRAGTYPE_BROWSER_MATERIAL = 402,
DRAGTYPE_BROWSER_SOUND = 403,
DRAGTYPE_BROWSER_FCV = 404,
DRAGTYPE_BROWSER_COFFEE = 405,
DRAGTYPE_A_OBJECT = 44000,
DRAGTYPE_A_TRACK = 44001,
DRAGTYPE_A_SEQ = 44002,
DRAGTYPE_A_SEQ_NEW = 44005,
DRAGTYPE_A_KEY = 44006,
DRAGTYPE_A_MARKER = 44007,
DRAGTYPE_A_TIME = 44008,
DRAGTYPE_A_SELECT_MIN = 44010,
DRAGTYPE_A_SELECT_MAX = 44011,
DRAGTYPE_A_LOOP_MIN = 44013,
DRAGTYPE_A_LOOP_MAX = 44014,
DRAGTYPE_A_TRENN1 = 44015,
DRAGTYPE_A_TRENN2 = 44016,
DRAGTYPE_A_SELECT = 44017,
DRAGTYPE_A_LOOP = 44018,
DRAGTYPE_A_TIME_PS = 44020,
DRAGTYPE_A_LINE = 45000,
DRAGTYPE_A_VDRAG = 45001,
BFM_DRAG_DATA_ = 2,
BFM_DRAG_SCREENX = 3,
BFM_DRAG_SCREENY = 4,
BFM_DRAG_FINISHED = 5,
BFM_DRAG_PRIVATE = 6,
BFM_DRAG_LOST = 7,
BFM_DRAG_TYPE_NEW = 8,
BFM_DRAG_DATA_NEW = 9,
AUTOSCROLL_UP = 1, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_DOWN = 2, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_LEFT = 3, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_RIGHT = 4, // result of BFM_DRAGAUTOSCROLL
AUTOSCROLL_OWNX = 5, // ONLY FOR Timeline-HACK
AUTOSCROLL_OWNY = 6, // ONLY FOR Timeline-HACK
// Tilo changed
BFM_GETVALUE = 'gVAL', // get Value
BFM_VALUEADD = 'bVAD',
BFM_VALUESUB = 'bVSB',
BFM_INITVALUES = 'bVIN',
BFM_ADJUSTSIZE = 'fADJ', // message to adjust the object in the given range l.d.
BFM_ADJUSTSIZE_LEFT = 1,
BFM_ADJUSTSIZE_TOP = 2,
BFM_ADJUSTSIZE_WIDTH = 3,
BFM_ADJUSTSIZE_HEIGHT = 4,
// ParentMessages
// BFM_GETDISABLED = 'bDIS', // ask parents, if they are disables
BFM_LAYOUT_CHANGED = 'fLAY', // Message to parent about layout changes
BFM_ISACTIVE = 'iact', // for asking active view ...
BFM_SETSTATUSBAR = 'stat',
BFM_STATUSBAR_PROGRESSON = 1, // Bool
BFM_STATUSBAR_TXT = 2, // String
BFM_STATUSBAR_PROGRESS = 3, // Real: 0.0...1.0
BFM_STATUSBAR_PROGRESSSPIN = 4, // ...
BFM_STATUSBAR_HELP = 5,
BFM_MARKFOCUS = 'bMFC', // revers focus message ... for internal use only
BFM_CLEARFOCUS = 'bCFC', // clear focus of all childs
BFM_SETACTIVE = 'bSAC', // SetActiveDialogBar
BFM_SETACTIVE_DATA = 'bSAC', // SetActiveDialogBar
BFM_REMOVE_DIALOG = 'bREM', // remove the dialog from current group
BFM_DESTINATION_GROUP = 'gdst', // destination for dialog, NULL means an own window
BFM_SCROLLAREA = 10010, // ScrollClientArea
BFM_SCROLLX = 1, // ScrollDirection
BFM_SCROLLY = 2, // ScrollDirection
BFM_GETVISIBLE_XOFF = 10011, // internal usage
BFM_GETVISIBLE_YOFF = 10012, // internal usage
BFM_GETVISIBLE_WIDTH = 10013, // internal usage
BFM_GETVISIBLE_HEIGHT = 10014, // internal usage
// Scroller
SCR_VISIBLEOBJS = 'sVIS', // visible scroll elements
BFM_SETVIEWPORTORIGIN = 'cORG',
BFM_SETVIEWPORTORIGIN_X=1,
BFM_SETVIEWPORTORIGIN_Y=2,
BFM_SETVIEWPORTSIZE = 'cSIZ',
BFM_MENU_SET = 10000,
BFM_MENU_ON = 1,
BFM_MENU_OFF = 2,
BFM_MENU_CHECK = 4,
BFM_MENU_UNCHECK = 8,
BFM_DRAWUSERITEM = 'usrd',
BFM_DRAWUSERITEM_ID = 1,
// Cinema-Message
BFM_SYNC_MESSAGE = 'sync',
BFM_CORE_MESSAGE = 'MciM',
BFM_CORE_ID = 'MciI', // CinemaMessageID
BFM_CORE_UNIQUEID = 'Muid', // TimeStamp
BFM_CORE_PAR1 = 'Mci1', // Parameter1
BFM_CORE_PAR2 = 'Mci2', // Parameter1
BFM_CORE_SPECIALCOREID = 'scid', // special managerid!!! for syncmessage
BFM_TESTONLY = 'test', // do nothing
BFM_SPECIALLONG = 'splg', // special thing
BFM_SPECIALSTRING = 'spst', // special thing
BFM_SPECIALENABLE = 'spen', // ....
BFM_SPECIALGETLONG = 'gtlg', // special thing
BFM_SPECIALGETSTRING = 'gtst', // special thing
BFM_SPECIALSETRANGE = 'srng', // special hack
BFM_SPECIALACTIVATE = 'sact', // special activate
BFM_SPECIALVECTOR = 'svec', // set vector
BFM_SPECIALGETVECTOR = 'gvec', // get vector
BFM_SPECIALSETCONTAINER = 'scnt', // special hack
BFM_SPECIALGETREAL = 'grel', // special hack
BFM_SPECIALSETREAL = 'srel', // special hack
BFM_COMMAND = 'cmmd', // Commando ausgefⁿhrt
BFM_CMD_ID = 'cmdi', // CommandID
BFM_CMD_DEST = 'dest', // DestinationManager
BFM_CMD_FIRSTFOCUS = 'focu', // TRUE, if the message is send first time to the current manager, second try to the editor
IDM_UNDO = 12105,
IDM_REDO = 12297,
IDM_CUT = 12106,
IDM_COPY = 12107,
IDM_PASTE = 12108,
IDM_DELETE = 12109,
IDM_SELECTALL = 12112,
IDM_SELECTNONE = 12113,
IDM_INVERSION = 12374,
BFM_COMMANDNOTIFY = 'cmdn', // command notify: return
BFM_CMD_VALUEMASK = 0x1FFFFFFF,
BFM_CMD_USED = 0x20000000,
BFM_CMD_ENABLED = 0x40000000,
BFM_INTERACTSTART = 'inta', // interact start notify
BFM_INTERACTEND = 'inte', // interact end notify
BFM_CORE_UPDATECOMMANDS = 'updc', // ruft zum Update aller CommandoButtons auf
BF_INSERT_LAST = 2147483647,
BFM_MENUFINDER = 'find',
BFM_SET_MSG_BITMASK = 'bitm',
BITMASK_CORE_MESSAGE = 1,
BITMASK_SYNC_MESSAGE = 2,
BFM_SETMAINTITLE = 'mtit',
BFM_GETVIEWPANELDATA = 'vpdt',
BFM_GETVIEWPANEL_PRIVATEDATA = 'vppd',
BFM_SETVIEWPANELLAYOUT = 'vpsl',
BFM_VPD_PANELID = 'vpid',
BFM_VPD_LAYOUTTYPE = 'vplt',
BFM_VPD_MAXIMIZED = 'vpmx',
BFM_VPD_PRIVATEDATA = 'vpdt',
BFM_STORE_WEIGHTS = 'stwg',
BFM_MARKFORCELAYOUT = 'mkfl',
BFM_REDRAW_EDITMODE = 'dwed',
BFM_RELOAD_MENUS = 'ldmn',
BFM_OPTIMIZE = 'opti',
BFM_CORE_UPDATEACTIVECOMMANDS = 'upda',
BFM_UPDATE_REGION = 'uprg', // ParentMessage -> UpdateRegion
BFM_GUIPREFSCHANGED = 'gpch', // Message for gui-prefs-changed
BFM_LAYOUT_GETDATA = 'layg', // get layoutdata from manager
BFM_LAYOUT_SETDATA = 'lays', // set layoutdata in manager
BFM_DUMMY = 0 // Dummy ohne Komma :-)
};
enum
{
GUI_DIALOG_MINIMIZE = 1000,
GUI_DIALOG_RELEASE = 1001,
GUI_DIALOG_CLOSE = 1002
};
#endif // _GUI_H_