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. constant tooltip over cwnd derived control

constant tooltip over cwnd derived control

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialannouncement
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.
  • A Offline
    A Offline
    Atif Mushtaq
    wrote on last edited by
    #1

    HI , i want a tooltip which has the constant behaviour instead of like normal tooltip which appear on Mouse Over and disappears on mouse out. An example this kind of tooltip is windows update tooltip , which comes without mouse over and remains constant untill u click it. so any body has some clue. No Worries!

    S 1 Reply Last reply
    0
    • A Atif Mushtaq

      HI , i want a tooltip which has the constant behaviour instead of like normal tooltip which appear on Mouse Over and disappears on mouse out. An example this kind of tooltip is windows update tooltip , which comes without mouse over and remains constant untill u click it. so any body has some clue. No Worries!

      S Offline
      S Offline
      satadru
      wrote on last edited by
      #2

      Hi, I'm sorry to disappoint by asking you a question rather than giving you a solution. The problem is : I have a dialog based application in which i have created a toolbar . now i want to display tooltips for each of the items in the toolbar. I have tried the following : CToolTipCtrl Tips; Tips.Create(this); Tips.AddTool(GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); In PretranslateMessage: Tips.RelayEvent(pMsg); i have also tried: CWnd *pwnd=AfxGetApp()->m_pMainWnd->GetDlgItem(IDR_TOOLBAR); Tips.Create(this); Tips.AddTool(pwnd->GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); but to no success .... can you please help me... Thanking you Regards Satadru Karjee.

      A 1 Reply Last reply
      0
      • S satadru

        Hi, I'm sorry to disappoint by asking you a question rather than giving you a solution. The problem is : I have a dialog based application in which i have created a toolbar . now i want to display tooltips for each of the items in the toolbar. I have tried the following : CToolTipCtrl Tips; Tips.Create(this); Tips.AddTool(GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); In PretranslateMessage: Tips.RelayEvent(pMsg); i have also tried: CWnd *pwnd=AfxGetApp()->m_pMainWnd->GetDlgItem(IDR_TOOLBAR); Tips.Create(this); Tips.AddTool(pwnd->GetDlgItem(ID_TEST),"Click to start transferring e-mails"); Tips.Activate(TRUE); but to no success .... can you please help me... Thanking you Regards Satadru Karjee.

        A Offline
        A Offline
        Atif Mushtaq
        wrote on last edited by
        #3

        i searched google for "tootip toolbar CDialog" and it gave me this http://www.codeproject.com/docking/display\_dialog\_tooltips.asp hopefully it will help u. No Worries!

        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