Re: [Win32Lib] monitor_list_state procedure not fire?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Dan Moyer wrote:
> 
> CChris wrote:
> > 
> > Dan Moyer wrote:
> > > 
> > > 
> > > Whoops, of course I meant Win32Lib, fingers just went too far.
> > > 
> > > Dan
> > 
> > Not directly, but...
> > 
> > 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"))
> > 
> > 
> > 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,
> 
> I tried your routine, but it won't fire at all for me on open/close a list.
> 
> I'm using Eu2.5 and Win32Lib .60-6; maybe I have to have it look at
> any list event & test inside for w32HDropDown,w32HCloseUp? Maybe they're
> not in .60-6?  
> 
> Dan

Hmph. Works for ComboBox[Ex], but not for dropdown lists. I'll check what I can
do about it.

CChis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu