Click here to Skip to main content
15,916,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: modeless dialog box Pin
jhwurmbach4-Mar-03 0:21
jhwurmbach4-Mar-03 0:21 
GeneralRe: modeless dialog box Pin
Anonymous4-Mar-03 0:35
Anonymous4-Mar-03 0:35 
GeneralRe: modeless dialog box Pin
User 66584-Mar-03 0:56
User 66584-Mar-03 0:56 
GeneralRe: modeless dialog box Pin
jhwurmbach4-Mar-03 0:57
jhwurmbach4-Mar-03 0:57 
GeneralRe: modeless dialog box Pin
Anonymous4-Mar-03 1:04
Anonymous4-Mar-03 1:04 
GeneralRe: modeless dialog box Pin
User 66584-Mar-03 1:11
User 66584-Mar-03 1:11 
GeneralRe: modeless dialog box Pin
Anonymous4-Mar-03 1:19
Anonymous4-Mar-03 1:19 
GeneralRe: modeless dialog box Pin
jhwurmbach4-Mar-03 1:19
jhwurmbach4-Mar-03 1:19 
Have a IsInitialized() function in your dialog-class, returning a bool. That bool variable is set to false in the constructor, to true at the end of OnInitDialog().
Now, before you call SetWindowText() you check that IsInitialized() is true.

Better still, you use the 'Gregor S method'.




My opinions may have changed, but not the fact that I am right.
GeneralRe: modeless dialog box Pin
Anonymous6-Mar-03 5:41
Anonymous6-Mar-03 5:41 
Generalconfiguring output pane buffer size Pin
berndg3-Mar-03 23:59
berndg3-Mar-03 23:59 
GeneralPassing a BSTR parameter into a COM method. Pin
abhinarulkar3-Mar-03 23:22
abhinarulkar3-Mar-03 23:22 
GeneralRe: Passing a BSTR parameter into a COM method. Pin
Stefan Spenz3-Mar-03 23:36
Stefan Spenz3-Mar-03 23:36 
GeneralProblem in Dialog controls(MFC) Pin
summo3-Mar-03 23:22
summo3-Mar-03 23:22 
GeneralRe: Problem in Dialog controls(MFC) Pin
Stefan Spenz3-Mar-03 23:41
Stefan Spenz3-Mar-03 23:41 
GeneralViewing .NET Build Log During Compile Pin
[DAve]3-Mar-03 23:06
[DAve]3-Mar-03 23:06 
Generalstrange behaviour of my app Pin
r i s h a b h s3-Mar-03 23:01
r i s h a b h s3-Mar-03 23:01 
GeneralRe: strange behaviour of my app Pin
vikramlinux3-Mar-03 23:09
vikramlinux3-Mar-03 23:09 
GeneralRe: strange behaviour of my app Pin
r i s h a b h s4-Mar-03 0:34
r i s h a b h s4-Mar-03 0:34 
GeneralOpen directory dialog with MFC Pin
Bounlith3-Mar-03 21:26
Bounlith3-Mar-03 21:26 
GeneralRe: Open directory dialog with MFC Pin
Kannan Kalyanaraman3-Mar-03 21:41
Kannan Kalyanaraman3-Mar-03 21:41 
GeneralRe: Open directory dialog with MFC Pin
Rage3-Mar-03 21:44
professionalRage3-Mar-03 21:44 
GeneralRe: Open directory dialog with MFC Pin
Bounlith3-Mar-03 22:12
Bounlith3-Mar-03 22:12 
GeneralCreation of User DSN Pin
RaajaOfSelf3-Mar-03 20:53
RaajaOfSelf3-Mar-03 20:53 
GeneralRe: Creation of User DSN Pin
HJo3-Mar-03 21:53
HJo3-Mar-03 21:53 
GeneralRe: Creation of User DSN Pin
RaajaOfSelf3-Mar-03 22:47
RaajaOfSelf3-Mar-03 22:47 

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.