Home > Software engineering >  Since you can write a tray program pop-up bubble, it can obtain the content of the bubble, please
Since you can write a tray program pop-up bubble, it can obtain the content of the bubble, please

Time:09-16

The lower right corner of the tray, have their own procedures, have someone else's program, a program of the system. Occasional bubble information. What notification callback for content? !

CodePudding user response:

Can!!!!!!!!!!!!!!

CodePudding user response:

In theory is possible

CodePudding user response:

Inside a CToolTipCtrl classes have access to prompt function

CodePudding user response:

 void CToolTipCtrl: : UpdateTipText (LPCTSTR lpszText, CWnd * pWnd, UINT_PTR nIDTool) 
{
ASSERT (: : IsWindow (m_hWnd));
ASSERT (pWnd!=NULL);

TOOLINFO ti;
FillInToolInfo (ti, pWnd, nIDTool);
Ti. LpszText=(LPTSTR lpszText);
: : SendMessage (m_hWnd, TTM_UPDATETIPTEXT, 0, (LPARAM) & amp; Ti);
}

Try to try to intercept this MSG, TTM_UPDATETIPTEXT TOOLINFO structure

CodePudding user response:

The
reference 4 floor smwhotjay reply:
 void CToolTipCtrl: : UpdateTipText (LPCTSTR lpszText, CWnd * pWnd, UINT_PTR nIDTool) 
{
ASSERT (: : IsWindow (m_hWnd));
ASSERT (pWnd!=NULL);

TOOLINFO ti;
FillInToolInfo (ti, pWnd, nIDTool);
Ti. LpszText=(LPTSTR lpszText);
: : SendMessage (m_hWnd, TTM_UPDATETIPTEXT, 0, (LPARAM) & amp; Ti);
}

Try to try to intercept the MSG, TTM_UPDATETIPTEXT TOOLINFO structure of


Mean those process hook tray? !
  • Related