Click here to Skip to main content
15,917,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I understand if a named pipe is existing? Pin
sashoalm25-Sep-08 6:30
sashoalm25-Sep-08 6:30 
AnswerRe: How can I understand if a named pipe is existing? Pin
JudyL_MD25-Sep-08 11:34
JudyL_MD25-Sep-08 11:34 
GeneralRe: How can I understand if a named pipe is existing? Pin
sashoalm25-Sep-08 12:31
sashoalm25-Sep-08 12:31 
GeneralRe: How can I understand if a named pipe is existing? Pin
JudyL_MD25-Sep-08 12:36
JudyL_MD25-Sep-08 12:36 
QuestionWM_NOTIFY in VS 2008 Pin
Cpt Rick25-Sep-08 4:47
Cpt Rick25-Sep-08 4:47 
QuestionRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 5:29
Mark Salsbery25-Sep-08 5:29 
AnswerRe: WM_NOTIFY in VS 2008 Pin
Cpt Rick25-Sep-08 6:31
Cpt Rick25-Sep-08 6:31 
GeneralRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 7:19
Mark Salsbery25-Sep-08 7:19 
Here's the wizard-generated code for a TVN_SELCHANGED handler.
Any differences from yours?
ON_NOTIFY(TVN_SELCHANGED, IDC_TREE1, &CMyDlg::OnTvnSelchangedTree1)

afx_msg void OnTvnSelchangedTree1(NMHDR *pNMHDR, LRESULT *pResult);

void CMyDlg::OnTvnSelchangedTree1(NMHDR *pNMHDR, LRESULT *pResult)
{
	LPNMTREEVIEW pNMTreeView = reinterpret_cast<lpnmtreeview>(pNMHDR);
	// TODO: Add your control notification handler code here
	*pResult = 0;
}</lpnmtreeview>

Note the way the method pointer is passed in the message map entry
(this change and its effect is still being debated on other forums).

Also make sure you don't have a OnNotify() override that's not calling the
base class OnNotify().

That's all I can think of at the moment.

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 5:35
Mark Salsbery25-Sep-08 5:35 
QuestionTimer code that executes a script after a fixed interval Pin
yonifra25-Sep-08 4:33
yonifra25-Sep-08 4:33 
AnswerRe: Timer code that executes a script after a fixed interval Pin
led mike25-Sep-08 4:40
led mike25-Sep-08 4:40 
GeneralRe: Timer code that executes a script after a fixed interval Pin
yonifra25-Sep-08 5:04
yonifra25-Sep-08 5:04 
QuestionMPEG4 Conversion Pin
lal001225-Sep-08 3:44
lal001225-Sep-08 3:44 
AnswerRe: MPEG4 Conversion Pin
Rajesh R Subramanian25-Sep-08 3:58
professionalRajesh R Subramanian25-Sep-08 3:58 
AnswerRe: MPEG4 Conversion Pin
bulg25-Sep-08 7:05
bulg25-Sep-08 7:05 
AnswerRe: MPEG4 Conversion Pin
cmk25-Sep-08 10:27
cmk25-Sep-08 10:27 
AnswerRe: MPEG4 Conversion Pin
Chandrasekharan P25-Sep-08 18:27
Chandrasekharan P25-Sep-08 18:27 
Questionproblem with singleton class Pin
SRKSHOME25-Sep-08 2:50
SRKSHOME25-Sep-08 2:50 
AnswerRe: problem with singleton class Pin
Cedric Moonen25-Sep-08 2:57
Cedric Moonen25-Sep-08 2:57 
GeneralRe: problem with singleton class Pin
SRKSHOME25-Sep-08 3:17
SRKSHOME25-Sep-08 3:17 
QuestionDialog - waiting while control is populated Pin
tiresias225-Sep-08 2:50
tiresias225-Sep-08 2:50 
AnswerRe: Dialog - waiting while control is populated Pin
Graham Bradshaw25-Sep-08 3:06
Graham Bradshaw25-Sep-08 3:06 
AnswerRe: Dialog - waiting while control is populated Pin
Michael Dunn25-Sep-08 12:31
sitebuilderMichael Dunn25-Sep-08 12:31 
GeneralRe: Dialog - waiting while control is populated Pin
tiresias226-Sep-08 3:03
tiresias226-Sep-08 3:03 
GeneralRe: Dialog - waiting while control is populated Pin
tiresias229-Sep-08 3:32
tiresias229-Sep-08 3:32 

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.