Returning a pointer to a window’s first menu

first_menu()

Return a pointer to a window’s first menu


SYNTAX

first_menu(window_id)

Returns a pointer to the first menu defined in a window, or NULL if the window has no menus.


EXAMPLE

!temp menuptr,,p

     menuptr = &first_menu(WinSales)

RELATED TOPICS

Menus

first_child()

first_control()

next_object()

sys.FirstWindow