Click here to Skip to main content
16,019,427 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to show a dialog box when some background processing started Pin
Code-o-mat4-Jun-09 6:02
Code-o-mat4-Jun-09 6:02 
QuestionCreate Process in background Pin
krishnakumartm4-Jun-09 5:25
krishnakumartm4-Jun-09 5:25 
AnswerRe: Create Process in background Pin
Uwe Keim4-Jun-09 5:29
sitebuilderUwe Keim4-Jun-09 5:29 
GeneralRe: Create Process in background Pin
krishnakumartm4-Jun-09 5:42
krishnakumartm4-Jun-09 5:42 
GeneralRe: Create Process in background Pin
krishnakumartm4-Jun-09 5:57
krishnakumartm4-Jun-09 5:57 
GeneralRe: Create Process in background Pin
norish4-Jun-09 6:02
norish4-Jun-09 6:02 
GeneralRe: Create Process in background Pin
krishnakumartm4-Jun-09 6:13
krishnakumartm4-Jun-09 6:13 
QuestionHow to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
alikalik4-Jun-09 4:59
alikalik4-Jun-09 4:59 
Hello,
I've created a new class MyComboBox, derieved from CComboBox. I need to hook CBN_DROPDOWN and CBN_CLOSEUP messages and I do it in this way:

LRESULT MyComboBox::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
	switch(message)
	{
		case CBN_DROPDOWN:
			fn1();
			break; 
                case CBN_CLOSEUP:
                        fn2();
                        break;
	}
	
	return CComboBox::WindowProc(message, wParam, lParam);
}


But that doesn't work. What can cause the problem?
AnswerRe: How to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
norish4-Jun-09 5:10
norish4-Jun-09 5:10 
GeneralRe: How to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
alikalik4-Jun-09 6:05
alikalik4-Jun-09 6:05 
QuestionRe: How to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
norish4-Jun-09 6:50
norish4-Jun-09 6:50 
QuestionRe: How to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
David Crow4-Jun-09 5:52
David Crow4-Jun-09 5:52 
AnswerRe: How to hook CBN_DROPDOWN and CBN_CLOSEUP ? Pin
alikalik4-Jun-09 5:57
alikalik4-Jun-09 5:57 
QuestionIdentifying disconnecting clients.. TCP/IP Server created using CAsyncSocket Pin
Shameer E.A.4-Jun-09 4:47
Shameer E.A.4-Jun-09 4:47 
AnswerRe: Identifying disconnecting clients.. TCP/IP Server created using CAsyncSocket Pin
norish4-Jun-09 5:35
norish4-Jun-09 5:35 
Questionsimple CObArray question? Pin
Software20074-Jun-09 4:36
Software20074-Jun-09 4:36 
GeneralRe: simple CObArray question? Pin
norish4-Jun-09 5:41
norish4-Jun-09 5:41 
GeneralRe: simple CObArray question? Pin
Software20074-Jun-09 6:05
Software20074-Jun-09 6:05 
QuestionOverloading Constructors - call complex from simple? [modified] Pin
Mike the Red4-Jun-09 4:19
Mike the Red4-Jun-09 4:19 
AnswerRe: Overloading Constructors - call complex from simple? Pin
led mike4-Jun-09 4:39
led mike4-Jun-09 4:39 
GeneralIn the case of such a hierarchy, would repeated code for each param list be best? -nt- Pin
Mike the Red4-Jun-09 4:49
Mike the Red4-Jun-09 4:49 
QuestionRe: Overloading Constructors - call complex from simple? Pin
David Crow4-Jun-09 5:59
David Crow4-Jun-09 5:59 
GeneralRe: Overloading Constructors - call complex from simple? Pin
norish4-Jun-09 6:11
norish4-Jun-09 6:11 
AnswerRe: Overloading Constructors - call complex from simple? Pin
Stuart Dootson4-Jun-09 7:15
professionalStuart Dootson4-Jun-09 7:15 
GeneralRe: Overloading Constructors - call complex from simple? Pin
led mike4-Jun-09 7:43
led mike4-Jun-09 7:43 

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.