PopUpMenu

PopUpGetFirst

Find the first selectable item

Syntax

Signature
int         PopUpGetFirst( const PopUpMenu *popUp );

Return value

The one-based position of the first selectable item, or 0 if there is none or the object is NULL.

Description

The search skips disabled items and separators. Call `PopUpSelect()` to make the returned position current.

See also