Programming Guide



sm_popup_at_cur

Invokes the current widget's popup menu

int sm_popup_at_cur(void);

Returns

Description

sm_popup_at_cur invokes the popup menu installed for the field or screen, depending on which one has focus. This function lets users access popup menus via the keyboard. For example, the following control string assignment lets a user invoke a popup menu by pressing the PF1 key:

PF1 = ^sm_popup_at_cur

sm_popup_at_cur uses one of the following two algorithms for finding and displaying a popup menu:

See Also

sm_menu_install