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

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

> Ummmmm...eventLoop() is a private (not global) procedure (not function)
> inside win32lib and has been so for a very long time. The recent
> release of the library did not break this.
> 
> 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.
> 
> -- 
> Derek Parnell
> Melbourne, Australia

Thanks for the heads up Derek,

Changing to getSysColor fixed the drawing issues I noticed awile back.
I was never able to trace the problem down.  I always thought something
funny was up in my drawing routines.

I still have no resolution for the DeleteMenu issue.  It also crashes on
my system, but I do not handle (in my routines) anything regarding the
removal of menus.  I only do processing on the drawing side of things.
I tried a couple of work arounds, but they dont seem to do anything.  Any
clues on what might be causing this?  As soon as this is ironed out I
will post up the fixes...


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