|
-
Apr 29th, 2006, 07:04 AM
#1
Thread Starter
Addicted Member
vb6 statusbar tooltips
How does one find the window handle for the tooltips in a statusbar?
I am working with a multi-panel statusbar.
-
Apr 29th, 2006, 08:23 AM
#2
Re: vb6 statusbar tooltips
why do you need to find the handle for tooltips in a statusbar?
What you want to achieve?
-
Apr 29th, 2006, 10:38 AM
#3
Lively Member
Re: vb6 statusbar tooltips
or...are u trying to display the tooltips in the status bar?
I'm Still learning!
satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
Ur opinions helps me to be better!
Appreciation Triggers Another Good Deeds.
-
Apr 29th, 2006, 11:59 AM
#4
Re: vb6 statusbar tooltips
If you are trying to display the tooltips in statusbar then right click on status bar select the properties then selet Panels tab. there is an option for you to set the required text as a tool tip for each and every panel. Select the required index and enter the required tool tip text in "Tool Tip text box".
-
Apr 29th, 2006, 01:29 PM
#5
Lively Member
Re: vb6 statusbar tooltips
Yes, cssriraman is right!
and if you want to display other control's tooltips in the status bar when u move ur mouse pointer over the controls, maybe this will help:
VB Code:
Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'Display the tooltips for the Command1 button in the status bar
StatusBar1.Panels(1).Text = Command1.ToolTipText
End Sub
________________________________________________________________
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
'Remove the tooltips from the statusbar when ur move ur mouse pointer to somewhere else
StatusBar1.Panels(1).Text = ""
End Sub
Hope this will help!
I'm Still learning!
satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
Ur opinions helps me to be better!
Appreciation Triggers Another Good Deeds.
-
Apr 29th, 2006, 03:44 PM
#6
Thread Starter
Addicted Member
Re: vb6 statusbar tooltips
No, i am not trying to display tooltips in a statusbar...i am trying to find the window handle for the tooltips in a STATUSBAR as mentioned in my first post....
WildSurf...you're are guessing at my intentions, however the code you provided won't work for Statusbar tooltips.
Example:
Placed in the mouse move event or wherever
statusbar1.Panels(1).ToolTipText = "1st Panel"
statusbar1.Panels(2).ToolTipText = "2nd Panel"
I look forward to someone answering my question as stated.
Last edited by vb_lover; Apr 29th, 2006 at 03:57 PM.
-
Apr 29th, 2006, 04:14 PM
#7
Lively Member
Re: vb6 statusbar tooltips
yup, my bad, sorry. I'm guessing ur intentions because u didn't answer ccsriraman qs about what are u trying to do with it..Thats why i'm just trying to provide u alternative way if u want to display the tooltips.
And the other thing is that cssriraman already provides the way to display the statusbar's tooltips, so the code that i provided is not for displaying the statusbar's tooltips, but for displaying other object's i.e. commandbutton tooltips in the statusbar.
i'm looking forward for anybody to answer ur qs too
I'm Still learning!
satisfied/not satisfied, PLEASE TAKE SOME TIME TO rate me accordingly.
Ur opinions helps me to be better!
Appreciation Triggers Another Good Deeds.
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
|