Click here to Skip to main content
15,912,665 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: PropertyPages and data Pin
David Crow11-Sep-06 3:59
David Crow11-Sep-06 3:59 
GeneralRe: PropertyPages and data Pin
Mark F.14-Sep-06 12:02
Mark F.14-Sep-06 12:02 
QuestionRe: PropertyPages and data Pin
David Crow15-Sep-06 2:44
David Crow15-Sep-06 2:44 
QuestionConflict with wmplayer Pin
aritosteles10-Sep-06 12:21
aritosteles10-Sep-06 12:21 
QuestionNeed Help !!!! New To C++ / ifstream & ofstream info Pin
Mark_Murphy10-Sep-06 11:17
Mark_Murphy10-Sep-06 11:17 
AnswerRe: Need Help !!!! New To C++ / ifstream & ofstream info Pin
Christian Graus10-Sep-06 12:11
protectorChristian Graus10-Sep-06 12:11 
GeneralRe: Need Help !!!! New To C++ / ifstream & ofstream info Pin
Mark_Murphy10-Sep-06 12:44
Mark_Murphy10-Sep-06 12:44 
QuestionVC++ 6.0, MFC: Two different views attached to same document. Pin
requemao10-Sep-06 9:52
requemao10-Sep-06 9:52 
Following the CHKBOOK sample in MSDN I finally have two
different views associated with the same document, and working
simultaneously. The problem is that when I run my program I
only get the first view. The second view only appears when I
*open* a document from a file, and not when I start a new one.

The cause is no wonder, because the piece of code that opens
the second view is only inside the OpenDocumentFile() function.
That makes sense in the sample, which is designed to work always
on a file (either is opens an existing file, or it creates a new
one).

Q: What code should I add where, for my application to open both
views on a *new* document?

Furthermore, I have learnt that you can resize a view by calling
its parent frame's MoveWindow() function. I would like to size
each of my two views to a certain desired size at startup. What is
the appropriate place to add this code?
AnswerRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 10:28
Jun Du10-Sep-06 10:28 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
requemao10-Sep-06 11:24
requemao10-Sep-06 11:24 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 14:01
Jun Du10-Sep-06 14:01 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
requemao10-Sep-06 15:17
requemao10-Sep-06 15:17 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 15:39
Jun Du10-Sep-06 15:39 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du10-Sep-06 16:17
Jun Du10-Sep-06 16:17 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
requemao11-Sep-06 2:21
requemao11-Sep-06 2:21 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du11-Sep-06 4:16
Jun Du11-Sep-06 4:16 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
requemao11-Sep-06 6:39
requemao11-Sep-06 6:39 
GeneralRe: VC++ 6.0, MFC: Two different views attached to same document. Pin
Jun Du11-Sep-06 6:59
Jun Du11-Sep-06 6:59 
QuestionGDI+ FontRenderingHint Pin
bob1697210-Sep-06 8:49
bob1697210-Sep-06 8:49 
Questionlparam Pin
Waldermort10-Sep-06 7:56
Waldermort10-Sep-06 7:56 
AnswerRe: lparam Pin
Waldermort10-Sep-06 8:09
Waldermort10-Sep-06 8:09 
GeneralRe: lparam Pin
Jörgen Sigvardsson10-Sep-06 13:44
Jörgen Sigvardsson10-Sep-06 13:44 
QuestionHow can I combine two hex values into one integer value? Pin
TylerD7510-Sep-06 7:24
TylerD7510-Sep-06 7:24 
AnswerRe: How can I combine two hex values into one integer value? Pin
Waldermort10-Sep-06 8:06
Waldermort10-Sep-06 8:06 
GeneralRe: How can I combine two hex values into one integer value? Pin
TylerD7510-Sep-06 8:20
TylerD7510-Sep-06 8:20 

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.