Click here to Skip to main content
15,923,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Force Painting Pin
Mark Salsbery20-Feb-07 13:49
Mark Salsbery20-Feb-07 13:49 
GeneralRe: MFC Force Painting Pin
Bram van Kampen19-Feb-07 13:50
Bram van Kampen19-Feb-07 13:50 
GeneralRe: MFC Force Painting Pin
Mark Salsbery19-Feb-07 13:55
Mark Salsbery19-Feb-07 13:55 
GeneralRe: MFC Force Painting Pin
Bram van Kampen19-Feb-07 15:23
Bram van Kampen19-Feb-07 15:23 
QuestionHow do I create 4 MDI child windows at start? Pin
Cengine19-Feb-07 12:43
Cengine19-Feb-07 12:43 
QuestionRe: How do I create 4 MDI child windows at start? Pin
Mark Salsbery19-Feb-07 13:16
Mark Salsbery19-Feb-07 13:16 
AnswerRe: How do I create 4 MDI child windows at start? Pin
Cengine19-Feb-07 13:24
Cengine19-Feb-07 13:24 
GeneralRe: How do I create 4 MDI child windows at start? Pin
Mark Salsbery19-Feb-07 13:51
Mark Salsbery19-Feb-07 13:51 
CWnd::Create won't help here. Since you are using MDI then you need to create MDI child windows
(CMDIChild) which are derived from CFrameWnd.

There's lots of ways to do this...

For pure doc/view (You have a document class, view class, and a CMultiDocTemplate associating
these) you can use the doc template and the CDocTemplate::CreateNewFrame method to create an
MDIChildWnd from a loaded document.

If you don't want to use doc/view then you can use
a) CMDIFrameWnd::CreateNewChild()
b) CFrameWnd::LoadFrame()
c) create a CMDIChildWnd (or derived) object and use CMDIChildWnd::Create() to create the Windows
object for it.

Each of these methods require different known parameters so you can choose whichever method
suits your needs.

Mark


"Do you know what it's like to fall in the mud and get kicked... in the head... with an iron boot?
Of course you don't, no one does. It never happens. It's a dumb question... skip it."

QuestionNeed printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
anand_study19-Feb-07 7:37
anand_study19-Feb-07 7:37 
AnswerRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
Mark Salsbery19-Feb-07 12:11
Mark Salsbery19-Feb-07 12:11 
GeneralRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
anand_study19-Feb-07 16:27
anand_study19-Feb-07 16:27 
GeneralRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
Mark Salsbery20-Feb-07 5:47
Mark Salsbery20-Feb-07 5:47 
GeneralRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
anand_study21-Feb-07 23:37
anand_study21-Feb-07 23:37 
GeneralRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
Mark Salsbery22-Feb-07 5:28
Mark Salsbery22-Feb-07 5:28 
GeneralRe: Need printing help - How to print on 1/4 the part of A4 paper on dot-matrix printer Pin
Mark Salsbery20-Feb-07 5:56
Mark Salsbery20-Feb-07 5:56 
Questionspamkiller by hirosh.. [modified] Pin
cheezuka19-Feb-07 7:21
cheezuka19-Feb-07 7:21 
QuestionRe: spamkiiller by hirosh.. Pin
David Crow19-Feb-07 7:24
David Crow19-Feb-07 7:24 
AnswerRe: spamkiiller by hirosh.. Pin
Ravi Bhavnani19-Feb-07 10:08
professionalRavi Bhavnani19-Feb-07 10:08 
JokeRe: spamkiller by hirosh.. Pin
Maximilien19-Feb-07 7:53
Maximilien19-Feb-07 7:53 
GeneralRe: spamkiller by hirosh.. Pin
Christian Graus19-Feb-07 8:51
protectorChristian Graus19-Feb-07 8:51 
AnswerRe: spamkiller by hirosh.. Pin
Christian Graus19-Feb-07 12:30
protectorChristian Graus19-Feb-07 12:30 
AnswerRe: spamkiller by hirosh.. Pin
Hamid_RT19-Feb-07 17:51
Hamid_RT19-Feb-07 17:51 
QuestionCPU MAC ADDRESS Pin
AprNgp19-Feb-07 7:01
AprNgp19-Feb-07 7:01 
AnswerRe: CPU MAC ADDRESS Pin
David Crow19-Feb-07 7:26
David Crow19-Feb-07 7:26 
GeneralRe: CPU MAC ADDRESS Pin
AprNgp19-Feb-07 7:30
AprNgp19-Feb-07 7:30 

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.