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

C / C++ / MFC

 
GeneralTransparent background for a Tree Ctrl Pin
Florin Ochiana16-Mar-03 12:04
Florin Ochiana16-Mar-03 12:04 
GeneralUrgent Checkbox help required Pin
phaedrus16-Mar-03 11:23
phaedrus16-Mar-03 11:23 
GeneralRe: Urgent Checkbox help required Pin
Florin Ochiana16-Mar-03 12:02
Florin Ochiana16-Mar-03 12:02 
GeneralRe: Urgent Checkbox help required Pin
Michael Dunn16-Mar-03 12:35
sitebuilderMichael Dunn16-Mar-03 12:35 
GeneralRe: Urgent Checkbox help required Pin
phaedrus16-Mar-03 15:30
phaedrus16-Mar-03 15:30 
GeneralAccelerator manager Pin
yooyo3d16-Mar-03 11:07
yooyo3d16-Mar-03 11:07 
GeneralDrag & Drop with IDragSourceHelper Pin
Hiusing16-Mar-03 10:02
Hiusing16-Mar-03 10:02 
GeneralTranslate VB -> C++ Pin
mduarte16-Mar-03 9:29
mduarte16-Mar-03 9:29 
GeneralRe: Translate VB -> C++ Pin
Christian Graus16-Mar-03 9:40
protectorChristian Graus16-Mar-03 9:40 
QuestionFind a substring in strings of COMBO? Pin
_skidrow_vn_16-Mar-03 9:22
_skidrow_vn_16-Mar-03 9:22 
AnswerRe: Find a substring in strings of COMBO? Pin
Dave Bryant16-Mar-03 9:26
Dave Bryant16-Mar-03 9:26 
GeneralProblems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:00
trimtrom16-Mar-03 9:00 
GeneralRe: Problems with Htmlhelp API library Pin
brandon187916-Mar-03 9:07
brandon187916-Mar-03 9:07 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:15
trimtrom16-Mar-03 9:15 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:13
Neville Franks16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:26
trimtrom16-Mar-03 9:26 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:30
Neville Franks16-Mar-03 9:30 
GeneralRe: Problems with Htmlhelp API library Pin
PJ Arends16-Mar-03 14:46
professionalPJ Arends16-Mar-03 14:46 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:13
Dave Bryant16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:20
Neville Franks16-Mar-03 9:20 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:22
Dave Bryant16-Mar-03 9:22 
GeneralInterdependent classes Pin
brandon187916-Mar-03 8:54
brandon187916-Mar-03 8:54 
GeneralRe: Interdependent classes Pin
Anonymous16-Mar-03 9:16
Anonymous16-Mar-03 9:16 
GeneralRe: Interdependent classes Pin
Dave Bryant16-Mar-03 9:17
Dave Bryant16-Mar-03 9:17 
class1.h

#if !defined(__CLASS1_H__)
#define __CLASS1_H__

// Forward declaration
class Class2;

class Class1
{
Class2* m_pClass2;

// Other stuff
};

#endif

class2.h

#if !defined(__CLASS2_H__)
#define __CLASS2_H__

// Forward declaration
class Class1;

class Class2
{
Class1* m_pClass1;

// Other stuff
};

#endif


Then include both of the header files in the implementation of these classes.

Dave
GeneralRe: Interdependent classes Pin
Neville Franks16-Mar-03 9:19
Neville Franks16-Mar-03 9:19 

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.