Re: Slider control tooltip problem when used on an ActiveX control



On Jun 23, 8:04 pm, "MikeD" <nob...@xxxxxxxxxxx> wrote:
"Robert" <rsa2...@xxxxxxxxx> wrote in message

news:ec1af31f-dbe1-4e9a-b406-1ac567c0296a@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi all,

I placed a slider control on an ActiveX control and when trying to
move the slider, the tooltips wont work. If I put the slider control
directly on the form it works correctly. The first time I try to move
the slider on the ActiveX control, a small tooltip window seems to
appear and disappear very quickly close to the main window title bar.
Any ideas?

I'm 99% certain this has been brought up before here in the newsgroups. I
don't recall if there was a solution or not. My guess is it has something to
do with the tooltip's ZOrder. If so, the "fix" would be to bring the
slider's tooltip to the front, but without an hWnd for the tooltip (not the
slider; a tooltip is its own window and therefore has its own window handle)
I don't know how you'd do that.  I suggest you search the newsgroups athttp://groups.google.com/advanced_search.  This should ALWAYS be the first
thing you do because chances are that someone else has asked the same, or
very similar, question.

--
Mike
Microsoft MVP Visual Basic

Mike,

Thanks for your reply. Yes, I did quite an extensive search and found
only one discussion with the exact same problem but, unfortunately, no
solution. This is the link:

http://groups.google.com/group/microsoft.public.vb.controls/browse_thread/thread/eaa11e66d2081794/132d9dfae0c830da?hl=en&lnk=st&q=Tooltip+missing+with+slider+on+usercontrol#132d9dfae0c830da


Thanks again


.



Relevant Pages

  • Re: Slider control tooltip problem when used on an ActiveX control
    ... I placed a slider control on an ActiveX control and when trying to ... appear and disappear very quickly close to the main window title bar. ... slider's tooltip to the front, but without an hWnd for the tooltip (not the ...
    (microsoft.public.vb.controls)
  • Re: Making value tooltips appear in v5 of Slider control
    ... > appears when the slider is scrolled. ... You should really copy and paste your code, including API function ... assign an existing ToolTip control to the slider (or trackbar, ... This means you need a ToolTip control, ...
    (microsoft.public.vb.general.discussion)
  • Re: Making value tooltips appear in v5 of Slider control
    ... >appears when the slider is scrolled. ... when the slider control window is created and has no effect afterward. ... tooltip control and assign it to the slider with the TB_SETTOOLTIPS. ...
    (microsoft.public.vb.general.discussion)
  • Re: Tooltip missing with slider on usercontrol
    ... the workaround doesn't work for the slider - or I made a mistake. ... I first tried to disable the slider's tooltip window: ... > HI Matthis: ...
    (microsoft.public.vb.controls)
  • Re: Tracking tooltips dont display at all
    ... HWND CreateTrackingToolTip; ... You are using the TEXT macro here but you are using the obsolete char ... the window, you are totally screwed. ... // Deactivate the ToolTip. ...
    (microsoft.public.vc.mfc)