Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Registering a Win32 DLL Pin
SiddharthAtw17-Feb-04 20:57
SiddharthAtw17-Feb-04 20:57 
GeneralRe: Registering a Win32 DLL Pin
Prakash Nadar17-Feb-04 21:35
Prakash Nadar17-Feb-04 21:35 
GeneralRe: Registering a Win32 DLL Pin
Steve S18-Feb-04 0:20
Steve S18-Feb-04 0:20 
GeneralRe: Registering a Win32 DLL Pin
John M. Drescher18-Feb-04 0:10
John M. Drescher18-Feb-04 0:10 
GeneralRe: Registering a Win32 DLL Pin
Prakash Nadar18-Feb-04 17:42
Prakash Nadar18-Feb-04 17:42 
GeneralRe: Registering a Win32 DLL Pin
John M. Drescher18-Feb-04 18:16
John M. Drescher18-Feb-04 18:16 
GeneralOnFileNew() Pin
Liyana17-Feb-04 18:54
Liyana17-Feb-04 18:54 
GeneralRe: OnFileNew() Pin
Curi0us_George17-Feb-04 19:31
Curi0us_George17-Feb-04 19:31 
If I'm understanding the problem correctly (I'm not an MFC guy), it sounds like calling the OnFileNew() function would just be a work around anyway. I think you should probably be storing, inside your CView subclass, the necessary data to reconstruct the display when zooming. If that overhead is too large (i.e. too memory intensive), then I'd recommend creating some sort of object to encapsulate access to the file, with the necessary functions to read the data as many times as necessary. Then you should be able to share that object between the CWinApp object and the CView object.
GeneralRe: OnFileNew() Pin
Liyana18-Feb-04 19:41
Liyana18-Feb-04 19:41 
GeneralRe: OnFileNew() Pin
Curi0us_George19-Feb-04 0:59
Curi0us_George19-Feb-04 0:59 
GeneralDesign of application Pin
Anonymous17-Feb-04 16:19
Anonymous17-Feb-04 16:19 
GeneralRe: Design of application Pin
John M. Drescher17-Feb-04 17:33
John M. Drescher17-Feb-04 17:33 
GeneralC++ helper books Pin
Strider_200117-Feb-04 15:49
Strider_200117-Feb-04 15:49 
GeneralRe: C++ helper books Pin
Member 88819117-Feb-04 21:17
Member 88819117-Feb-04 21:17 
QuestionDo I make "Dll" in my Application? Pin
Solid7717-Feb-04 15:32
Solid7717-Feb-04 15:32 
AnswerRe: Do I make "Dll" in my Application? Pin
John M. Drescher17-Feb-04 17:46
John M. Drescher17-Feb-04 17:46 
GeneralRe: Dear John... another Question !! Pin
Solid7717-Feb-04 21:07
Solid7717-Feb-04 21:07 
GeneralRe: Dear John... another Question !! Pin
John M. Drescher17-Feb-04 23:56
John M. Drescher17-Feb-04 23:56 
GeneralRe: Dear John... another Question !! Pin
22491718-Feb-04 0:17
22491718-Feb-04 0:17 
AnswerRe: Do I make "Dll" in my Application? Pin
John M. Drescher17-Feb-04 17:48
John M. Drescher17-Feb-04 17:48 
Questionicons of task manager?? Pin
fordge17-Feb-04 15:15
fordge17-Feb-04 15:15 
AnswerRe: icons of task manager?? Pin
Michael Dunn17-Feb-04 20:15
sitebuilderMichael Dunn17-Feb-04 20:15 
GeneralCD drive name Pin
aguess17-Feb-04 15:13
aguess17-Feb-04 15:13 
GeneralRe: CD drive name Pin
Michael Dunn17-Feb-04 20:20
sitebuilderMichael Dunn17-Feb-04 20:20 
GeneralDelete File Pin
psyclope17-Feb-04 14:52
psyclope17-Feb-04 14:52 

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.