Table of contents
General
Classes
Functions, Macros
- MAddTimeout
- MAllocCell creates a read-write color with the R-G-B components specified in parameters (r,g,b)
- MAllocColor creates a shared color with the R-G-B components specified in parameters (r,g,b)
- MAllocDefaultBackgroundColor
Allocates a shared color having the R-G-B components of the default background
color
- MAllocImage
Creates an empty MIMAGE object
- MAllocShiftColor
creates a color as a shade of the color 'col'
- MBeep
This function emits a beep sound using the system specific's default sound
- MBlackColor
Returns the color id of the black color
- MBottomAttach
- MButtonChangeImageFiles
- MButtonSetOnMouseOverForegroundColor
- MButtonSetOnMouseOverForegroundRGB
- MButtonSetShadowOnMouseOver
- MButtonSetTextVsImageAlignment
- MCallAllTimeoutCallbacks
- MCallExpiredTimeoutCallbacks
- MCharHeight
Returns the height of the character 'ch' using the font 'font'
- MCharWidth
Returns the width of the character 'ch' using the font 'font'
- MClearTimeout
- MClosePrintDoc
- MCreateClippedColForm
- MCreateClippedEdit
- MCreateClippedHiddenEdit
- MCreateClippedMLEdit
- MCreateClippedPosForm
- MCreateClippedRowForm
- MCreateColForm
- MCreateDrawArea
- MCreateDrawnPButton
- MCreateDrawnPButtonExt
- MCreateDrawnRButton
- MCreateDrawnRButtonExt
- MCreateDrawnTButton
- MCreateDrawnTButtonExt
- MCreateDrawnTextPButton
- MCreateDrawnTextPButtonExt
- MCreateDrawnTextRButton
- MCreateDrawnTextRButtonExt
- MCreateDrawnTextTButton
- MCreateDrawnTextTButtonExt
- MCreateEdit
- MCreateEditList
- MCreateHiddenEdit
- MCreateImageMaskByCMapIndex
- MCreateImageMaskByPixel
- MCreateImageMaskByRGB
- MCreateImagePButton
- MCreateImagePButtonExt
- MCreateImageRButton
- MCreateImageRButtonExt
- MCreateImageTButton
- MCreateImageTButtonExt
- MCreateImageTextPButton
- MCreateImageTextPButtonExt
- MCreateImageTextRButton
- MCreateImageTextRButtonExt
- MCreateImageTextTButton
- MCreateImageTextTButtonExt
- MCreateLabel
- MCreateMenu
- MCreateMenuBar
- MCreateOptionEdit
- MCreatePagedColForm
- MCreatePagedColFormExt
- MCreatePagedPosForm
- MCreatePagedPosFormExt
- MCreatePagedRowForm
- MCreatePagedRowFormExt
- MCreatePButton
- MCreatePixmapFromData
- MCreatePixmapFromFile
- MCreatePopupMenu
- MCreatePosForm
- MCreateRButton
- MCreateRowForm
- MCreateScrollBar
- MCreateScrolledColForm
- MCreateScrolledMLEdit
- MCreateScrolledPosForm
- MCreateScrolledRowForm
- MCreateScrolledTableForm
- MCreateSFile
- MCreateShell
- MCreateSList
- MCreateSListClip
- MCreateSListMultiSel
- MCreateSListSkip
- MCreateSpinEdit
- MCreateStatusBar
- MCreateSText
- MCreateSTextClip
- MCreateSubMenu
- MCreateTabbedColForm
- MCreateTabbedPosForm
- MCreateTabbedRowForm
- MCreateTableForm
- MCreateTButton
- MDeleteObject
- MDestroyMenu
- MDispatchObjEvent
- MDrawArc
- MDrawAreaSetExposeCallback
- MDrawAreaSetInputCallback
- MDrawAreaSetResizeCallback
- MDrawBGNText
- MDrawBGText
- MDrawBox
- MDrawCircle
- MDrawFilledArc
- MDrawFilledBox
- MDrawFilledCircle
- MDrawFilledPolyline
- MDrawImage
- MDrawLine
- MDrawnButtonChangeArmedImage
- MDrawnButtonChangeArmedOnImage
- MDrawnButtonChangeNormalImage
- MDrawnButtonChangeNormalOnImage
- MDrawnButtonChangeUnsensitiveImage
- MDrawnButtonChangeUnsensitiveOnImage
- MDrawNText
- MDrawPoint
- MDrawPolyline
- MDrawShadowedNText
- MDrawShadowedText
- MDrawText
- MDrawXorBox
- MDrawXorLine
- MEditChangeText
- MEditFindSubStringBackward
- MEditFindSubStringForward
- MEditGetCursorPos
- MEditGetCursorXY
- MEditGetFilter
- MEditGetSelection
- MEditGetSubString
- MEditHide
- MEditListAddItem
- MEditListAddItemFromEdits
- MEditListChangeElement
- MEditListDelElement
- MEditListGetEditText
- MEditListGetItemField
- MEditListSeekItem
- MEditListSetEditText
- MEditSetActCallback
- MEditSetAutoIndent
- MEditSetClipWindow
- MEditSetCursorPos
- MEditSetCursorPosCallback
- MEditSetCursorXY
- MEditSetFilter
- MEditSetHotKeyCallback
- MEditSetMargin
- MEditSetNewValueCallback
- MEditSetNotValidatedColors
- MEditSetReplace
- MEditSetSelection
- MEditSetTabSize
- MEditSetTextExt
- MEditSetValCallback
- MEditSetValidatedColors
- MEditSetValidationStatus
- MEditSetValueChangeCallback
- MEditUnhide
- MEditValue
- MEnableCustomizing
This function enables the run-time resource changing dialog
- MFileSelection
Displays a modal prompt window for a file name selection
- MFormAddKeyCallback
- MFormFocusLink
- MFormGetClipX
- MFormGetClipY
- MFormGetFirstChild
- MFormGetNChildren
- MFormGetNextChild
- MFormSetChildSelectCallback
- MFormSetClipX
- MFormSetClipY
- MFormSetFocusHighlight
- MFormSetFocusWrap
- MFormSetPrefAtt
- MFormSetSpacing
- MFreeCell frees a read-write color
- MFreeColor frees a shared color
- MFreeImage Frees all resources used by the image, making image 'img' no longer usuable.
- MGetBGColorOption
Retrieves a Background Color option from the resource database
- MGetCurrentDirectory
Returns the program's current directory
- MGetDefaultBackgroundRGB
Retrieves the R-G-B components of the default background color
- MGetDefaultForegroundRGB
Retrieves the R-G-B components of the default foreground color
- MGetFGColorOption
Retrieves a Foreground Color option from the resource database
- MGetFileSelectionRGB
Retrieves the R-G-B components of the background color used in the FileSelection dialog
- MGetFirstFontFamily
- MGetFontOption
Retrieves a Font option from the resource database
- MGetInputPromptRGB
Retrieves the R-G-B components of the background color used in the InputPrompt dialog
- MGetIntOption
Retrieves an integer option from the resource database
- MGetKeyboardState
Returns the status of the keyboard modifier keys (Alt, Control, Shift)
- MGetMessageDialogRGB
Retrieves the R-G-B components of the background color used in the Message dialog
- MGetNColors
Returns the number of colors in the display
- MGetNextFontFamily
- MGetNPlanes
Returns the number of color planes in the display
- MGetScreenHeight
Returns the screen height in pixel units
- MGetScreenWidth
Returns the screen width in pixel units
- MGetSelectedObject
- MGetShadowOption
Retrieves a Shadow option from the resource database
- MGetStringOption
Retrieves a generic string option from the resource database
- MGetSysDir
Returns a pointer to the MGUISYS directory
- MGetTextOption
Retrieves a text option from the resource database
- MGUIMain
The program's starting point
- MGUITerm
Prepares the program for temination, freeing allocated resources
- MImageClone
- MImageComputeBackgroundRGB
- MImageGetCMapEntry
- MImageGetInfo
- MImageGetPixelIndex
- MImageGetPixelRGB
- MImageMerge
- MImageSetCMapEntry
- MImageSetMask
- MImageSetPixelIndex
- MImageSetPixelRGB
- MInputPrompt
Displays a modal prompt window for a single line text input
- MInsertObject
- MInstallImage
Prepares the image object for drawing
- MIsEditValidated
- MLabelSetAlignment
- MLabelSetHSpacing
- MLabelSetMargin
- MLabelValue
- MLeftAttach
- MLoadFont
- MLog
Prints a formatted log string in the log window (and the log file if enabled)
- MLogGetMask
Retrieves the current log mask containing enabled log contexts
- MLogInit
Sets the log level, log window geometry and log filename
- MLogResetMaskBits
Clears bits in the current log mask disabling some log contexts
- MLogSetLevel
Sets the current log-level
- MLogSetMask
Sets the current log mask
- MLogSetMaskBits
Adds bits to the current log mask enabling more log contexts
- MLoopWhileEvents
Processes all pending events and then returns
- MLoopWhileFlag
Transfers control temporarily to a MGUI event loop handler
- MMainLoop
Transfers control to the main MGUI event loop handler
- MMaskedLog
Prints a formatted log string in the log window using the context mask
- MMenuAddItem
- MMenuAddItemObsolete
- MMenuAddRadioItem
- MMenuAddSeparator
- MMenuAddToggleItem
- MMenuBarSetAcc
- MMenuGetTitleText
- MMenuItemGetCheckStatus
- MMenuItemGetMenu
- MMenuItemGetText
- MMenuItemSetAccel
- MMenuItemSetCheckStatus
- MMenuItemSetSelectCB
- MMenuItemSetSensitive
- MMenuItemSetText
- MMenuItemSetUnsensitive
- MMenuItemToggleCheckStatus
- MMenuSetTitleText
- MMessageDialog
Displays a modal message window
- MNextEvent
Retrieves next available MGUI event waiting for it if desired
- MObjectAddDestroyCallback
- MObjectAddEventNotifyCallback
- MObjectAlign
- MObjectBackgroundColor
- MObjectChangeLabelHelpText
- MObjectChangePopupHelpText
- MObjectDestroy
- MObjectEnableOptions
- MObjectForegroundColor
- MObjectGetBackgroundImage
- MObjectGetCompositeHeight
- MObjectGetCompositeWidth
- MObjectGetEnabledOptions
- MObjectGetFont
- MObjectGetHeight
- MObjectGetHScrollBar
- MObjectGetName
- MObjectGetSensitivity
- MObjectGetShadow
- MObjectGetText
- MObjectGetTransparency
- MObjectGetUserData
- MObjectGetVScrollBar
- MObjectGetWidth
- MObjectGetX
- MObjectGetY
- MObjectMap
- MObjectParent
- MObjectRedraw
- MObjectRemoveDestroyCallback
- MObjectRemoveEventNotifyCallback
- MObjectResize
- MObjectSaveOptions
- MObjectSetAttachment
- MObjectSetBackgroundImage
- MObjectSetBackgroundImageFile
- MObjectSetBackgroundRGB
- MObjectSetColor
- MObjectSetColorFromBackgroundImage
- MObjectSetCompositeHeight
- MObjectSetCompositeSize
- MObjectSetCompositeWidth
- MObjectSetCursor
- MObjectSetFont
- MObjectSetForegroundRGB
- MObjectSetHeight
- MObjectSetLabelHelp
- MObjectSetName
- MObjectSetOffset
- MObjectSetPopupHelp
- MObjectSetPosition
- MObjectSetResize
- MObjectSetSelectable
- MObjectSetSensitive
- MObjectSetSensitivity
- MObjectSetShadow
- MObjectSetSize
- MObjectSetText
- MObjectSetTransparency
- MObjectSetUnselectable
- MObjectSetUnsensitive
- MObjectSetUserData
- MObjectSetWidth
- MObjectSetX
- MObjectSetY
- MObjectShell
- MObjectType
- MObjectUnmap
- MOpenPrintDoc
- MOptionEditGetList
- MPagedFormSetActivePage
- MPaletteMode
This function returns True if the calling program runs in 16 or 256 colors
video mode
- MPButtonSetAccelerator
- MPButtonSetAlignment
- MPButtonSetCallback
- MPButtonSetHSpacing
- MPButtonSetImage
- MPButtonSetMargin
- MPButtonSetRepeatDelay
- MPixmapGetImage
- MPixmapSetImage
- MPixmapSetImageFile
- MPopupMenu
- MPrintDocNextPage
- MPrintImage
- MPrintObject
- MPrintSetup
- MProcessEvent
Processes a MGUI event retrieved by nextEvent()
- MQueryColor returns the color's R-G-B components.
- MRButtonActivate
- MRButtonDeactivate
- MRButtonGetActivationStatus
- MRButtonSetCallback
- MRButtonSetImage
- MReadBMPFile
Creates a MIMAGE object from a Windows BMP file
- MReadGIFFile
- MReadJPEGFile
- MReadTIFFFile
- MRefreshTimeout
- MRemoveTimeout
- MReparentObject
- MRightAttach
- MSaveOptions
Saves in the application's resource file all defined options
- MSBLGetHead
- MSBLHeadSetBackgroundImage
- MSBLHeadSetColor
- MSBLSetHead
- MSBLSetHMargin
- MScrollBarGetMax
- MScrollBarGetN
- MScrollBarGetPos
- MScrollBarSetIncr
- MScrollBarSetMax
- MScrollBarSetN
- MScrollBarSetPos
- MScrollBarSetPosCallback
- MScrollBarSetValues
- MScrolledFormSetIncr
- MSelectFirstChild
- MSelectLastChild
- MSelectNextBrother
- MSelectNextCousin
- MSelectObject
- MSelectPreviousBrother
- MSelectPreviousCousin
- MSetBGColorOption
Stores a Background Color option in the resource database
- MSetCellColor changes the R-G-B components of the color cell using the parameters (r,g,b)
- MSetDefaultBackgroundRGB
Sets the R-G-B components of the default background color
- MSetDefaultForegroundRGB
Sets the R-G-B components of the default foreground color
- MSetFGColorOption
Stores a Foreground Color option in the resource database
- MSetFileSelectionRGB
Sets the R-G-B components of the background color of the FileSelection dialog
- MSetFileSelectionTextStrings
Changes the text displayed in the labels and buttons in the FileSelection dialog
- MSetFontOption
Stores a Font option in the resource database
- MSetInputPromptRGB
Sets the R-G-B components of the background color of the InputPrompt dialog
- MSetIntOption
Stores an integer option in the resource database
- MSetMessageDialogRGB
Sets the R-G-B components of the background color of the Message dialog
- MSetShadowOption
Stores a Shadow option in the resource database
- MSetStringOption
Stores a generic string option in the resource database
- MSetTextOption
Stores a text option in the resource database
- MSetTraceFileName
Sets the name of the file which to write low level tracing messages
- MSFileSetFile
- MShellConfigure
- MShellDestroy
- MShellGetTitle
- MShellGetWindow
- MShellRaise
- MShellRealize
- MShellRealizeXY
- MShellRealizeXYWH
- MShellSetTitle
- MShellSetWMCloseCallback
- MShellUnrealize
- MSListAddElement
- MSListAddItem
- MSListChangeElement
- MSListChangeItem
- MSListClear
- MSListDelElement
- MSListDelItem
- MSListDeselectElement
- MSListDeselectItem
- MSListEnableMultiSel
- MSListFreeze
- MSListGetElement
- MSListGetFirstItem
- MSListGetFirstSelectedItem
- MSListGetFirstUnselectedItem
- MSListGetItem
- MSListGetItemCheckStatus
- MSListGetNextItem
- MSListGetNextSelectedItem
- MSListGetNextUnselectedItem
- MSListGetNItem
- MSListGetSelected
- MSListReset
- MSListSelectElement
- MSListSelectItem
- MSListSetCallback
- MSListSetItemCheckStatus
- MSListSetPickCallback
- MSListSetSelectionCallback
- MSListSetSortCallback
- MSListThaw
- MSpinEditSetSpinRange
- MSpoolFile
Prints an ascii text file in the system printer
- MSpoolTempFile
Prints a temporary ascii text file in the system printer
- MStatusBarSetMax
- MStatusBarSetPos
- MStatusBarSetWidth
- MSTextSetString
- MTableFormDeleteDataRows
- MTableFormDeleteRow
- MTableFormGetCellObject
- MTableFormGetCellText
- MTableFormGetNCol
- MTableFormHideGrid
- MTableFormSetCellAlign
- MTableFormSetCellBackgroundRGB
- MTableFormSetCellFont
- MTableFormSetCellForegroundRGB
- MTableFormSetCellText
- MTableFormSetColAlign
- MTableFormSetColBackgroundRGB
- MTableFormSetColFont
- MTableFormSetColForegroundRGB
- MTableFormSetColWidth
- MTableFormSetNCol
- MTableFormSetRowAlign
- MTableFormSetRowHeight
- MTableFormShowGrid
- MTButtonActivate
- MTButtonDeactivate
- MTButtonGetActivationStatus
- MTButtonSetActivationStatus
- MTButtonSetCallback
- MTButtonSetImage
- MTextCharX
Returns the x position (in pixels) of the character at a given position in
a string array
- MTextHeight
Returns the height of the string 'text' using the font 'font'
- MTextNWidth
Returns the width of the first 'n' characters in the string 'text' using the font 'font'
- MTextPrompt
Displays a modal prompt window for a multi line text input
- MTextWidth
Returns the width of the null terminated string 'text' using the font 'font'
- MTopAttach
- MUninstallImage
- MUnloadFont
- MWhiteColor
Returns the color id of the white color
- MWriteBMPFile
- MWriteJPEGFile
- MWriteTIFFFile
- Trace
Prints a low level tracing message to the trace file
Macros
Enums, Unions, Structs
- _Window
Window structure for DOS and Linux/console environments
- DRAWAREA_PREF
DrawArea Object's resize preferences (for use in the resize callback)
- EDIT_CHANGE
Value Change structure for the Edit Object
- EDIT_CURS
Cursor Position structure for the Edit Object
- EDIT_VAL
Validation structure for the EditField Object
- EL_TEMPLATE
Template structure for the EditList Object's creation
- IMAGE_CMAP
This structure describes the colormap entry
- LIST_ACT
List Item Activation structure
- LIST_SEL
List Item Selection structure
- MAnyWindowEvent
Generic window event
- MEvent MEvent union
- MExposeEvent Expose Event
- MFONT
Font structure for DOS BGI and Watcom environments
- MIMAGE_DESCR
Image description structure
- MKeyEvent
Keyboard event
- MMouseEvent Generic Mouse Event
- MPOINT
Point structure
- MRECT
Rectangle structure
- RLIST
Rectangle list
- SBL_ITEM_SEEK
This structure is used by the ItemSeek callback for 'Clip' and 'Skip' lists
- SBL_NEW_BLOCK
This structure is passed to the NewBlock callback by the 'Clip' and
'Skip' List Objects
- XL_ITEM
List Item structure
hierarchy of classes
MGUI
Copyright 1996-2000 Vincenzo Morello
generated by doc++