December 14th, 1999, 06:35 PM
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
any menu or toolbar,how can i do it?
thank you
|
Click to See Complete Forum and Search --> : status bar December 14th, 1999, 06:35 PM 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 Pnq March 17th, 2000, 02:07 AM 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. Ravi Kiran March 17th, 2000, 04:26 AM 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, 06:54 PM 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. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |