Extended types for objects Programming with extended objects Programming thumb indexes
Programming guideline of WinDom

Extended types and ressource editor

In the ressource editor, you can set the extended type of an object. The following table lists all extended provided by WinDom.

Avalaible extended type

~ means the state/value is forbidden
[] means an optional state/value
STATEn means the n bit of the ob_state field
DRAW3D is an alias of STATE7 (used by Interface)

Note : the first bit has a 0 index.

Extended types provided by WinDom
Nom Description ob_type type ob_flag ob_state Shortcut
XTEDINFO Long boxed text G_(BOX)TEXT 11 No
XBOXLONGTEXT Long boxed text G_(BOX)TEXT 12 No
XCICON Color icons G_CICON 13 [STATE8] No
XEDIT Editable field G_(F)TEXT 14 EDITABLE [DRAW3D] No
MENUTITLE Menu item G_STRING 15 No
MENUTITLE Menu title G_TITLE 15 No
ONGLET Thumb index G_BUTTON 16 RBUTTON [DRAW3D] Yes
button or G_STRING [STATE8]
[STATE15]
ONGLET Thumb index G_BUTTON 16 ~ RBUTTON [DRAW3D] Yes
background or G_STRING
DIALMOVER Background form G_BOX 17 [DRAW3D] No
[OUTLINE]
DCRBUTTON Radio button G_BUTTON 18 RBUTTON [DRAW3D] Yes
or G_STRING [STATE8]
DCRBUTTON Checked button G_BUTTON 18  RBUTTON [DRAW3D] Yes
or G_STRING  EXIT [STATE8]
DCRBUTTON Exit button G_BUTTON 18 EXIT [DRAW3D] Yes
or G_STRING  RBUTTON
[DEFAULT]
CIRCLEBUT Cycle button G_BUTTON 22 [DRAW3D] No
or G_STRING
UNDERLINE Underlined texte G_BUTTON 19 [DRAW3D] Yes
or G_STRING
TITLEBOX Frame with title G_BUTTON 20 [DRAW3D] No
HELPBUT Help button G_BUTTON 21 No
Text with G_BUTTON 24 [DISABLED] Yes
KPOPUPSTRG keyboard shortcut or G_STRING
SLIDEPART Box Char G_BOXCHAR 25 [DRAW3D] No
UNDOHELP Undo button G_BUTTON 31 No
- Undo object - - FLAG11 No
- Relief button - - [DRAW3D] No
USERDRAW Userdraw object - 255 No

SLIDEPART is an object used to create boxchar (specially for scrolling objects) having the same apparence under TOS, Naes or MagiC.

Windom specific objects

Mydial objects unsupported

The following objects are currently ignored by WinDom :

POPUPSTRG (23)
LONGINPUT (26)

and the bit 15 of ob_flags for editable object (multiple line editable field).

Usual extended states

Follow, the signification of the ob_state bits unused by AES but used by WinDom.

Keyboard shortcuts

Some objects can display a keybord shortcut (see table ...). A keyboard shortcut is a underlined letter inside the text. It means that the object can be selected by typing the key combinaison [Alternate + letter]. To make appear this shortcut, just add a '[' character behing the letter. For example:

[Cancel -> Cancel -> alt+c.