Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inverse Hyperbolic Sine? Pin
kbmuri27-Jan-03 19:51
kbmuri27-Jan-03 19:51 
GeneralSetting Mouse cursor Pin
Mahesh Varma27-Jan-03 17:47
Mahesh Varma27-Jan-03 17:47 
GeneralRe: Setting Mouse cursor Pin
Rage27-Jan-03 20:52
professionalRage27-Jan-03 20:52 
GeneralRe: Setting Mouse cursor Pin
Mahesh Varma29-Jan-03 16:14
Mahesh Varma29-Jan-03 16:14 
GeneralSetting cursor for CRectTracker Pin
Quek Khoo Boon27-Jan-03 16:37
Quek Khoo Boon27-Jan-03 16:37 
GeneralRe: Setting cursor for CRectTracker Pin
Rage27-Jan-03 20:53
professionalRage27-Jan-03 20:53 
Generalpointer to CDocument Pin
raner27-Jan-03 15:32
raner27-Jan-03 15:32 
GeneralRe: pointer to CDocument Pin
Chris Losinger27-Jan-03 15:58
professionalChris Losinger27-Jan-03 15:58 
raner wrote:
Any comments to help me resolve this paradox?

there's no paradox. the "document" in doc-view is the data. the doc itself can contain other classes to actually hold the data (like arrays or whatnot), but the CDocument class is (theoretically) supposed to be the embodiment of your data. the view is just a way to look at the data.

raner wrote:
i need to get the pointer from a CObject derived class

the easiest way is to just carry around a pointer to your CDocument. but, you can also get a pointer to the current doc via CFrameWnd::GetActiveDocument (and you can get the frame wnd from CWinApp).

-c



Zzzzz...

GeneralRe: pointer to CDocument Pin
raner27-Jan-03 16:37
raner27-Jan-03 16:37 
GeneralRe: pointer to CDocument Pin
Chris Losinger27-Jan-03 17:23
professionalChris Losinger27-Jan-03 17:23 
GeneralRe: pointer to CDocument Pin
raner27-Jan-03 18:36
raner27-Jan-03 18:36 
GeneralRe: pointer to CDocument Pin
Chris Losinger27-Jan-03 19:30
professionalChris Losinger27-Jan-03 19:30 
GeneralRe: pointer to CDocument Pin
raner29-Jan-03 6:27
raner29-Jan-03 6:27 
GeneralRe: pointer to CDocument Pin
Chris Losinger29-Jan-03 12:22
professionalChris Losinger29-Jan-03 12:22 
Generalquestion about video files... Pin
joshfl27-Jan-03 14:17
joshfl27-Jan-03 14:17 
GeneralRe: question about video files... Pin
Mike Nordell27-Jan-03 14:36
Mike Nordell27-Jan-03 14:36 
GeneralMaking EXE hidden and still capturing screen to bm file. Pin
mkashifkkj27-Jan-03 13:39
mkashifkkj27-Jan-03 13:39 
GeneralRe: Making EXE hidden and still capturing screen to bm file. Pin
Mike Nordell27-Jan-03 16:25
Mike Nordell27-Jan-03 16:25 
GeneralRe: Making EXE hidden and still capturing screen to bm file. Pin
Rage27-Jan-03 20:56
professionalRage27-Jan-03 20:56 
GeneralRe: Making EXE hidden and still capturing screen to bm file. Pin
Mike Nordell27-Jan-03 21:25
Mike Nordell27-Jan-03 21:25 
GeneralRe: Making EXE hidden and still capturing screen to bm file. Pin
Rage28-Jan-03 2:02
professionalRage28-Jan-03 2:02 
GeneralEver heard of Feng Yuan? Questions about his SysCall Program,... Pin
ursus zeta27-Jan-03 13:12
ursus zeta27-Jan-03 13:12 
GeneralRe: Ever heard of Feng Yuan? Questions about his SysCall Program,... Pin
Christian Graus27-Jan-03 14:50
protectorChristian Graus27-Jan-03 14:50 
GeneralRe: Ever heard of Feng Yuan? Questions about his SysCall Program,... Pin
Mike Nordell27-Jan-03 16:00
Mike Nordell27-Jan-03 16:00 
GeneralThanks Pin
ursus zeta28-Jan-03 8:44
ursus zeta28-Jan-03 8:44 

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.