Results 1 to 3 of 3

Thread: Slider Control [SOLVED]

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    506

    Slider Control [SOLVED]

    Is it at all possible to stop the popup text with the value from being displayed when you use the slider?

    Cheers

    -adehh
    Last edited by adzzzz; Jun 23rd, 2003 at 05:45 PM.

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758
    You can't through the VB control but you can using the Windows API.

    VB Code:
    1. Private Const WM_USER = &H400
    2. Private Const TBM_SETTOOLTIPS = (WM_USER + 29)
    3.  
    4. Private Declare Function SendMessage Lib "user32" Alias "SendMessageA" _
    5.     (ByVal hWnd As Long, _
    6.      ByVal wMsg As Long, _
    7.      ByVal wParam As Long, _
    8.      lParam As Any) As Long
    9.  
    10. Private Sub Form_Load()
    11.      Call SendMessage(Slider1.hWnd, TBM_SETTOOLTIPS, 0&, ByVal 0&)
    12. End Sub

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2002
    Location
    UK
    Posts
    506
    Ahh, nice one mate, cheers.

    -adehh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width