Object library ObjcDraw() ObjcEdit()
Programming guideline of WinDom

ObjcChange()

NAME

ObjcChange() - change the object state.

PROTOTYPAGE

int ObjcChange( int mode, void *win, int index, int state, int redraw);

PARAMETERS

mode:

OC_FORM:
if the formular is a window,

OC_TOOLBAR:
if the formular is a toolbar,

OC_OBJC:
if is a classic formular,

win:
a window descriptor or an object tree (OC_OBJC),

index:
object index to draw,

state:
new object state,

redraw:
if different to zero, the object is redrawn,

return:
a negative code error.

DESCRIPTION

This function replace the AES objc_change() function mainfully to change the object state in window formular or toolbar. If you use ObjcChange() with the NORMAL value, the extended bits of the objet state (known as extended states) will be not affected. Negative states (e.g.  SELECTED) have effect to unset the state. See ObjcDraw() for recommandation usage.

SEE ALSO

ObjcDraw().