Click here to Skip to main content
15,911,762 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Single instance Pin
ThatsAlok19-Sep-06 0:48
ThatsAlok19-Sep-06 0:48 
GeneralRe: Single instance Pin
Lambry19-Sep-06 4:06
Lambry19-Sep-06 4:06 
GeneralRe: Single instance Pin
ThatsAlok19-Sep-06 19:07
ThatsAlok19-Sep-06 19:07 
QuestionProblem with Doc /View Pin
ramanand_bulusu18-Sep-06 4:24
ramanand_bulusu18-Sep-06 4:24 
AnswerRe: Problem with Doc /View Pin
Zac Howland18-Sep-06 4:45
Zac Howland18-Sep-06 4:45 
AnswerRe: Problem with Doc /View Pin
ThatsAlok18-Sep-06 5:06
ThatsAlok18-Sep-06 5:06 
GeneralRe: Problem with Doc /View Pin
tanvon malik18-Sep-06 7:24
tanvon malik18-Sep-06 7:24 
GeneralRe: Problem with Doc /View Pin
ThatsAlok18-Sep-06 18:11
ThatsAlok18-Sep-06 18:11 
Tanvon wrote:
there is no such API called GetDocument.
I again confirmed it from MSDN for my surety.
It is a member function of CView class

 Isn't i know that.... GetDocument itself imply that it will retrive the pointer to the document class associated with view... isn't are anybody using WIn32 to simulate DOC-View architecture....i believe no..
 and tell me what is MFC?.. a thin wrapper over win32!.

here what actual coding of GetDocument gives
_AFXWIN_INLINE CDocument* CView::GetDocument() const
    { ASSERT(this != NULL); return m_pDocument; }
 Actually many people here doesn't think what is api and what is funtion....
 like for Example if you use FindWindow() it is api... and CWnd::FindWindow() it is function..
 but if you refer them ... you will use this api or that api... what is api at end a function which providing
application programming interface


"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You

GeneralRe: Problem with Doc /View Pin
tanvon malik19-Sep-06 1:21
tanvon malik19-Sep-06 1:21 
AnswerRe: Problem with Doc /View Pin
tanvon malik18-Sep-06 7:16
tanvon malik18-Sep-06 7:16 
QuestionPartition Tabel Pin
EpicYeti18-Sep-06 4:19
EpicYeti18-Sep-06 4:19 
AnswerRe: Partition Tabel Pin
Steve S18-Sep-06 5:34
Steve S18-Sep-06 5:34 
QuestionUsing GDI+ load from Buffer [modified] Pin
SakoEBS18-Sep-06 4:17
SakoEBS18-Sep-06 4:17 
AnswerRe: Using GDI+ load from Buffer Pin
bob1697218-Sep-06 5:10
bob1697218-Sep-06 5:10 
GeneralRe: Using GDI+ load from Buffer Pin
SakoEBS18-Sep-06 6:17
SakoEBS18-Sep-06 6:17 
Questioncaption bar Pin
radhika2818-Sep-06 4:12
radhika2818-Sep-06 4:12 
AnswerRe: caption bar [modified] Pin
toxcct18-Sep-06 4:14
toxcct18-Sep-06 4:14 
GeneralRe: caption bar Pin
radhika2818-Sep-06 4:17
radhika2818-Sep-06 4:17 
GeneralRe: caption bar Pin
toxcct18-Sep-06 4:19
toxcct18-Sep-06 4:19 
GeneralRe: caption bar Pin
Nish Nishant18-Sep-06 4:20
sitebuilderNish Nishant18-Sep-06 4:20 
GeneralRe: caption bar Pin
toxcct18-Sep-06 4:22
toxcct18-Sep-06 4:22 
GeneralRe: caption bar Pin
Nish Nishant18-Sep-06 4:28
sitebuilderNish Nishant18-Sep-06 4:28 
GeneralRe: caption bar Pin
radhika2818-Sep-06 4:24
radhika2818-Sep-06 4:24 
GeneralRe: caption bar Pin
Nish Nishant18-Sep-06 4:34
sitebuilderNish Nishant18-Sep-06 4:34 
GeneralRe: caption bar Pin
radhika2818-Sep-06 4:48
radhika2818-Sep-06 4:48 

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.