Appbar and Tooltips

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • TyBreaker

    #1

    Appbar and Tooltips

    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.
  • TyBreaker

    #2
    Re: Appbar and Tooltips

    TyBreaker wrote:
    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.

    Comment

    Working...