Click here to Skip to main content
15,911,786 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionrun program have ado & datagrid in another computer? Pin
nemati14-Dec-01 20:32
nemati14-Dec-01 20:32 
GeneralActiveX Component Pin
San14-Dec-01 17:49
San14-Dec-01 17:49 
GeneralSSL client Pin
harish kota14-Dec-01 17:03
harish kota14-Dec-01 17:03 
QuestionHow to clone an existing document in an MDI application using code? Pin
14-Dec-01 15:35
suss14-Dec-01 15:35 
QuestionCatching null memory exceptions? Pin
danwatt14-Dec-01 12:20
danwatt14-Dec-01 12:20 
AnswerRe: Catching null memory exceptions? Pin
Tim Smith14-Dec-01 12:40
Tim Smith14-Dec-01 12:40 
Generalinter-dialog box communications Pin
Cam14-Dec-01 11:58
Cam14-Dec-01 11:58 
GeneralRe: inter-dialog box communications Pin
Christian Graus14-Dec-01 12:04
protectorChristian Graus14-Dec-01 12:04 
Create the dialog with this as the parent (m_Modeless.Create(this);) and store the value, or call GetParent and cast the return to an instance of your dialog class.

I tend to create modeless dialogs in the constructor, by doing this:

if (Create IDD, pParent)) ShowWindow(SW_SHOW);

and store my modeless dialogs as pointers.

Then I can do this

m_Modeless = new CMyModeless(this); // Dialog is now created.


Christian

After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001

Sonork ID 100.10002:MeanManOz
I live in Bob's HungOut now

GeneralRe: inter-dialog box communications Pin
Garth J Lancaster16-Dec-01 11:34
professionalGarth J Lancaster16-Dec-01 11:34 
GeneralRe: inter-dialog box communications Pin
Christian Graus16-Dec-01 12:03
protectorChristian Graus16-Dec-01 12:03 
GeneralRe: inter-dialog box communications Pin
Garth J Lancaster16-Dec-01 12:15
professionalGarth J Lancaster16-Dec-01 12:15 
GeneralRe: inter-dialog box communications Pin
Christian Graus16-Dec-01 12:30
protectorChristian Graus16-Dec-01 12:30 
GeneralMFC - SetDlgItemText() Pin
14-Dec-01 11:24
suss14-Dec-01 11:24 
GeneralRe: MFC - SetDlgItemText() Pin
Christian Graus14-Dec-01 11:30
protectorChristian Graus14-Dec-01 11:30 
GeneralRe: MFC - SetDlgItemText() Pin
Michael Dunn14-Dec-01 17:23
sitebuilderMichael Dunn14-Dec-01 17:23 
GeneralRe: MFC - SetDlgItemText() Pin
Carlos Antollini14-Dec-01 11:32
Carlos Antollini14-Dec-01 11:32 
GeneralRe: MFC - SetDlgItemText() Pin
Michael Dunn14-Dec-01 13:30
sitebuilderMichael Dunn14-Dec-01 13:30 
QuestionHow to get a pointer to an instance of a class... Pin
Sprudling14-Dec-01 11:15
Sprudling14-Dec-01 11:15 
AnswerRe: How to get a pointer to an instance of a class... Pin
Prem Kumar14-Dec-01 13:41
Prem Kumar14-Dec-01 13:41 
AnswerRe: How to get a pointer to an instance of a class... Pin
Erik Funkenbusch15-Dec-01 5:00
Erik Funkenbusch15-Dec-01 5:00 
GeneralTimer stuff Pin
Rickard Andersson2014-Dec-01 9:46
Rickard Andersson2014-Dec-01 9:46 
GeneralRe: Timer stuff Pin
Christian Graus14-Dec-01 10:26
protectorChristian Graus14-Dec-01 10:26 
GeneralRe: Timer stuff Pin
Rickard Andersson2014-Dec-01 10:59
Rickard Andersson2014-Dec-01 10:59 
GeneralRe: Timer stuff Pin
Christian Graus14-Dec-01 11:28
protectorChristian Graus14-Dec-01 11:28 
GeneralRe: Timer stuff Pin
Rickard Andersson2015-Dec-01 1:10
Rickard Andersson2015-Dec-01 1:10 

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.