473,473 Members | 2,008 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem with CToolBar and Manifest

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

Nov 17 '05 #1
1 1170
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.

"Lea Hayes" wrote:
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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: webster | last post by:
ok im having a go at creating a jar file. i am using cmd to do it. In the folder that all my class and stuff is in i used the command "jar cf Jrum.jar DrumMachine.class play.gif stop.gif hithat.wav...
9
by: Eric | last post by:
Problem: -------- I'm trying to create an executable jar file. I can do so as long as I don't use the "package" statement in my source code. Once I put the package statement in I can't execute...
0
by: hawat.thufir | last post by:
an ant build.xml file: <project name="XHTML" default="package2"> <import file="properties.xml" /> <target name="clean"> <delete dir="${outputDir}" /> </target>
1
by: Mateusz [PEYN] Adamus | last post by:
Hi everyone Lately I implemented Updater Block v.2.0 into my app but today I found out that it's not working on Win98. I searched the web and found the HttpDownloader made by Kent Boogaart. I...
0
by: mb | last post by:
Hi I am working on a small helper tool to our main application. The tool uses SQLDMO to connect to the SQL Server 2000 database and allows us to cofigure the users who are allowed to use our...
0
by: Bill Nguyen | last post by:
I have a VS app published on our Intranet using OneClick publishing. I can't run it on a Vista client PC. Please take a look at the error message below and let me know what I need to do to make...
1
by: rag84dec | last post by:
Hi, I am trying to use the toolbar resource...IDR_TOOLBAR1.... Here I have declared CToolBar cToolBar; in my Dialog class "class CExoDialog : public CDialog" In OnInitDialog Function....I have...
0
by: stormogulen | last post by:
Hello all, I'm having some problems understanding how the runtime locates assemblies, and I hope you can help me shed some light on it. I'm deploying a web service, which uses some 3rd party...
1
by: hdbbdh | last post by:
Hi everyone, when I try to publish my project, I have this error: Cannot continue. The application is improperly formatted. Contact the application vendor for assistance. and when I press...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.