mfc >> Displaying a CFormView

by William Gower » Fri, 28 Nov 2003 13:00:23 GMT

I have an MDI app that has a menu item Customers. I would like to display a
CFormView called CCustomerView when the user clicks on the menu item,
Customers. How do I "pop up" a CFormView like a CDialog?




Similar Threads

1. display a CFormView template in full screen

Hi,

I have a SDI application with a CFormView and inside a dialog.
I would like to display this dialog in full screen(get the frame 
disappeared) and to display
some text when I press ALT-ENTER (a bit like MS Media player).

My question is how can I display my form in full screen ?

2. How to create CMainFrame-based dialog to display variable number of listboxes in a CFormView

3. Dialog editor loses functionality after changing base class from CFormView to another CFormView derived class

When I change the base class of a "form-view" from CFormView to a CFromView 
derived class, the dialog editor loses functionality like that of the 
"Messages" and "Control Events" tabs of the property grid. Also 
double-clicking on conrols does not add the default message handler.

Stranegly, in another project this does not happen.

Is there any hidden (or otherwise) setting/hack that must be done to prevent 
this?

Thanks
Bob 


4. What's wrong with my MSDN, everything displays a "The page cannot be displayed" page - CSharp/C#

5. (2nd attempt)How to create CMainFrame-based dialog to display variable number of listboxes in a CFormView

Hello,

I have an app where I need to display a variable number of  CListBoxes (in a
single row) in a CFormView.

I don't know how to dynamically create the CListBoxes and attach them to the
CFormView, something that would normally be done through resources if it
were a fixed number of listboxes..

Could anyone give me an idea of  how to dynamically allocate and attach
controls and then any cleanup?

I also need to know how to manually hook up a CMainFrame with a CFormView,
as the AppWizard only creates something like that as a topmost window, I
think.

Any help would be greatly appreciated.

Thanks,

Ivan



6. Displaying controls for different monitor display format settings

7. A question about Console window(display or not display)

I've redirected the (stdin stdout stderr) of a console window process
I spawned to a pipe.

And I want to display the redirected console window, the question is:
If I display it(set Create_new_CONSOLE in createprocess and some flags
in startupinfo), I cannot use the redirected way of pipe, which means
if i do not display, i can use the pipe communicating with the child
process.

Does it mean that as long as I disply the console window, windows will
change stdin stdout to "screen&keyboard" instead of my pipe?

8. Help with displaying messages on a Point of Sale pole display monitor