Intel® Fortran Compiler 16.0 User and Reference Guide
QuickWin Function: Changes a menu item's callback routine.
USE IFQWIN
result = MODIFYMENUROUTINEQQ (menuIdD,itemID,routine)
menuID |
(Input) INTEGER(4). Identifies the menu that contains the item whose callback routine is be changed, starting with 1 as the leftmost menu. |
itemID |
(Input) INTEGER(4). Identifies the menu item whose callback routine is to be changed, starting with 0 as the top item. |
routine |
(Input) EXTERNAL. Callback subroutine called if the menu item is selected. All routines take a single LOGICAL parameter that indicates whether the menu item is checked or not. You can assign the following predefined routines to menus:
|
The result type is LOGICAL(4). The result is .TRUE. if successful; otherwise, .FALSE..