Click here to Skip to main content
15,921,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: c/c++, API, and BitBlt Questions Pin
SumGuy28-Feb-03 9:01
SumGuy28-Feb-03 9:01 
GeneralRe: c/c++, API, and BitBlt Questions Pin
rruge28-Feb-03 9:08
rruge28-Feb-03 9:08 
GeneralRe: c/c++, API, and BitBlt Questions Pin
SumGuy28-Feb-03 10:14
SumGuy28-Feb-03 10:14 
GeneralRe: c/c++, API, and BitBlt Questions Pin
Marshall1-Mar-03 1:19
Marshall1-Mar-03 1:19 
GeneralDialog Help Pin
Steven M Hunt28-Feb-03 8:22
Steven M Hunt28-Feb-03 8:22 
GeneralRe: Dialog Help Pin
Steven M Hunt28-Feb-03 9:39
Steven M Hunt28-Feb-03 9:39 
GeneralRe: Dialog Help Pin
Neville Franks28-Feb-03 9:46
Neville Franks28-Feb-03 9:46 
GeneralRe: Dialog Help Pin
yashraj28-Feb-03 19:37
yashraj28-Feb-03 19:37 
i guess that your question is about creating a new dialog window and then change the main dialog window text from this one.


To do this create a new dialog("newdlg") then create a new class("newwin") for it setting CDialog as the base class.

Now create a class variable "x" of the type "newwin" in the definition of the main dialog window.

Add a button in the main window and edit its code as :
x.Create("newdlg",this);
x.Showwinodow(SW_sHOW);

Now you can get the status of button/edit boxes in the new popup window by
using the class member format. eg if the edit box in the popup window is "ys"
then do something ..
it could be implemented as
if(x.listboxstring = "ys)
{
do something ....
}


i hope this may help you to get started.Big Grin | :-D



GeneralOnSizing() not firing.... Pin
ns28-Feb-03 8:21
ns28-Feb-03 8:21 
Generalso what message do I need to trap? Pin
ns28-Feb-03 8:27
ns28-Feb-03 8:27 
Generaltried spy++ Pin
ns28-Feb-03 8:40
ns28-Feb-03 8:40 
GeneralRe: OnSizing() not firing.... Pin
Neville Franks28-Feb-03 9:52
Neville Franks28-Feb-03 9:52 
GeneralRe: OnSizing() not firing.... Pin
nss28-Feb-03 10:09
nss28-Feb-03 10:09 
GeneralRe: OnSizing() not firing.... Pin
Chris Richardson28-Feb-03 10:09
Chris Richardson28-Feb-03 10:09 
Generalthanks everyone! Pin
nss28-Feb-03 10:22
nss28-Feb-03 10:22 
GeneralSimple CTime question Pin
Dave_28-Feb-03 7:35
Dave_28-Feb-03 7:35 
GeneralON_WM_SIZING question Pin
ns28-Feb-03 7:35
ns28-Feb-03 7:35 
GeneralRe: ON_WM_SIZING question Pin
Michael Dunn28-Feb-03 7:43
sitebuilderMichael Dunn28-Feb-03 7:43 
Generalthank you! Pin
ns28-Feb-03 8:25
ns28-Feb-03 8:25 
Generaldebugging MFC apps in WinXP/2000 Pin
mrawji28-Feb-03 7:13
mrawji28-Feb-03 7:13 
GeneralRe: debugging MFC apps in WinXP/2000 Pin
Neville Franks28-Feb-03 10:12
Neville Franks28-Feb-03 10:12 
GeneralEdit Box Pin
ZarrinPour28-Feb-03 6:27
ZarrinPour28-Feb-03 6:27 
GeneralRe: Edit Box Pin
palbano28-Feb-03 7:22
palbano28-Feb-03 7:22 
GeneralError assigning values?!! Pin
raner28-Feb-03 5:06
raner28-Feb-03 5:06 
GeneralRe: Error assigning values?!! Pin
AlexO28-Feb-03 5:50
AlexO28-Feb-03 5:50 

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.