Date: Thu, 16 Mar 95 14:04:15 EST From: krh@euler.jhuapl.edu (Kevin R. Holloway) To: oi-users@freefall.cdrom.com, perry@pure.com Subject: Re: Getting the selection in an OI_abbr_menu Message-ID: <9503161904.AA09809@euler.jhuapl.edu.jhuapl.edu>
next in thread | raw e-mail | index | archive | help
Perry, > I'm having a bit of trouble finding out which is the selected cell in an > OI_abbr_menu. None of the members which relate to the currently selected > cell will admit to anything being selected. > > For example, the following code fragment always prints "num_selected -1" > although the menu obviously has a currently selected item: > > else if ( obj->is_derived_from( "OI_abbr_menu" ) ) > { > printf("\nSetOptionsFromFields: num_selected %d\n", > ((OI_menu *)obj)->num_selected() ); > }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9503161904.AA09809>