Click here to Skip to main content
15,920,633 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Trap Windows TaskManager end task me. Pin
KiangGiap Lau12-Dec-03 7:24
KiangGiap Lau12-Dec-03 7:24 
GeneralVisual C++ with sql query problem in Visual Studio.net Pin
sunny_rajwadi11-Dec-03 22:57
sunny_rajwadi11-Dec-03 22:57 
GeneralRe: Visual C++ with sql query problem in Visual Studio.net Pin
Anthony_Yio11-Dec-03 23:08
Anthony_Yio11-Dec-03 23:08 
GeneralKodak Image Edit Pin
satadru11-Dec-03 21:55
satadru11-Dec-03 21:55 
GeneralDialog boxes and views Pin
Sitaram Sukumar11-Dec-03 21:40
Sitaram Sukumar11-Dec-03 21:40 
GeneralRe: Dialog boxes and views Pin
Lido Paul11-Dec-03 21:52
Lido Paul11-Dec-03 21:52 
GeneralRe: Dialog boxes and views Pin
Sitaram Sukumar11-Dec-03 22:20
Sitaram Sukumar11-Dec-03 22:20 
GeneralRe: Dialog boxes and views Pin
Antti Keskinen12-Dec-03 1:27
Antti Keskinen12-Dec-03 1:27 
I assume here that you have a SDI application, which consists of a frame window with menu and one view.

When you dismiss the dialog, you can get the necessary data values either by accessing them directly using GetDlgItem or by using the DDX system. Now, if you wish to create a new frame window, then you need to derive two new classes: one from CFrameWnd and one from CView. The frame window is created, and when created, it creates one view for itself.

After this, you can write your stuff into the view by using TextOut functions as necessary.

If you are developing an MDI application, you only need to derive a class from CMDIChild. Then create a new child window, specify the MDI frame window as parent, and use TextOut functions to output text into the child window.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Dialog boxes and views Pin
Sitaram Sukumar14-Dec-03 18:52
Sitaram Sukumar14-Dec-03 18:52 
GeneralRe: Dialog boxes and views Pin
Antti Keskinen15-Dec-03 0:25
Antti Keskinen15-Dec-03 0:25 
GeneralRe: Dialog boxes and views Pin
Balkrishna Talele12-Dec-03 0:28
Balkrishna Talele12-Dec-03 0:28 
Generalsaving private processor Pin
R. Thomas11-Dec-03 21:03
R. Thomas11-Dec-03 21:03 
GeneralRe: saving private processor Pin
Peter Molnar12-Dec-03 9:59
Peter Molnar12-Dec-03 9:59 
Questionhow get CComboBox input Pin
google7311-Dec-03 20:15
google7311-Dec-03 20:15 
AnswerRe: how get CComboBox input Pin
l a u r e n11-Dec-03 20:26
l a u r e n11-Dec-03 20:26 
GeneralRe: how get CComboBox input Pin
google7311-Dec-03 21:13
google7311-Dec-03 21:13 
GeneralRe: how get CComboBox input Pin
Lido Paul11-Dec-03 21:45
Lido Paul11-Dec-03 21:45 
GeneralRe: how get CComboBox input Pin
google7311-Dec-03 22:40
google7311-Dec-03 22:40 
GeneralRe: how get CComboBox input Pin
Cedric Moonen12-Dec-03 1:14
Cedric Moonen12-Dec-03 1:14 
GeneralRe: how get CComboBox input Pin
Lido Paul13-Dec-03 14:14
Lido Paul13-Dec-03 14:14 
QuestionHow to detect driver's read/write attribute Pin
Lido Paul11-Dec-03 19:51
Lido Paul11-Dec-03 19:51 
QuestionHow to convert hWnd to CWnd Pin
Anonymous11-Dec-03 19:24
Anonymous11-Dec-03 19:24 
AnswerRe: How to convert hWnd to CWnd Pin
Jon Sagara11-Dec-03 19:43
Jon Sagara11-Dec-03 19:43 
AnswerRe: How to convert hWnd to CWnd Pin
Balkrishna Talele12-Dec-03 0:24
Balkrishna Talele12-Dec-03 0:24 
Generalenumeration of network & local printer from win 98 client machine Pin
skpanda11-Dec-03 19:21
skpanda11-Dec-03 19:21 

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.