Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionIntegration of my unit testing tool with Visual Studio 2005 IDE Pin
Kamyar Souri8-Oct-07 16:08
Kamyar Souri8-Oct-07 16:08 
Questionstl bind2nd question Pin
User 5838528-Oct-07 14:30
User 5838528-Oct-07 14:30 
Answerboost Pin
User 5838528-Oct-07 19:54
User 5838528-Oct-07 19:54 
Questionc++ file mergesort Pin
lockheart878-Oct-07 13:45
lockheart878-Oct-07 13:45 
QuestionRe: c++ file mergesort Pin
David Crow9-Oct-07 3:27
David Crow9-Oct-07 3:27 
AnswerRe: c++ file mergesort Pin
jhwurmbach9-Oct-07 3:35
jhwurmbach9-Oct-07 3:35 
Questionsetting text on dialog from a subclass Pin
locoone8-Oct-07 13:04
locoone8-Oct-07 13:04 
AnswerRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 13:39
Mark Salsbery8-Oct-07 13:39 
Usually it's preferable to send/post a message to the parent
and let the parent set the text.  This eliminates the need for the child
to have intimate knowledge of its parent.

Regardless of how you choose to implement this, eventually you'll
probably want to use SetWindowText() to set the IDC_DISPLAY_TEXT
control's text.

Also, what sets your m_bOverControl to FALSE?   Is that what the timer is for?
If so, you may want to look into TrackMouseEvent() and WM_MOUSELEAVE
for a more elegant solution to tracking when the cursor leaves a window.

Mark



Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: setting text on dialog from a subclass Pin
locoone8-Oct-07 14:03
locoone8-Oct-07 14:03 
GeneralRe: setting text on dialog from a subclass Pin
Mark Salsbery8-Oct-07 14:35
Mark Salsbery8-Oct-07 14:35 
QuestionPrinting array of bitmap files Pin
ShilpaPotnis8-Oct-07 10:34
ShilpaPotnis8-Oct-07 10:34 
AnswerRe: Printing array of bitmap files Pin
Mark Salsbery8-Oct-07 11:25
Mark Salsbery8-Oct-07 11:25 
GeneralRe: Printing array of bitmap files Pin
ShilpaPotnis9-Oct-07 3:10
ShilpaPotnis9-Oct-07 3:10 
QuestionVS2005 MFC C++ degugging Pin
Andy H8-Oct-07 9:45
Andy H8-Oct-07 9:45 
AnswerRe: VS2005 MFC C++ degugging Pin
VonHagNDaz8-Oct-07 10:53
VonHagNDaz8-Oct-07 10:53 
Questionhow to implement Pin
snoop828-Oct-07 7:47
snoop828-Oct-07 7:47 
AnswerRe: how to implement Pin
Chris Losinger8-Oct-07 9:42
professionalChris Losinger8-Oct-07 9:42 
GeneralRe: how to implement Pin
led mike8-Oct-07 9:52
led mike8-Oct-07 9:52 
AnswerRe: how to implement Pin
leckey8-Oct-07 10:49
leckey8-Oct-07 10:49 
QuestionRe: how to implement Pin
David Crow9-Oct-07 3:32
David Crow9-Oct-07 3:32 
QuestionPreTranslate Message problem Pin
_tasleem8-Oct-07 6:38
_tasleem8-Oct-07 6:38 
AnswerRe: PreTranslate Message problem Pin
Mark Salsbery8-Oct-07 7:32
Mark Salsbery8-Oct-07 7:32 
GeneralRe: PreTranslate Message problem Pin
_tasleem9-Oct-07 7:23
_tasleem9-Oct-07 7:23 
GeneralRe: PreTranslate Message problem Pin
Mark Salsbery9-Oct-07 7:56
Mark Salsbery9-Oct-07 7:56 
AnswerRe: PreTranslate Message problem Pin
santhoshv848-Oct-07 17:15
santhoshv848-Oct-07 17:15 

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.