Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Help With Arrays Pin
David Crow8-Aug-07 8:30
David Crow8-Aug-07 8:30 
GeneralRe: Help With Arrays Pin
simoncoul8-Aug-07 8:36
simoncoul8-Aug-07 8:36 
GeneralRe: Help With Arrays Pin
David Crow8-Aug-07 8:41
David Crow8-Aug-07 8:41 
GeneralRe: Help With Arrays Pin
simoncoul8-Aug-07 8:45
simoncoul8-Aug-07 8:45 
GeneralRe: Help With Arrays Pin
Russell'8-Aug-07 8:46
Russell'8-Aug-07 8:46 
GeneralRe: Help With Arrays Pin
simoncoul8-Aug-07 8:55
simoncoul8-Aug-07 8:55 
AnswerRe: Help With Arrays Pin
jhwurmbach8-Aug-07 8:16
jhwurmbach8-Aug-07 8:16 
QuestionGetting a document pointer in a class other than View? Pin
cwbenson8-Aug-07 7:00
cwbenson8-Aug-07 7:00 
How can I get a point to the document class. I tried copying from the view class header and body and putting it in myclass would not work (changing CControlView:: to myclass:Smile | :) and I got error C2143: syntax error : missing ';' before '*'

header:
public:
CControlDoc* GetDocument();


body:
CControlDoc* CControlView::GetDocument() // non-debug version is inline
{
ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CControlDoc)));
return (CControlDoc*)m_pDocument;
}

cwbenson
QuestionRe: Getting a document pointer in a class other than View? Pin
David Crow8-Aug-07 7:02
David Crow8-Aug-07 7:02 
AnswerRe: Getting a document pointer in a class other than View? Pin
jhwurmbach8-Aug-07 8:22
jhwurmbach8-Aug-07 8:22 
AnswerRe: Getting a document pointer in a class other than View? Pin
Nelek9-Aug-07 2:14
protectorNelek9-Aug-07 2:14 
Questionhaving problem with User defined message. Pin
alberthyc8-Aug-07 5:32
alberthyc8-Aug-07 5:32 
QuestionRe: having problem with User defined message. Pin
David Crow8-Aug-07 5:39
David Crow8-Aug-07 5:39 
AnswerRe: having problem with User defined message. Pin
alberthyc8-Aug-07 5:49
alberthyc8-Aug-07 5:49 
GeneralRe: having problem with User defined message. Pin
David Crow8-Aug-07 6:03
David Crow8-Aug-07 6:03 
GeneralRe: having problem with User defined message. Pin
alberthyc8-Aug-07 7:58
alberthyc8-Aug-07 7:58 
QuestionRe: having problem with User defined message. Pin
David Crow8-Aug-07 8:02
David Crow8-Aug-07 8:02 
AnswerRe: having problem with User defined message. Pin
alberthyc8-Aug-07 8:04
alberthyc8-Aug-07 8:04 
GeneralRe: having problem with User defined message. Pin
David Crow8-Aug-07 8:14
David Crow8-Aug-07 8:14 
GeneralRe: having problem with User defined message. Pin
alberthyc8-Aug-07 8:18
alberthyc8-Aug-07 8:18 
GeneralRe: having problem with User defined message. Pin
David Crow8-Aug-07 8:26
David Crow8-Aug-07 8:26 
GeneralRe: having problem with User defined message. Pin
alberthyc8-Aug-07 8:32
alberthyc8-Aug-07 8:32 
GeneralRe: having problem with User defined message. Pin
David Crow8-Aug-07 8:38
David Crow8-Aug-07 8:38 
GeneralRe: having problem with User defined message. Pin
JudyL_MD8-Aug-07 8:44
JudyL_MD8-Aug-07 8:44 
GeneralRe: having problem with User defined message. Pin
Mark Salsbery8-Aug-07 8:26
Mark Salsbery8-Aug-07 8:26 

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.