Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File8.11.9 form_wbutton TOS Name: »Form window button« - Simulate the clicking on an object in a window. Opcode: 63 Syntax: int16_t form_wbutton ( OBJECT *fo_btree, int16_t fo_bobject, int16_t fo_bclicks, int16_t *fo_bnxtobj, int16_t whandle ); Description: The call form_wbutton simulates the clicking on an object in a window. The following apply: Parameter Meaning fo_btree Address of the object tree fo_bobject Object to be processed fo_bclicks Number of mouse clicks fo_bnxtobj New current object, or 0 if the next object has the status HIDDEN or DISABLED, or is not editable whandle Window ID Note: With a double-click on a TOUCHEXIT objec, bit 15 will be set in the parameter fo_bnxtobj. The function corresponds essentially to form_button, with the difference that the rectangle list of a window is taken into account. Return value: The function returns 0 if an EXIT object was selected, else a positive value. Availability: As of MagiC Version 5.10 Group: Form library See Also: Binding OBJECT evnt_multi form_keybd