Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2005

Tip: Looking for answers? Try searching our database.

Problem with CToolBar and Manifest

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lea Hayes - 18 Oct 2005 08:02 GMT
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
Lea Hayes - 19 Oct 2005 21:49 GMT
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.

> Hi,
>
[quoted text clipped - 17 lines]
>
> Lea Hayes

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.