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.15.3 menu_click TOS Name: »Menu click« - »Menu click« - Set or inquire type of menu control. Opcode: 37 Syntax: int16_t menu_click ( int16_t click, int16_t setit ); Description: With the aid of the menu_click function it is possible to change the operation of dropdown menus to that of pulldown menus, familiar from the Macintosh. The following apply: Parameter Meaning click 0 = Dropdown 1 = Pulldown setit 0 = Inquire menu control 1 = Set menu control Return value: The function returns the type of menu control set (0 = Dropdown, 1 = Pulldown). Availability: On the PC this function is available only from GEM/3, KAOS 1.4.2 and MagiC; on the Atari the presence should be checked for with appl_getinfo (opcode 5). Group: Menu library See Also: Binding