|
-
December 14th, 1999, 07:35 PM
#1
status bar
I want to use statusbar to display some infomation when I move my mouse over
any menu or toolbar,how can i do it?
thank you
-
March 17th, 2000, 03:07 AM
#2
Re: status bar
at the property mouse move you write (of the toolbar):
statusbar1.text = 'the information you want (it's a string)
but first you have to set the style of the status bar to sbrText. You can do that from the Property Pages.
-
March 17th, 2000, 05:26 AM
#3
Re: status bar
Handling Menu can be achieved only thru subclassing. Take a look at the MSDN article ID : Q185451
It shows a sample of how to display help messages when any menu -item gets focus.
Essentially it involves subclassing and looking for WM_MENUSELECT message. When you get that, determine the active item, and display some message appropriate to it.
I have the code, but is messed up quite a bit, because once i worked on it!!.. so i am not posting.
There may be a couple of samples on Codeguru articles section... check it out
RK
-
March 17th, 2000, 07:54 PM
#4
Re: status bar
or u can use a label which is what i use. put the code in the MouseMove event of the button
Label1.Caption = "blah"
that will change the caption of the label each time u mouse over it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|