Click here to Skip to main content
15,850,190 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Please help Pin
leon de boer6-Nov-16 5:49
leon de boer6-Nov-16 5:49 
PraiseRe: Please help Pin
Ahmed Adel6-Nov-16 6:10
Ahmed Adel6-Nov-16 6:10 
QuestionPattern review C++: using structs with pure virtual methods in place of interfaces Pin
Member 128328324-Nov-16 6:58
Member 128328324-Nov-16 6:58 
AnswerRe: Pattern review C++: using structs with pure virtual methods in place of interfaces Pin
Chris Losinger4-Nov-16 9:23
professionalChris Losinger4-Nov-16 9:23 
AnswerRe: Pattern review C++: using structs with pure virtual methods in place of interfaces Pin
leon de boer4-Nov-16 9:48
leon de boer4-Nov-16 9:48 
AnswerRe: Pattern review C++: using structs with pure virtual methods in place of interfaces Pin
«_Superman_»5-Nov-16 22:42
professional«_Superman_»5-Nov-16 22:42 
AnswerRe: Pattern review C++: using structs with pure virtual methods in place of interfaces Pin
Daniel Pfeffer6-Nov-16 1:35
professionalDaniel Pfeffer6-Nov-16 1:35 
QuestionMouse out of dialog Pin
_Flaviu3-Nov-16 5:07
_Flaviu3-Nov-16 5:07 
If I launch a non modal dialog from a CFormView, how can I know if the mouse leave the surface of the CNonModalDlg ? Preferable I should know inside of CNonModalDialog ... I override
C++
OnMouseMove(UINT nFlags, CPoint point) 


void CNonMOdalDlg::OnMouseMove(UINT nFlags, CPoint point) 
{
	// TODO: Add your message handler code here and/or call default

	CPoint pt(point);	// to not mess up point

	CRect rectDialog;

	GetWindowRect(&rectDialog);
	ScreenToClient(&rectDialog);

	if(! rectDialog.PtInRect(pt))
		TRACE("################################ooouttt\n");

	CDialog::OnMouseMove(nFlags, point);
}

but when I leave the dialog surface, the TRACE are not signal me ...
AnswerRe: Mouse out of dialog Pin
leon de boer3-Nov-16 5:21
leon de boer3-Nov-16 5:21 
QuestionRe: Mouse out of dialog Pin
David Crow3-Nov-16 16:42
David Crow3-Nov-16 16:42 
AnswerRe: Mouse out of dialog Pin
_Flaviu3-Nov-16 22:44
_Flaviu3-Nov-16 22:44 
GeneralRe: Mouse out of dialog Pin
Richard MacCutchan3-Nov-16 23:04
mveRichard MacCutchan3-Nov-16 23:04 
GeneralRe: Mouse out of dialog Pin
leon de boer3-Nov-16 23:10
leon de boer3-Nov-16 23:10 
GeneralRe: Mouse out of dialog Pin
_Flaviu4-Nov-16 0:12
_Flaviu4-Nov-16 0:12 
QuestionSharing some humour Pin
leon de boer2-Nov-16 6:40
leon de boer2-Nov-16 6:40 
JokeRe: Sharing some humour Pin
Randor 2-Nov-16 18:34
professional Randor 2-Nov-16 18:34 
GeneralRe: Sharing some humour Pin
leon de boer2-Nov-16 19:57
leon de boer2-Nov-16 19:57 
AnswerRe: Sharing some humour Pin
Daniel Pfeffer2-Nov-16 23:23
professionalDaniel Pfeffer2-Nov-16 23:23 
GeneralRe: Sharing some humour Pin
leon de boer3-Nov-16 4:14
leon de boer3-Nov-16 4:14 
GeneralRe: Sharing some humour Pin
Daniel Pfeffer3-Nov-16 4:34
professionalDaniel Pfeffer3-Nov-16 4:34 
GeneralRe: Sharing some humour Pin
leon de boer3-Nov-16 5:41
leon de boer3-Nov-16 5:41 
GeneralRe: Sharing some humour Pin
Randor 13-Nov-16 6:43
professional Randor 13-Nov-16 6:43 
QuestionSendMessage for Interprocess communication stops working Pin
ForNow1-Nov-16 16:29
ForNow1-Nov-16 16:29 
AnswerRe: SendMessage for Interprocess communication stops working Pin
Midi_Mick1-Nov-16 17:16
professionalMidi_Mick1-Nov-16 17:16 
GeneralRe: SendMessage for Interprocess communication stops working Pin
ForNow1-Nov-16 17:22
ForNow1-Nov-16 17:22 

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.