Click here to Skip to main content
15,921,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OnIdle() not getting focus [modified] Pin
rp_suman19-Jul-07 17:46
rp_suman19-Jul-07 17:46 
GeneralRe: OnIdle() not getting focus Pin
Mark Salsbery19-Jul-07 20:14
Mark Salsbery19-Jul-07 20:14 
GeneralRe: OnIdle() not getting focus [modified] Pin
rp_suman19-Jul-07 20:57
rp_suman19-Jul-07 20:57 
GeneralRe: OnIdle() not getting focus Pin
Mark Salsbery20-Jul-07 5:05
Mark Salsbery20-Jul-07 5:05 
GeneralRe: OnIdle() not getting focus Pin
rp_suman22-Jul-07 19:09
rp_suman22-Jul-07 19:09 
GeneralRe: OnIdle() not getting focus Pin
Mark Salsbery23-Jul-07 5:08
Mark Salsbery23-Jul-07 5:08 
GeneralRe: OnIdle() not getting focus Pin
rp_suman26-Jul-07 18:44
rp_suman26-Jul-07 18:44 
GeneralRe: OnIdle() not getting focus Pin
rp_suman19-Jul-07 22:46
rp_suman19-Jul-07 22:46 
Hi Mark,
If I dispatch the message from OnKickIdle() I am getting the missing message most of the times. The code is:
LRESULT CMIDIDlg::OnKickIdle(WPARAM wp, LPARAM lp)<br />
{<br />
	MSG msg;<br />
	if(GetMessage(&msg,NULL,0,MM_MIM_LONGDATA)){<br />
		if(msg.message != WM_KICKIDLE)<br />
			DispatchMessage(&msg);<br />
	}<br />
	return 0L;<br />
}<br />

I am going to try some other methods like Win 32 project instead of MFC etc.
Thanks for the help!!
Best Regards,
Suman
P.S. As Saturday & Sunday are holiday I will come again on monday.
Mark, Dont foget to relax & rest while hard work.
GeneralRe: OnIdle() not getting focus Pin
Mark Salsbery20-Jul-07 5:08
Mark Salsbery20-Jul-07 5:08 
GeneralRe: OnIdle() not getting focus Pin
rp_suman22-Jul-07 18:48
rp_suman22-Jul-07 18:48 
QuestionChecking a valid pointer Pin
Electronic7518-Jul-07 21:37
Electronic7518-Jul-07 21:37 
AnswerRe: Checking a valid pointer Pin
James R. Twine19-Jul-07 1:01
James R. Twine19-Jul-07 1:01 
QuestionRe: Checking a valid pointer Pin
David Crow19-Jul-07 2:53
David Crow19-Jul-07 2:53 
AnswerRe: Checking a valid pointer Pin
Mike Dimmick19-Jul-07 3:04
Mike Dimmick19-Jul-07 3:04 
AnswerRe: Checking a valid pointer Pin
DevMentor.org19-Jul-07 11:22
DevMentor.org19-Jul-07 11:22 
QuestionUsing ADODC.. Pin
indray2j18-Jul-07 21:32
indray2j18-Jul-07 21:32 
AnswerRe: Using ADODC.. Pin
Karismatic19-Jul-07 0:42
Karismatic19-Jul-07 0:42 
Questionhelp me in removing these warnings Pin
neha.agarwal2718-Jul-07 21:31
neha.agarwal2718-Jul-07 21:31 
AnswerRe: help me in removing these warnings Pin
CPallini18-Jul-07 21:51
mveCPallini18-Jul-07 21:51 
GeneralRe: help me in removing these warnings Pin
rp_suman18-Jul-07 21:59
rp_suman18-Jul-07 21:59 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 22:10
mveCPallini18-Jul-07 22:10 
GeneralRe: help me in removing these warnings Pin
neha.agarwal2718-Jul-07 22:28
neha.agarwal2718-Jul-07 22:28 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 22:38
mveCPallini18-Jul-07 22:38 
GeneralRe: help me in removing these warnings Pin
neha.agarwal2718-Jul-07 23:07
neha.agarwal2718-Jul-07 23:07 
GeneralRe: help me in removing these warnings Pin
CPallini18-Jul-07 23:22
mveCPallini18-Jul-07 23: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.