Home All Groups Group Topic Archive Search About

animation in menubar like in IE

Author
13 Apr 2005 3:11 PM
Brian Henry
Does anyone know of a way to  create a "busy" flag like IE and OE have in
their menu bar on the right side? I'd like to put something in one in my app
so the user can tell when it is busy processing or something like that..
thanks!

Author
13 Apr 2005 3:26 PM
Scott Swigart [MVP]
You want to look into something called "owner drawing".  Here's a start:

http://www.vb-helper.com/howto_net_ownerdraw_menu.html


--
Scott Swigart - MVP
http://blog.swigartconsulting.com

Show quoteHide quote
"Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
news:%233mORsDQFHA.1396@TK2MSFTNGP10.phx.gbl...
> Does anyone know of a way to  create a "busy" flag like IE and OE have in
> their menu bar on the right side? I'd like to put something in one in my
> app so the user can tell when it is busy processing or something like
> that.. thanks!
>
Author
14 Apr 2005 2:32 AM
Brian Henry
I know what owner drawing is, but it never seems to let me draw on the
actual menu bar which is where i need to place the graphic

Show quoteHide quote
"Scott Swigart [MVP]" <sc***@swigartconsulting.com> wrote in message
news:u1Xds0DQFHA.4024@TK2MSFTNGP10.phx.gbl...
> You want to look into something called "owner drawing".  Here's a start:
>
> http://www.vb-helper.com/howto_net_ownerdraw_menu.html
>
>
> --
> Scott Swigart - MVP
> http://blog.swigartconsulting.com
>
> "Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
> news:%233mORsDQFHA.1396@TK2MSFTNGP10.phx.gbl...
>> Does anyone know of a way to  create a "busy" flag like IE and OE have in
>> their menu bar on the right side? I'd like to put something in one in my
>> app so the user can tell when it is busy processing or something like
>> that.. thanks!
>>
>
>
Author
14 Apr 2005 9:07 AM
Mick Doherty
You'll need to do that via Interop.

Draw directly on the menubar.
http://www.dotnetrix.co.uk/menus.html --> Custom MenuBar color
Use CreatePatternBrush instead of CreateSolidBrush.


Add a right-aligned ownerdraw menuitem.
http://dotnet.mvps.org/dotnet/faqs/?id=rightalignmenuitem&lang=en

Show quoteHide quote
"Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
news:Or%23v5oJQFHA.2000@TK2MSFTNGP15.phx.gbl...
>I know what owner drawing is, but it never seems to let me draw on the
>actual menu bar which is where i need to place the graphic
>
> "Scott Swigart [MVP]" <sc***@swigartconsulting.com> wrote in message
> news:u1Xds0DQFHA.4024@TK2MSFTNGP10.phx.gbl...
>> You want to look into something called "owner drawing".  Here's a start:
>>
>> http://www.vb-helper.com/howto_net_ownerdraw_menu.html
>>
>>
>> --
>> Scott Swigart - MVP
>> http://blog.swigartconsulting.com
>>
>> "Brian Henry" <brianiupmsdn@newsgroups.nospam> wrote in message
>> news:%233mORsDQFHA.1396@TK2MSFTNGP10.phx.gbl...
>>> Does anyone know of a way to  create a "busy" flag like IE and OE have
>>> in their menu bar on the right side? I'd like to put something in one in
>>> my app so the user can tell when it is busy processing or something like
>>> that.. thanks!
>>>
>>
>>
>
>