Re: [Win21Lib] is list open? (duh, [Win32Lib] !)
- Posted by Dan Moyer <danielmoyer at prodigy?n?t> May 13, 2008
- 693 views
CChris wrote: > > Dan Moyer wrote: > > > > > > Whoops, of course I meant Win32Lib, fingers just went too far. > > > > Dan > > Not directly, but... > }}} <eucode> > integer list_dropped list_dropped=0 > procedure monitor_list_state(integer id,integer event,sequence s) > if event=w32HDropDown then > list_dropped=1 > else > list_dropped=0 > end if > end procdeure > > setHandler(the_list_id,{w32HDropDown,w32HCloseUp},routine_id("monitor_list_state")) > </eucode> {{{ > > To all users: is an isDropped(id) routine useful? It would apply to > menus,lists, > combos and ComboBoxEx. Returns 1 if id is showing items, else 0. > > CChris > CChris CChris, Looks good! Thanks! Dan