Appbar and Tooltips

T

TyBreaker

I have a simple form with a toolstrip on it and some toolstrip buttons.
Tooltips work fine.

But then I use the ShAppBarMessage API call to register the form as an
Application Desktop Toolbar. That's when the tooltips seem to stop working.

Does anybody know why this is so?

I heard SP1 for Visual Studio 2005 is imminent so if nobody can help,
I'll cross fingers and see if it is a VS2005 bug rather than my own
programming!
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 
T

TyBreaker

TyBreaker said:
I have a simple form with a toolstrip on it and some toolstrip buttons.
Tooltips work fine.

But then I use the ShAppBarMessage API call to register the form as an
Application Desktop Toolbar. That's when the tooltips seem to stop
working.

Does anybody know why this is so?

I heard SP1 for Visual Studio 2005 is imminent so if nobody can help,
I'll cross fingers and see if it is a VS2005 bug rather than my own
programming!

OK solved this one! I had a paint event method which must have been
incompatible with Tooltips. Got rid of the method and tooltips now
appear fine.

However now back to an earlier problem which I had solved by using the
paint method - when my appbar first starts up, it appears in the middle
of the screen instead of in the space allocated for it at the bottom of
the screen. I get the desktop resizing to make room for the appbar but
the appbar itself appears somewhere else.

Does anybody know how to initialise an appbar so it appears where you
want it to on startup?

--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Appbar and focus issues 1
VB.NET Appbar example? 1
Disposing - when? 1
System Icons? 2
Form Layout 3
Prompting for an IP address 4
Floating Menu Bar 6
VB2005: Controls not appearing on form 3

Top