Re: Win32 problems

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

Davi Figueiredo wrote:

> I believe the error in my program is because I am creating
> the menus immediately after creating the window.

I suspect the problem has to do with the bug fix I posted the other day.
Could you make the correction to create() and see if that takes care of it?

> Changing the subject a little, I use setEnable to enable/disable
> a menu item. I found a very strange thing (at least for me) ...

setEnable expects a truth value (0 or non-zero), not MF_ENABLED or
MF_DISABLED.

Hope this helps!

-- David Cuny

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

Search



Quick Links

User menu

Not signed in.

Misc Menu