I use application.enablevisualstyles() and develop using visual studio 1.1.
I know that changing flatstyle for certain controls will give me xp styles
on those controls. However, I don't know how to get the xp look and feel
for toolbar buttons. Mine highlight as I pass over them, but they are not
3d and do not change shades, as do for example the buttons on the toolbar of
outlook express. How can I do this?
Thanks for any help.
Bernie Yaeger 5 2187
Hi,
I think this is what you are looking for.
ToolBar1.Appearance = ToolBarAppearance.Flat
Ken
-------------------
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:eb*************@TK2MSFTNGP11.phx.gbl... I use application.enablevisualstyles() and develop using visual studio
1.1. I know that changing flatstyle for certain controls will give me xp styles on those controls. However, I don't know how to get the xp look and feel for toolbar buttons. Mine highlight as I pass over them, but they are not 3d and do not change shades, as do for example the buttons on the toolbar
of outlook express. How can I do this?
Thanks for any help.
Bernie Yaeger
Hi,
I think this is what you are looking for.
ToolBar1.Appearance = ToolBarAppearance.Flat
Ken
-------------------
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:eb*************@TK2MSFTNGP11.phx.gbl... I use application.enablevisualstyles() and develop using visual studio
1.1. I know that changing flatstyle for certain controls will give me xp styles on those controls. However, I don't know how to get the xp look and feel for toolbar buttons. Mine highlight as I pass over them, but they are not 3d and do not change shades, as do for example the buttons on the toolbar
of outlook express. How can I do this?
Thanks for any help.
Bernie Yaeger
* "Bernie Yaeger" <be*****@cherwellinc.com> scripsit: I use application.enablevisualstyles() and develop using visual studio 1.1. I know that changing flatstyle for certain controls will give me xp styles on those controls. However, I don't know how to get the xp look and feel for toolbar buttons. Mine highlight as I pass over them, but they are not 3d and do not change shades, as do for example the buttons on the toolbar of outlook express. How can I do this?
As Ken said, play around with the control's 'Appearance' property. In
addition, call 'Application.DoEvents' directly after calling
'Application.EnableVisualStyles' in order to fix a bug which causes
toolbar icons to disappear.
--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Hi Ken,
Tx - what I really wanted you gave me direction to: toolbar1.appearance =
toolbarappearance.normal; flat is evidently the default.
Thanks again,
Bernie
"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:Os*************@TK2MSFTNGP09.phx.gbl... Hi,
I think this is what you are looking for. ToolBar1.Appearance = ToolBarAppearance.Flat
Ken ------------------- "Bernie Yaeger" <be*****@cherwellinc.com> wrote in message news:eb*************@TK2MSFTNGP11.phx.gbl... I use application.enablevisualstyles() and develop using visual studio 1.1. I know that changing flatstyle for certain controls will give me xp
styles on those controls. However, I don't know how to get the xp look and
feel for toolbar buttons. Mine highlight as I pass over them, but they are
not 3d and do not change shades, as do for example the buttons on the
toolbar of outlook express. How can I do this?
Thanks for any help.
Bernie Yaeger
Thanks Herfried,
As always, you put me in the right direction - and, yes, I do avoid the bug
with application doevents. Tx again.
Bernie
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:ut**************@TK2MSFTNGP09.phx.gbl... * "Bernie Yaeger" <be*****@cherwellinc.com> scripsit: I use application.enablevisualstyles() and develop using visual studio
1.1. I know that changing flatstyle for certain controls will give me xp
styles on those controls. However, I don't know how to get the xp look and
feel for toolbar buttons. Mine highlight as I pass over them, but they are
not 3d and do not change shades, as do for example the buttons on the
toolbar of outlook express. How can I do this?
As Ken said, play around with the control's 'Appearance' property. In addition, call 'Application.DoEvents' directly after calling 'Application.EnableVisualStyles' in order to fix a bug which causes toolbar icons to disappear.
-- Herfried K. Wagner [MVP] <http://www.mvps.org/dotnet> This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: James Tran |
last post by:
I created a toolbar, set the style of my button to be a
dropdownbutton, and type in the button name in the text
field.
After I do this, what happens is that the dropdownbutton
automatically...
|
by: Kubuli John |
last post by:
I have a LinkButton in an ASP.NET web form. Depending on the current
state of affairs, I either enable or disable the link button in by
code-behind class (e.g., disable the "Previous" button if...
|
by: Mark Goldin |
last post by:
Is it possible to get a toolbar button that has been clicked on a client
side?
I'd like to add some JavaScript to it.
Thanks
|
by: Bernie Yaeger |
last post by:
I use application.enablevisualstyles() and develop using visual studio 1.1.
I know that changing flatstyle for certain controls will give me xp styles
on those controls. However, I don't know how...
|
by: Curtis |
last post by:
Somehow I'm just missing something.
I don't know how to catch when a user clicks on an item in a dropdown list
for a dropdown style button on a toolbar.
I create a new app. Form1. Add a...
|
by: Juan Pedro Gonzalez |
last post by:
I wanted to add a Combobox to a toolbar... Kind of the look you get on
VisualStudio's toolbar.
I've been able to find some VB 6 samples, but the placeholder option is no
longer available for...
|
by: harishdixit1 |
last post by:
Hello friends I m creating an ATL DLL which will attached a toolbar in
IE.
I implemented XP style & it is working fine means controls now have XP
Style.
On my toolbar i have Button menus. But...
|
by: vrata48 |
last post by:
Hi, i have user control which i display on windows toolbar (http://
www.codeproject.com/csharp/dotnetbandobjects.asp) and i want to place
a button on it. Problem is, that this button does not look...
|
by: JFKJr |
last post by:
Hello everyone, the following is the code which opens an excel file and creates a toolbar button.
And, when I click the toolbar button as shown at line #28, the code should call the "Example"...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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...
|
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,...
|
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...
|
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...
| |