Results 1 to 3 of 3

Thread: Tooltip on Documents

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    Jp.
    Posts
    5

    Unhappy

    When I select text by double click or drag mouse on any running program's documents
    ( such as Internet Explorer's .htm , MS Word's .doc or Nodpad's .txt )
    I want to take a tooltip appear on the document, also tooltip's text is select text.
    Have anyone some idea for me?.

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    I'm not 100% on this, but I think you need to manually create the tooltip window using CreateWindow or CreateWindowEx API. Then you would have to use a loop in a timer or something to see if the mouse was double-clicked or dragged.

    There's an example of how to create ToolTip windows here

    Also, you would need to get the window's handle using GetForegroundWindow.

    I hope this helps you in some way or another,

    Me
    Courgettes.

  3. #3
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Do you mean tooltips in Internet Explorer?
    http://www.domaindlx.com/e_morcillo/...cod/shlext.asp
    (Look at InfoTips)
    Check out this site, it's kinda cool, it's now made for .vbp files, but you can easily change this.
    Be sure to install the .inf tho!
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

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