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