Click here to Skip to main content
15,927,347 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 3:14
scorpion king28-Apr-08 3:14 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
David Crow28-Apr-08 3:37
David Crow28-Apr-08 3:37 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
scorpion king28-Apr-08 3:40
scorpion king28-Apr-08 3:40 
GeneralRe: Strange behavior / Click events on disabled button get queued and process later.. Pin
David Crow28-Apr-08 4:00
David Crow28-Apr-08 4:00 
GeneralNo static text in a modeless dialog Pin
piul28-Apr-08 2:28
piul28-Apr-08 2:28 
QuestionRe: No static text in a modeless dialog Pin
Nibu babu thomas28-Apr-08 3:15
Nibu babu thomas28-Apr-08 3:15 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:18
piul28-Apr-08 3:18 
GeneralRe: No static text in a modeless dialog Pin
Nibu babu thomas28-Apr-08 3:23
Nibu babu thomas28-Apr-08 3:23 
piul wrote:
No. I put it when drawing the dialog.


Can you show us the code where you are doing this?

Most probably it's(static) a local object that's why it's working with DoModal and not working with Create and ShowWindow, since DoModal blocks till the dialog is closed but this is not the case with Create and ShowWindow, they don't block so your static control will get destroyed hence it's not visible.


Nibu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:43
piul28-Apr-08 3:43 
GeneralRe: No static text in a modeless dialog Pin
piul28-Apr-08 3:56
piul28-Apr-08 3:56 
QuestionRe: No static text in a modeless dialog Pin
Rajkumar R28-Apr-08 4:23
Rajkumar R28-Apr-08 4:23 
GeneralRe: No static text in a modeless dialog Pin
Hamid_RT29-Apr-08 1:54
Hamid_RT29-Apr-08 1:54 
QuestionHow to change the Image and Text layout in the CListCtrl Pin
Somnath_Mali28-Apr-08 2:20
Somnath_Mali28-Apr-08 2:20 
GeneralRe: How to change the Image and Text layout in the CListCtrl Pin
Hamid_RT29-Apr-08 1:55
Hamid_RT29-Apr-08 1:55 
GeneralHowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CodingWorm28-Apr-08 1:33
CodingWorm28-Apr-08 1:33 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) [modified] Pin
CPallini28-Apr-08 1:38
mveCPallini28-Apr-08 1:38 
QuestionRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
David Crow29-Apr-08 3:03
David Crow29-Apr-08 3:03 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CPallini29-Apr-08 3:16
mveCPallini29-Apr-08 3:16 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
David Crow28-Apr-08 4:19
David Crow28-Apr-08 4:19 
GeneralRe: HowTo: Restrict the movement of an (owned ?) WS_POPUP to the client area of its owner (frame window) Pin
CodingWorm29-Apr-08 0:18
CodingWorm29-Apr-08 0:18 
Generalmessage deriven problem Pin
mmj28-Apr-08 1:28
mmj28-Apr-08 1:28 
GeneralRe: message deriven problem Pin
CPallini28-Apr-08 1:33
mveCPallini28-Apr-08 1:33 
GeneralRe: message deriven problem Pin
Rajkumar R28-Apr-08 2:07
Rajkumar R28-Apr-08 2:07 
GeneralCreate HBITMAP from HDC Pin
kutti28-Apr-08 0:59
kutti28-Apr-08 0:59 
GeneralRe: Create HBITMAP from HDC Pin
Rajkumar R28-Apr-08 2:19
Rajkumar R28-Apr-08 2: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.