473,466 Members | 1,372 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Images in toolbar disappeared

in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that
of image. It does not work. What is wrong? Thanks for
help.

Hugh
Nov 20 '05 #1
4 994
* "Hugh" <an*******@discussions.microsoft.com> scripsit:
in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that
of image. It does not work. What is wrong? Thanks for
help.


Are you using Windows XP Visual Styles? Then call
'Application.DoEvents' directly after calling
'Application.EnableVisualStyles'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #2
You are great helper, Herfried. No, I am not except my
Window is XP.

Hugh
-----Original Message-----
* "Hugh" <an*******@discussions.microsoft.com> scripsit:
in debug mode once the size was changed. I tried to
change buttom size and image size in different values
(both in the same value or button size is larger than that of image. It does not work. What is wrong? Thanks for
help.


Are you using Windows XP Visual Styles? Then call
'Application.DoEvents' directly after calling
'Application.EnableVisualStyles'.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #3
* <an*******@discussions.microsoft.com> scripsit:
You are great helper, Herfried. No, I am not except my
Window is XP.


Mhm... Does re-adding the images to the ImageList work? I know, that's
not an easy solution.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4
Hi Herfried,

No, it does not work if I add new images to the toolbar.
The same problem happened for another project, I tried
many many combinations and finally it worked and the
reason that I still do not understand. If I start a new
project and use default values of image size and button
size, everything is fine. But once I changed button size
(for larger size and off cause larger image size), then
images were disappeared in debugging mode.

Thanks again for help.

Hugh
-----Original Message-----
* <an*******@discussions.microsoft.com> scripsit:
You are great helper, Herfried. No, I am not except my
Window is XP.
Mhm... Does re-adding the images to the ImageList work?

I know, that'snot an easy solution.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
.

Nov 20 '05 #5

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

Similar topics

0
by: Larry | last post by:
I have a problem where all of my Toolbar Tabs have disappeared in VS2003. I have reloaded VS and I still have no Toolbar Tabs. Does anyone know how to get the standard Toolbar Tabs back? I...
9
by: Dino M. Buljubasic | last post by:
I have a tool bar and an image list that holds all icon images that are shown on the tool bar. However, I have noticed several times that when I add the images to the buttons on toolbar, they get...
4
by: al | last post by:
Greetings, I have this problem with any image, in any format, I include in ToolBar Control. Those images are in-house developed. The problem is when I include an image in a ToolBar and have its...
0
by: Hugh | last post by:
Hi there, Only thing changed is "Buttonsize" of the ToolBar", however, the images in the ToolBar disappeared. What else do I need to do to change buttonsize? Thanks very much for your tip. ...
3
by: GarrettD78 | last post by:
I have a toolbar with an imagelist to build images. The toolbar uses indexes to point to the icon in the image list. At design time I can see the images just fine, but at runtime the images aren't...
1
by: bkasmai | last post by:
An access 2000 database is used by a number of users on a windows xp professional machine. Users logon to the machine using their own individual windows login name and password. The database is...
5
matheussousuke
by: matheussousuke | last post by:
Hello, I'm using tiny MCE plugin on my oscommerce and it is inserting my website URL when I use insert image function in the emails. The goal is: Make it send the email with the URL...
10
by: rmurgia | last post by:
We have set up a function as listed below to display a custom toolbar used to export data from the report. The function is called from the open event of each report: Function CBShowPrint() ...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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: 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.