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

C / C++ / MFC

 
AnswerRe: before ask question here, i have Pin
prasad_som22-Aug-06 19:59
prasad_som22-Aug-06 19:59 
Generalok, thanks, let me try Pin
ikohl22-Aug-06 20:30
ikohl22-Aug-06 20:30 
Generalstill fail Pin
ikohl22-Aug-06 20:41
ikohl22-Aug-06 20:41 
AnswerRe: still fail Pin
prasad_som22-Aug-06 20:46
prasad_som22-Aug-06 20:46 
Generalreally thanks, it succeeds, but Pin
ikohl22-Aug-06 20:48
ikohl22-Aug-06 20:48 
AnswerRe: really thanks, it succeeds, but Pin
prasad_som22-Aug-06 20:55
prasad_som22-Aug-06 20:55 
Generalit's ok in sdi program Pin
ikohl22-Aug-06 21:09
ikohl22-Aug-06 21:09 
GeneralRe: it's ok in sdi program Pin
prasad_som22-Aug-06 21:31
prasad_som22-Aug-06 21:31 
Actually, problem was you can't use SetFocus unless that window ,parent window is visible.
OnActivateView is one place where you can achieve this. You can use its parameters for certain checks.
Other place I feel is overriding WM_SHOWWINDOW, but it will get called once.
You can look for such messages and use SetFocus there.


Generalok, i will review it, really thanks for your help Pin
ikohl22-Aug-06 22:43
ikohl22-Aug-06 22:43 
Questionseparate thread Pin
thathvamsi22-Aug-06 17:35
thathvamsi22-Aug-06 17:35 
AnswerRe: separate thread Pin
Stephen Hewitt22-Aug-06 17:39
Stephen Hewitt22-Aug-06 17:39 
GeneralRe: separate thread Pin
thathvamsi22-Aug-06 18:03
thathvamsi22-Aug-06 18:03 
GeneralRe: separate thread Pin
Stephen Hewitt22-Aug-06 18:40
Stephen Hewitt22-Aug-06 18:40 
QuestionHow can I let my program delete itself after began?? Pin
codeproject201622-Aug-06 15:30
codeproject201622-Aug-06 15:30 
AnswerRe: How can I let my program delete itself after began?? [modified] Pin
jk chan22-Aug-06 15:40
jk chan22-Aug-06 15:40 
AnswerRe: How can I let my program delete itself after began?? Pin
codeproject201622-Aug-06 15:47
codeproject201622-Aug-06 15:47 
AnswerRe: How can I let my program delete itself after began?? Pin
Christian Graus22-Aug-06 17:32
protectorChristian Graus22-Aug-06 17:32 
GeneralRe: How can I let my program delete itself after began?? Pin
jk chan23-Aug-06 14:18
jk chan23-Aug-06 14:18 
GeneralRe: How can I let my program delete itself after began?? Pin
Christian Graus23-Aug-06 14:28
protectorChristian Graus23-Aug-06 14:28 
QuestionMinimizing windows Pin
Waldermort22-Aug-06 12:51
Waldermort22-Aug-06 12:51 
AnswerRe: Minimizing windows Pin
Christian Graus22-Aug-06 13:09
protectorChristian Graus22-Aug-06 13:09 
GeneralRe: Minimizing windows Pin
Waldermort22-Aug-06 13:55
Waldermort22-Aug-06 13:55 
AnswerRe: Minimizing windows Pin
Jörgen Sigvardsson22-Aug-06 13:46
Jörgen Sigvardsson22-Aug-06 13:46 
QuestionIn MFC, how can I find the actual signature of a function which is combined with a specific notification [modified] Pin
David.YueZuo22-Aug-06 12:33
David.YueZuo22-Aug-06 12:33 
AnswerRe: In MFC, how can I find the actual signature of a function which is combined with a specific notification Pin
Mike Dimmick23-Aug-06 10:54
Mike Dimmick23-Aug-06 10:54 

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.