Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internal memory management when using 'new'? Pin
David Crow29-Oct-03 3:19
David Crow29-Oct-03 3:19 
GeneralCEdit - how to get user confirmation via ENTER key Pin
srev28-Oct-03 22:27
srev28-Oct-03 22:27 
GeneralRe: CEdit - how to get user confirmation via ENTER key Pin
Roger Allen29-Oct-03 1:09
Roger Allen29-Oct-03 1:09 
GeneralRe: CEdit - how to get user confirmation via ENTER key Pin
srev29-Oct-03 2:16
srev29-Oct-03 2:16 
GeneralModeless Dialogues Pin
Alton Williams28-Oct-03 21:08
Alton Williams28-Oct-03 21:08 
GeneralRe: Modeless Dialogues Pin
KaЯl29-Oct-03 3:28
KaЯl29-Oct-03 3:28 
GeneralRe: Modeless Dialogues (box is not showing) Pin
Alton Williams29-Oct-03 21:06
Alton Williams29-Oct-03 21:06 
GeneralRe: Modeless Dialogues (box is not showing) Pin
KaЯl29-Oct-03 21:32
KaЯl29-Oct-03 21:32 
Alton Williams wrote:
I've tried that but dialog is still not opening
You have also to call pColourSelection->ShowWindow(SW_SHOW);
Are you sure the problem doesn't come from your CColourSelection class? Confused | :confused:

Alton Williams wrote:
Hence, it's not appropiate for CColourSelection to "commit suicide".
It's not exactly a suicide. The PostNcDestroy method is called after the destruction of the dialog box (destruction != deleting). This method allows to free the memory you've allocated with the new CColourSelection.

Check your mail, I've send a small app showing the use of a modeless dialog.

HTH,

K.







Silence Means Death
Stand On Your Feet
Inner Fear
Your Worst Enemy

GeneralCMDIChildWnd Scrollbars Pin
alex.barylski28-Oct-03 21:06
alex.barylski28-Oct-03 21:06 
GeneralRe: CMDIChildWnd Scrollbars Pin
KaЯl29-Oct-03 3:17
KaЯl29-Oct-03 3:17 
GeneralPreventing a window from becoming maximized Pin
Vancouver28-Oct-03 19:16
Vancouver28-Oct-03 19:16 
GeneralRe: Preventing a window from becoming maximized Pin
Mumiozol28-Oct-03 22:30
Mumiozol28-Oct-03 22:30 
GeneralUnfortunately this does not work Pin
Vancouver29-Oct-03 13:41
Vancouver29-Oct-03 13:41 
GeneralRe: Unfortunately this does not work Pin
KaЯl29-Oct-03 21:38
KaЯl29-Oct-03 21:38 
GeneralRe: Preventing a window from becoming maximized Pin
Blake Miller30-Oct-03 9:12
Blake Miller30-Oct-03 9:12 
GeneralKaЯl and Blake Pin
Vancouver30-Oct-03 14:41
Vancouver30-Oct-03 14:41 
Generalint nTemp=0xe Pin
FlyingDancer28-Oct-03 19:10
FlyingDancer28-Oct-03 19:10 
GeneralRe: int nTemp=0xe Pin
Michael Dunn28-Oct-03 19:26
sitebuilderMichael Dunn28-Oct-03 19:26 
GeneralRe: int nTemp=0xe Pin
FlyingDancer28-Oct-03 20:00
FlyingDancer28-Oct-03 20:00 
Generalvi ctags to vc++ Pin
Anonymous28-Oct-03 18:17
Anonymous28-Oct-03 18:17 
GeneralRe: vi ctags to vc++ Pin
David Crow29-Oct-03 3:27
David Crow29-Oct-03 3:27 
GeneralDisplaying Text in Center of Client Area Pin
Hashim Saleem28-Oct-03 15:25
Hashim Saleem28-Oct-03 15:25 
GeneralRe: Displaying Text in Center of Client Area Pin
Hashim Saleem28-Oct-03 15:42
Hashim Saleem28-Oct-03 15:42 
GeneralPaint problem with child dialogs and tab control Pin
LukeV28-Oct-03 14:25
LukeV28-Oct-03 14:25 
GeneralRe: Paint problem with child dialogs and tab control Pin
LukeV28-Oct-03 14:53
LukeV28-Oct-03 14:53 

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.