how to place CFromview on CDialog? [modified]
-
could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?
modified on Sunday, November 8, 2009 7:40 PM
Do you mean CFormView?
Величие не Бога может быть недооценена.
-
could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?
modified on Sunday, November 8, 2009 7:40 PM
Why would you even want to? :confused: Just add the controls you need to the dialog template.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
could i place a CFromView class on a CDialog class int a dialog-based app? how to place CFromview on CDialog? I mean: I have a dialog template with CFromView class ,could I doModal this dialog?
modified on Sunday, November 8, 2009 7:40 PM
Hi, you can add a TabWnd to the Dialog. Then you can add a CFormView to this TabWnd. When you move/resize the TabWnd, you can "hide" the TabWnd and you only see the active CFormView. Naturally you can switch the View into the TabWnd with another View... I hope this helps you Greetings