Click here to Skip to main content
15,888,186 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Converting from ext2 to vfat format Pin
Brian Shifrin10-Nov-03 4:18
Brian Shifrin10-Nov-03 4:18 
GeneralRe: Converting from ext2 to vfat format Pin
Franz Klein11-Nov-03 9:10
Franz Klein11-Nov-03 9:10 
GeneralDisable. or Enable Network Connections Pin
marcel grunder9-Nov-03 22:36
marcel grunder9-Nov-03 22:36 
GeneralShow Desktop Button Pin
Franz Klein9-Nov-03 22:32
Franz Klein9-Nov-03 22:32 
GeneralRe: Show Desktop Button Pin
jmkhael10-Nov-03 0:38
jmkhael10-Nov-03 0:38 
GeneralRe: Show Desktop Button Pin
Franz Klein11-Nov-03 9:14
Franz Klein11-Nov-03 9:14 
GeneralCToolTipCtrl with CSplitterView Pin
emoiXY - Laurent9-Nov-03 22:28
emoiXY - Laurent9-Nov-03 22:28 
GeneralRe: CToolTipCtrl with CSplitterView Pin
emoiXY - Laurent10-Nov-03 1:15
emoiXY - Laurent10-Nov-03 1:15 
So here is my solution:
I have implemented a method to handle TTN_NEEDTEXT for the mainframe. The method sends the
message to the window at the location of the mouse pointer:

BOOL CMainFrame::OnToolTipNeedText( UINT, NMHDR*, LRESULT* )
{
const MSG* pstpMsg = NULL;
CPoint clCursorPos;

pstpMsg = GetCurrentMessage();
::GetCursorPos( &clCursorPos );
::SendMessage( WindowFromPoint( clCursorPos )->GetSafeHwnd(), pstpMsg->message, pstpMsg->wParam, pstpMsg->lParam );

return TRUE;
}

Anybody sees any problems with this implementation?

Laurent

GeneralRe: CToolTipCtrl with CSplitterView Pin
Antti Keskinen10-Nov-03 8:08
Antti Keskinen10-Nov-03 8:08 
GeneralConvert mpeg-2 Pin
styve9-Nov-03 22:17
styve9-Nov-03 22:17 
GeneralRe: Convert mpeg-2 Pin
Juan Antonio Bermejo9-Nov-03 23:35
Juan Antonio Bermejo9-Nov-03 23:35 
GeneralRe: Convert mpeg-2 Pin
John M. Drescher10-Nov-03 8:27
John M. Drescher10-Nov-03 8:27 
GeneralApp still works but GUI does not update when moved. Pin
BaldwinMartin9-Nov-03 22:03
BaldwinMartin9-Nov-03 22:03 
GeneralRe: App still works but GUI does not update when moved. Pin
jmkhael9-Nov-03 22:10
jmkhael9-Nov-03 22:10 
GeneralRe: App still works but GUI does not update when moved. Pin
BaldwinMartin9-Nov-03 22:12
BaldwinMartin9-Nov-03 22:12 
GeneralRe: App still works but GUI does not update when moved. Pin
jmkhael9-Nov-03 22:15
jmkhael9-Nov-03 22:15 
GeneralRe: App still works but GUI does not update when moved. Pin
BaldwinMartin9-Nov-03 22:19
BaldwinMartin9-Nov-03 22:19 
GeneralSetup the Tab-order Pin
willempipi9-Nov-03 20:49
willempipi9-Nov-03 20:49 
GeneralRe: Setup the Tab-order Pin
Fredrik Skog9-Nov-03 20:55
Fredrik Skog9-Nov-03 20:55 
GeneralRe: Setup the Tab-order Pin
willempipi9-Nov-03 21:44
willempipi9-Nov-03 21:44 
GeneralRe: Setup the Tab-order Pin
BaldwinMartin9-Nov-03 22:04
BaldwinMartin9-Nov-03 22:04 
QuestionHow to gray checkbox in tree control. Pin
shivonkar9-Nov-03 19:58
shivonkar9-Nov-03 19:58 
QuestionHow to add check box control on my dialog dynamically? Pin
Member 6790439-Nov-03 18:38
Member 6790439-Nov-03 18:38 
AnswerRe: How to add check box control on my dialog dynamically? Pin
John M. Drescher9-Nov-03 18:43
John M. Drescher9-Nov-03 18:43 
QuestionWhy use Unions? Pin
Anonymous9-Nov-03 17:42
Anonymous9-Nov-03 17:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.