473,789 Members | 3,123 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3064
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.co m

"Mauro" <ch********@SPA M.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
5377
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 is used by the user 2- check if a link to my application is there 3- if so, obtain the path (ANY PATH) to the quick-launch-folder from existing button(s)
13
2898
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 File|Print...). Is this possible? I cant seem to find one, during customizing. Note that there are no menus (disabled all menus) and the toolbar is available only during Print Preview mode, when the user has launched a report from a form.
3
2908
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: link. Here is the code i'm trying to use which comes straight from the microsoft site: string target= "http://www.microsoft.com";
3
2633
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 cannot seem to find where to go from there, can anyone help ? string dirPath = Path.Combine(System.Environment.GetEnvironmentVariable(Environment.SpecialFolder.ApplicationData),@"Microsoft\Internet Explorer\Quick Launch");
8
3430
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 Me.Height = 16
0
1482
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 the computer. I have two other user accounts on the same computer and they work fine and launch on startup. Any ideas why this is happening? This occured after I installed and ran PC Tools Spyware Doctor but I can't see any reference to it in...
1
4873
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 the user in a custom application. Can it be disabled or hidden and if so, how?
4
4291
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
1344
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 with this issue.
0
9511
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10408
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10139
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6768
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4092
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 we have to send another system
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.