Click here to Skip to main content
15,902,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: closing of a dialog box on button click problem! Pin
_AnsHUMAN_ 9-Nov-08 21:19
_AnsHUMAN_ 9-Nov-08 21:19 
GeneralRe: closing of a dialog box on button click problem! Pin
SandipG 9-Nov-08 21:26
SandipG 9-Nov-08 21:26 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 22:23
Dhiraj kumar Saini9-Nov-08 22:23 
GeneralRe: closing of a dialog box on button click problem! Pin
enhzflep9-Nov-08 22:30
enhzflep9-Nov-08 22:30 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 22:50
Dhiraj kumar Saini9-Nov-08 22:50 
GeneralRe: closing of a dialog box on button click problem! Pin
enhzflep9-Nov-08 22:57
enhzflep9-Nov-08 22:57 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini9-Nov-08 23:05
Dhiraj kumar Saini9-Nov-08 23:05 
GeneralRe: closing of a dialog box on button click problem! Pin
Iain Clarke, Warrior Programmer10-Nov-08 0:00
Iain Clarke, Warrior Programmer10-Nov-08 0:00 
Your getting beyond anyone's ability to help you here. You need to put breakpoints in your code, and see what error codes are.

My suspicion is your CEmotionsDlg is starting, and stopping almost straight away.

Put a breakpoint in the OnKillFocus handler, and see if I'm right. Put a breakpoint in the OnInitDialog handler, see if it gets called. Put a breakpoint on the m_EmotionsDlg.DoModal(); line and follow the code inside. Do you get errors?
If in doubt, put breakpoints everywhere!

Maybe you have a breakpoint somewhere, and the act of swapping to the debugger is losing focus on your dialog, and...

Iain.
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 0:52
Dhiraj kumar Saini10-Nov-08 0:52 
GeneralRe: closing of a dialog box on button click problem! Pin
Iain Clarke, Warrior Programmer10-Nov-08 1:20
Iain Clarke, Warrior Programmer10-Nov-08 1:20 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 2:00
Dhiraj kumar Saini10-Nov-08 2:00 
AnswerRe: closing of a dialog box on button click problem! Pin
David Crow10-Nov-08 3:23
David Crow10-Nov-08 3:23 
GeneralRe: closing of a dialog box on button click problem! Pin
Dhiraj kumar Saini10-Nov-08 18:14
Dhiraj kumar Saini10-Nov-08 18:14 
QuestionRe: closing of a dialog box on button click problem! Pin
David Crow11-Nov-08 3:23
David Crow11-Nov-08 3:23 
QuestionGet System Fixed Drive Pin
cpvc++9-Nov-08 18:47
cpvc++9-Nov-08 18:47 
AnswerRe: Get System Fixed Drive Pin
Hamid_RT9-Nov-08 20:16
Hamid_RT9-Nov-08 20:16 
QuestionRe: Get System Fixed Drive Pin
David Crow10-Nov-08 3:24
David Crow10-Nov-08 3:24 
QuestionHelp please Pin
dtaylor019-Nov-08 18:31
dtaylor019-Nov-08 18:31 
AnswerRe: Help please Pin
enhzflep9-Nov-08 19:11
enhzflep9-Nov-08 19:11 
AnswerRe: Help please Pin
Iain Clarke, Warrior Programmer9-Nov-08 22:02
Iain Clarke, Warrior Programmer9-Nov-08 22:02 
QuestionRe: Help please Pin
CPallini9-Nov-08 23:05
mveCPallini9-Nov-08 23:05 
AnswerRe: Help please Pin
Member 419459310-Nov-08 3:21
Member 419459310-Nov-08 3:21 
GeneralRe: Help please Pin
CPallini10-Nov-08 3:36
mveCPallini10-Nov-08 3:36 
QuestionDLL PROBLEM Pin
Member 37948639-Nov-08 18:30
Member 37948639-Nov-08 18:30 
AnswerRe: DLL PROBLEM Pin
Hamid_RT9-Nov-08 20:19
Hamid_RT9-Nov-08 20:19 

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.