Click here to Skip to main content
15,898,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change String Table ID Pin
Dave Bryant11-Nov-03 16:16
Dave Bryant11-Nov-03 16:16 
GeneralRe: Change String Table ID Pin
vancouver77711-Nov-03 16:24
vancouver77711-Nov-03 16:24 
GeneralRe: Change String Table ID Pin
Michael Dunn11-Nov-03 19:13
sitebuilderMichael Dunn11-Nov-03 19:13 
GeneralUpload file using Wininet Pin
Member 65656011-Nov-03 9:55
Member 65656011-Nov-03 9:55 
GeneralRe: Upload file using Wininet Pin
Johnny ²11-Nov-03 11:41
Johnny ²11-Nov-03 11:41 
GeneralRe: Upload file using Wininet Pin
Member 65656012-Nov-03 0:58
Member 65656012-Nov-03 0:58 
GeneralProblem storing pointer to parent Pin
srev11-Nov-03 9:20
srev11-Nov-03 9:20 
GeneralRe: Problem storing pointer to parent Pin
TFrancis11-Nov-03 9:45
TFrancis11-Nov-03 9:45 
Try forward declaring the parent class in the child's header file. Something like this:

// CChildDlg.h

class CParentView;

class CChildDlg
{
...
CParentView* m_pView;
};

and then #include the parent's header in CChildDlg.cpp where you can actually use the pointer.

Please note, some professor teaching OO design will tell you that this is a sign of a design with a high amount of coupling and thus bad. But I'm not a professor teaching OO design, so I'm not going to tell you that.
GeneralRe: Problem storing pointer to parent Pin
srev11-Nov-03 9:50
srev11-Nov-03 9:50 
GeneralRe: Problem storing pointer to parent Pin
Christian Graus11-Nov-03 9:46
protectorChristian Graus11-Nov-03 9:46 
GeneralRe: Problem storing pointer to parent Pin
Antti Keskinen11-Nov-03 10:13
Antti Keskinen11-Nov-03 10:13 
GeneralRe: Problem storing pointer to parent Pin
srev11-Nov-03 10:44
srev11-Nov-03 10:44 
GeneralCompiling error Pin
Azzedine11-Nov-03 9:07
Azzedine11-Nov-03 9:07 
GeneralRe: Compiling error Pin
David Crow11-Nov-03 9:46
David Crow11-Nov-03 9:46 
QuestionReduce flicker in ListView ? Pin
_skidrow_vn_11-Nov-03 7:59
_skidrow_vn_11-Nov-03 7:59 
AnswerRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:18
David Crow11-Nov-03 8:18 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 8:39
Signal-911-Nov-03 8:39 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:44
David Crow11-Nov-03 8:44 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 11:40
Signal-911-Nov-03 11:40 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow12-Nov-03 2:58
David Crow12-Nov-03 2:58 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-912-Nov-03 9:37
Signal-912-Nov-03 9:37 
Generalopening a web file Pin
doctorpi11-Nov-03 7:57
doctorpi11-Nov-03 7:57 
GeneralRe: opening a web file Pin
David Crow11-Nov-03 8:12
David Crow11-Nov-03 8:12 
GeneralRe: opening a web file Pin
doctorpi11-Nov-03 8:16
doctorpi11-Nov-03 8:16 
GeneralRe: opening a web file Pin
RaajaOfSelf11-Nov-03 22:40
RaajaOfSelf11-Nov-03 22:40 

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.