473,385 Members | 1,764 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

AutoSize Quick Launch ToolBar

How can i resize (autoSize) the Quick Launch Toolbar?
I try to send TB_AUTOSIZE Message to it but doesn't work. :-(

Thx.

Mauro.

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Nov 16 '05 #1
3 3027
Mauro,

The TB_AUTOSIZE message is for toolbars, not the quick launch bars (they
are different cotnrols all together).

There is no message available to auto-size the bar. The best you could
do is try and calculate the size yourself, and then set the bar. You can do
this by making a call to the SHAppBarMessage API function through the
P/Invoke layer, passing the ABM_SETPOS message.

Check the documentation for the SHAppBarMessage function for the
messages you can send to the application bar (watch for line wrap):

http://whidbey.msdn.microsoft.com/li...barmessage.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mauro" <ch********@SPAM.no> wrote in message
news:mn***********************@SPAM.no...
How can i resize (autoSize) the Quick Launch Toolbar?
I try to send TB_AUTOSIZE Message to it but doesn't work. :-(

Thx.

Mauro.

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Nov 16 '05 #2
Nicholas Paldino [.NET/C# MVP] ha usato la sua tastiera per scrivere :

[CUT]

Thanks!! :)

Mauro

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Nov 16 '05 #3
Nicholas Paldino [.NET/C# MVP] ha detto questo martedě :
Mauro,

The TB_AUTOSIZE message is for toolbars, not the quick launch bars (they
are different cotnrols all together).

There is no message available to auto-size the bar. The best you could
do is try and calculate the size yourself, and then set the bar. You can do
this by making a call to the SHAppBarMessage API function through the
P/Invoke layer, passing the ABM_SETPOS message.

Check the documentation for the SHAppBarMessage function for the
messages you can send to the application bar (watch for line wrap):

http://whidbey.msdn.microsoft.com/li...barmessage.asp

Hope this helps.
--


It didn't work :(

Mauro

--
Questa č una firma automatica di MesNews.
Sito: http://mesnews.no-ip.com

Nov 16 '05 #4

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

Similar topics

8
by: Dutchy | last post by:
Dear reader, In an attempt to obtain the path to the quick-launch-folder in order to create a shortcut to my application-updates during installation , I thought to: 1- check if quick launch...
13
by: cefrancke | last post by:
I have a custom toolbar for users during any preview of a report launched by a button click on a form. I would like to add a toolbar button to launch the Print Dialog (like 'Ctrl-P' or...
3
by: Michel H | last post by:
Hello everyone, While it seems simple to me, I just want to have a URL in my windows application that people can click and then launch the URL in the default browser. Same thing with a mailto:...
3
by: Martin Dew | last post by:
hi, I want to interogate the Quick Launch folder, looking at each icon and getting the image, and target that it fires when clicked. I can get to the folder and create a filelist of the icons, but...
8
by: Jordi Rico | last post by:
Hi, I've made the next inherited class in Visual Studio 2005: Public Class LabelEx Inherits System.Windows.Forms.Label Sub New() MyBase.New() Me.ForeColor = Color.Black Me.AutoSize = False...
0
by: =?Utf-8?B?R2FyeSBNY0M=?= | last post by:
The quick launch tool bar doesn't load on startup in my user account. It works fine by clicking on the Task bar and selecting Quick Launch, but it doesn't seem to save the setting when I shut down...
1
by: Wayne | last post by:
I've searched this forum and trawled the wider web and can't find any information on how to hide or disable the A2007 Quick Access Toolbar. The toolbar is not something that one wants available to...
4
by: Bob | last post by:
Hi, Can it's possible to use a customized QAT in Access 2007 with a Ribbon using "USysRibbons" ? because in Access options i can't select 2 ribbon name. Thank's
1
by: kalathi | last post by:
I have created a tool bar using Java Swing. I need to launch that toolbar in IE. Can anyone say the procedure or steps about how to launch the toolbar in IE. Expecting a reply. Please help me out...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
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,...

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.