Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Dynamic Update of CExtButton Menus Collapse All
Subject Author Date
Parris Hughes Jun 3, 2007 - 1:18 AM

It appears the g_nMsgPrepareMenu type notifiactions are not sent for those menu’s associated with a CExtButton control. Am I missing something? I know I can subclass, but I tend to get carried away with that ;-)

Thanks... Love the library


Parris Hughes Jun 4, 2007 - 5:13 PM

Thanks much for your help;

I did catch this, but hadn’t had the time to call your efforts off. I’ve modified my base dialog class to forward the message to the MainFrame, so as to keep everything centralized.

Let me take a moment to complement you on your library; I’ve learned an immense about GDI just by review your source code. I am a millimeter away from buying a license, even though my efforts are purely of a personal interest nature and I stand to make no profit.

None the less, I think you guys can expect to see a check from me in the near future.

Again, Kudos, and Thanks much...

Parris R. Hughes
Digital Insight
An Intuit Compant

Technical Support Jun 5, 2007 - 11:51 AM

Thank you for your interest in Prof-UIS. We just would like to add a cople of words regarding using GDI in Prof-UIS. Starting from version 2.53 Prof-UIS features the completely renewed CExtCmdIcon class. The HICON handles are not more used in it anymore, which completely solves the potential problem of a limited number of GDI objects on Windows OSes. This is especially important for enterprise-class applications with a large number of user interface objects. The new icon is based on a PNG-like bitmap with alpha channel and features the Windows Vista/XP icon quality with full transparency support on any Windows OS starting from 95 and NT4 (as you know no AlphaBlend() API is available in these old OSes). The icons can be used everywhere in menus and toolbars.

Technical Support Jun 3, 2007 - 10:37 AM

The popup menu displayed from a CExtButton window sends its notifications to the parent window of the button. So please make sure that you are catching menu notifications in this parent window