Click here to Skip to main content
15,910,981 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Command_Line_Parsing using getopt():QNX related. Pin
CPallini6-Mar-09 0:19
mveCPallini6-Mar-09 0:19 
GeneralRe: Command_Line_Parsing using getopt():QNX related. Pin
Raj-Ekoham DwitiyoNasti6-Mar-09 0:30
Raj-Ekoham DwitiyoNasti6-Mar-09 0:30 
QuestionRe: Command_Line_Parsing using getopt():QNX related. Pin
CPallini6-Mar-09 0:34
mveCPallini6-Mar-09 0:34 
AnswerRe: Command_Line_Parsing using getopt():QNX related. Pin
Raj-Ekoham DwitiyoNasti6-Mar-09 1:34
Raj-Ekoham DwitiyoNasti6-Mar-09 1:34 
GeneralRe: Command_Line_Parsing using getopt():QNX related. Pin
CPallini6-Mar-09 2:08
mveCPallini6-Mar-09 2:08 
GeneralRe: Command_Line_Parsing using getopt():QNX related. Pin
Raj-Ekoham DwitiyoNasti6-Mar-09 3:04
Raj-Ekoham DwitiyoNasti6-Mar-09 3:04 
GeneralRe: Command_Line_Parsing using getopt():QNX related. Pin
CPallini6-Mar-09 7:41
mveCPallini6-Mar-09 7:41 
QuestionSimple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A5-Mar-09 23:23
B_U_A5-Mar-09 23:23 
I have a dialog based application which has a tab control containing a handful of tabs.

For each tab dialog I have overriden the OnOK() and OnCancel() function with (empty) virtual ones, such that when inside the tab the Enter key or ESC key respectively doesn't let the tab content (child dialog resource, derived from CDialog) disappear (Thanks for the hint Cedric)
So far so good. All that works(worked) fine.

To be able to not only 'tab' within the tab control itself, but also out of it to the other controls (e.g. buttons) in my main dialog based application, I have selected the "Control Parent" check box in the Extended Styles for each child dialog.
Again that does the trick and I can now hop happily into the tab control, tab through all the controls there, and - after the last child control - I can tab out again to some of the other controls of the main window.

However, since I have selected the 'contrl parent' feature, all my "effort" Smile | :) regarding the overriding of OnOK) and OnCancel() seems to have been in vain, as now the ESC key or ENTER key will close the whole application, basically terminating my application.

I assume that somehow the repective messages get still handled/mapped and hence will be processed by the application to call a "Now-shut-down-the-whole-lot-please"-function, but I just don't have any idea how to avoid that.

I hope this makes sense. Any help would be most appreciated. Many thanks.
AnswerRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
«_Superman_»6-Mar-09 1:01
professional«_Superman_»6-Mar-09 1:01 
AnswerRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
Nishad S6-Mar-09 2:19
Nishad S6-Mar-09 2:19 
QuestionRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A6-Mar-09 9:21
B_U_A6-Mar-09 9:21 
QuestionRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A6-Mar-09 22:18
B_U_A6-Mar-09 22:18 
QuestionProblems with Overriding OnOK() and OnCancel() Pin
B_U_A7-Mar-09 16:17
B_U_A7-Mar-09 16:17 
AnswerRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
Nishad S8-Mar-09 5:31
Nishad S8-Mar-09 5:31 
QuestionRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A9-Mar-09 1:03
B_U_A9-Mar-09 1:03 
AnswerRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
Nishad S9-Mar-09 2:06
Nishad S9-Mar-09 2:06 
QuestionRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A9-Mar-09 23:50
B_U_A9-Mar-09 23:50 
AnswerRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
Nishad S10-Mar-09 23:44
Nishad S10-Mar-09 23:44 
GeneralRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
B_U_A12-Mar-09 22:32
B_U_A12-Mar-09 22:32 
GeneralRe: Simple Noob Question: Problem with "CONTROL PARENT" setting in tabbed dialog Pin
Nishad S13-Mar-09 1:59
Nishad S13-Mar-09 1:59 
Questioncreating toolbar for IE Pin
Ash_VCPP5-Mar-09 22:08
Ash_VCPP5-Mar-09 22:08 
AnswerRe: creating toolbar for IE Pin
SandipG 5-Mar-09 22:16
SandipG 5-Mar-09 22:16 
GeneralRe: creating toolbar for IE Pin
Ash_VCPP5-Mar-09 22:19
Ash_VCPP5-Mar-09 22:19 
AnswerRe: creating toolbar for IE Pin
Hamid_RT6-Mar-09 0:25
Hamid_RT6-Mar-09 0:25 
Questionwhat is "commit storage" any way? Pin
JackPuppy5-Mar-09 21:09
JackPuppy5-Mar-09 21:09 

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.