Click here to Skip to main content
16,006,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Global variable in MFC Pin
Nish Nishant22-Feb-02 22:22
sitebuilderNish Nishant22-Feb-02 22:22 
GeneralRe: Global variable in MFC Pin
23-Feb-02 0:10
suss23-Feb-02 0:10 
GeneralOnPaint Handling... Pin
John Cruz22-Feb-02 18:30
John Cruz22-Feb-02 18:30 
GeneralRe: OnPaint Handling... Pin
Paul M Watt22-Feb-02 22:15
mentorPaul M Watt22-Feb-02 22:15 
GeneralRe: OnPaint Handling... Pin
John Cruz23-Feb-02 2:39
John Cruz23-Feb-02 2:39 
GeneralVC6 Macros: Object model shortcomings & bugs Pin
rseidl22-Feb-02 18:01
rseidl22-Feb-02 18:01 
GeneralRe: VC6 Macros: Object model shortcomings & bugs Pin
rseidl24-Feb-02 21:05
rseidl24-Feb-02 21:05 
GeneralReplacing one CFormView derived view with another Pin
Aaron Schaefer22-Feb-02 17:20
Aaron Schaefer22-Feb-02 17:20 
OK,

Last question today. I am using the CDynViewDocTemplate class from the MSJ, where the doc template is supposed to swap views in a frame at run time for the same document. I have no problems running the sample, but run into trouble when I try and use this in my app. I am getting a debug assertion when the ReplaceView method of the doc template is called, something about don't paint the view until after you have called SetScrollInfo or something or other with CScrollView. I noticed the views in the sample from this MSJ artical were CView derived, not CScrollView derived. Anybody had any success with something similar? The initial view comes up fine, but swapping them out seems to be a problem.

Thanks,

Aaron
GeneralRe: Replacing one CFormView derived view with another Pin
Mazdak22-Feb-02 22:01
Mazdak22-Feb-02 22:01 
GeneralSelectObject(HBITMAP) problem. Pin
22-Feb-02 16:49
suss22-Feb-02 16:49 
GeneralRe: SelectObject(HBITMAP) problem. Pin
Paul M Watt22-Feb-02 18:21
mentorPaul M Watt22-Feb-02 18:21 
GeneralRe: SelectObject(HBITMAP) problem. Pin
23-Feb-02 12:27
suss23-Feb-02 12:27 
GeneralRe: SelectObject(HBITMAP) problem. Pin
Paul M Watt23-Feb-02 16:07
mentorPaul M Watt23-Feb-02 16:07 
GeneralProgrammatically Send a menu command Pin
Aaron Schaefer22-Feb-02 16:18
Aaron Schaefer22-Feb-02 16:18 
GeneralRe: Programmatically Send a menu command Pin
Michael Dunn22-Feb-02 16:26
sitebuilderMichael Dunn22-Feb-02 16:26 
GeneralRe: Programmatically Send a menu command Pin
22-Feb-02 16:32
suss22-Feb-02 16:32 
Generalwriting to a file Pin
Steve L.22-Feb-02 14:32
Steve L.22-Feb-02 14:32 
GeneralRe: writing to a file Pin
22-Feb-02 16:29
suss22-Feb-02 16:29 
QuestionResource ID for standard "drop" cursor? Pin
David Fleming22-Feb-02 12:14
David Fleming22-Feb-02 12:14 
AnswerRe: Resource ID for standard "drop" cursor? Pin
Henry Jacobs22-Feb-02 12:58
Henry Jacobs22-Feb-02 12:58 
GeneralAnother MFC Doc/View Question Pin
Aaron Schaefer22-Feb-02 11:22
Aaron Schaefer22-Feb-02 11:22 
GeneralRe: Another MFC Doc/View Question Pin
Michael Dunn22-Feb-02 13:11
sitebuilderMichael Dunn22-Feb-02 13:11 
GeneralMoving objects in GDI+ Pin
Mazdak22-Feb-02 10:57
Mazdak22-Feb-02 10:57 
GeneralRe: Moving objects in GDI+ Pin
Nish Nishant22-Feb-02 11:10
sitebuilderNish Nishant22-Feb-02 11:10 
GeneralRe: Moving objects in GDI+ Pin
Mazdak22-Feb-02 11:42
Mazdak22-Feb-02 11:42 

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.