joji
asked on
Using Common Controls in ATL
I've got a problem activating Statusbar in a dialogbox using ATL. I created the Statusbar control using CStatusBarCtrl, and i set the test pane with some message. But since c doesn't display statusbar by default, i have to call ON_UPDATE_COMMAND_UI macro. But since i'm unable to use this macro in an ATL, the status bar doesn't display. If anyone knows how to display a status bar in an ATL, would be helpful to me.
your ATL has a UI?
If you are building ATL component, while creating the workspace you can check the checkbox 'support MFC' which may allow you to use this macro directly.
By checking this box the wizard adds some header files and macros required to use mfc in ATL. You can find out these addition by creating dummy ATL workspace & add the same to your current workspace.
Hope this works.
By checking this box the wizard adds some header files and macros required to use mfc in ATL. You can find out these addition by creating dummy ATL workspace & add the same to your current workspace.
Hope this works.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.