Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Tooltip question

Tooltip question

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Martyn Pearson
    wrote on last edited by
    #1

    I'm using CTooltipCtrl to provide tooltips for buttons on an "always on top" modal dialog. This works fine while the dialog has the focus, but I'd also like the tooltips to pop up accordingly even if the dialog does not have the focus (MS Office Shortcut Bar does this). Any ideas how I can do it? Thanks in advance

    S 1 Reply Last reply
    0
    • M Martyn Pearson

      I'm using CTooltipCtrl to provide tooltips for buttons on an "always on top" modal dialog. This works fine while the dialog has the focus, but I'd also like the tooltips to pop up accordingly even if the dialog does not have the focus (MS Office Shortcut Bar does this). Any ideas how I can do it? Thanks in advance

      S Offline
      S Offline
      scott sanders
      wrote on last edited by
      #2

      If I understand your question, what you want to do is specify the TTS_ALWAYSTIP style when you create the CToolTipCtrl. m_ToolTip.Create(this, TTS_ALWAYSTIP); srs

      M 1 Reply Last reply
      0
      • S scott sanders

        If I understand your question, what you want to do is specify the TTS_ALWAYSTIP style when you create the CToolTipCtrl. m_ToolTip.Create(this, TTS_ALWAYSTIP); srs

        M Offline
        M Offline
        Martyn Pearson
        wrote on last edited by
        #3

        Doh - completely missed that one in the documentation! That works a treat - thanks for that. *Martyn slopes off to check that his contact lenses are in the right way round* ;)

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups