Problem with CToolBar and Manifest

G

Guest

Hi,

I have noticed problems with the CToolBar class when using a manifest file
in VC++ 2003. To test my theory I created an empty MFC MDI project with the
manifest file so I get the WinXP style controls. When running the project I
found the following, after-which, single-clicks on buttons cause the button
to stay down and attempting to move the toolbar causes an exception error:

Hold Ctrl+Alt keys down.
Right-click on an enabled toolbar button and hold.
Left-click and hold on same button, release right mouse button.
Presto, problem found.

If the manifest file is removed from the project the WinXP styles are
obviously unused, but there are no problems of this nature. This is surely a
bug within the new common controls; or I am doing somthing wrong? Please bare
in mind that I am using the standard "MFC Application" app wizard.

Does anybody know a way around this?

Lea Hayes
 
G

Guest

Hi again,

Through further testing I found that the Ctrl+Alt has nothing to do with the
problem. Simply right-clicking (and holding) then left-clicking (and holding)
followed by releasing the right button and then left button causes the
problem. Then single left clicks force buttons to stay down.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top