Re: Me wants pretty (popup) menus...

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

> > Also the PicMenuTst.exw program runs on my machine. However, it
> > did highlight a 'bug' in the win32lib library. Don, instead of using
> > w32Func(xGetSysColor,...) directly, can you please use the getSysColor() 
> > function instead? I've incorrectly changed the normal values of COLOR_...
> > forgetting that they were global constants. I'll correct them tomorrow.
> > But getSysColor() will work as expected.
> > 
> > Also, your demo is crashing when the PicMenu controls are being destroyed.
> > The API function DeleteMenu is returning a zero.

Ok I corrected some code and it now runs on my machine as well.

1> Drawing issues have been resolved
2> Destroy menu error has a work around in place

I dont know why (ATM), but placing hooks into a Menu is creating the error
on exit.  The work around (for now) is not hooking Menus.  The library still
works for MenuItems.

I dont think this will effect anyone as it has not been drawing correctly
for awile now so obviously no one was using it else I would have heard
complaints about it =)

If anyone knows why hooking a Menu would cause a problem let me know and I
will see if I can correct my code to work with them also.  It should post
for download sometime this morning...


Don Phillips - aka Graebel
     National Instruments
     mailto: eunexus @ yahoo.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu