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
A

Albertino

@Albertino
About
Posts
1
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • CToolTipCtrl in modeless dialog ???
    A Albertino

    I had the same issue. And now, thanks to your suggestion it works. I switched from:

    				m\_toolTip.AddTool(this,ttwtext.c\_str(),cr,1);
    

    To

    				TOOLINFO ti;
    
    				ti.cbSize = sizeof(TOOLINFO);
    				ti.lpszText = (LPTSTR)last\_ttwtext.c\_str();
    				ti.hinst = AfxGetInstanceHandle();
    				ti.hwnd = this->GetSafeHwnd();
    				ti.uFlags = TTF\_SUBCLASS | TTF\_IDISHWND;
    				ti.uId = (UINT) this->GetSafeHwnd();
    
    				m\_toolTip.SendMessage(TTM\_ADDTOOL, 0, (LPARAM) &ti);
    

    Thanks!

    C / C++ / MFC help question
  • Login

  • Don't have an account? Register

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