Click here to Skip to main content
15,924,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Error with libraries? Pin
Heywood Jablome27-Mar-04 18:39
Heywood Jablome27-Mar-04 18:39 
GeneralRe: Error with libraries? Pin
satcat28-Mar-04 1:49
satcat28-Mar-04 1:49 
AnswerRe: Error with libraries? Pin
Ryan Binns28-Mar-04 17:20
Ryan Binns28-Mar-04 17:20 
QuestionHow to make button ,a default button at Run Time Pin
Touseef Afzal27-Mar-04 9:08
Touseef Afzal27-Mar-04 9:08 
AnswerRe: How to make button ,a default button at Run Time Pin
Neville Franks27-Mar-04 9:55
Neville Franks27-Mar-04 9:55 
GeneralRe: How to make button ,a default button at Run Time Pin
Steve S29-Mar-04 0:47
Steve S29-Mar-04 0:47 
GeneralInteresting #include Issue Pin
eoge27-Mar-04 8:14
eoge27-Mar-04 8:14 
GeneralRe: Interesting #include Issue Pin
Neville Franks27-Mar-04 9:47
Neville Franks27-Mar-04 9:47 
You need to forward declare the classes being used.

eg.

class A;

class B
{
    A*  m_pA;
...
};


This works where you are using pts to the associated classes. It won't work if instances of each class are defined with the other class. My guess is that isn't possible.

As an aside I have to wonder why you have two classes so tightly coupled to each other in this way.

Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
GeneralRe: Interesting #include Issue Pin
27-Mar-04 10:28
suss27-Mar-04 10:28 
GeneralRe: Interesting #include Issue Pin
Gary R. Wheeler28-Mar-04 14:05
Gary R. Wheeler28-Mar-04 14:05 
GeneralRe: Interesting #include Issue Pin
Prakash Nadar27-Mar-04 13:51
Prakash Nadar27-Mar-04 13:51 
GeneralSuppress return and escape in a dlg Pin
dolph_loe27-Mar-04 7:01
dolph_loe27-Mar-04 7:01 
GeneralRe: Suppress return and escape in a dlg Pin
Rob Manderson27-Mar-04 7:40
protectorRob Manderson27-Mar-04 7:40 
GeneralRe: Suppress return and escape in a dlg Pin
Michael Dunn27-Mar-04 7:57
sitebuilderMichael Dunn27-Mar-04 7:57 
GeneralRe: Suppress return and escape in a dlg Pin
Antony M Kancidrowski29-Mar-04 11:52
Antony M Kancidrowski29-Mar-04 11:52 
GeneralDifference Between CListCtrl and CListView Pin
laiju27-Mar-04 6:13
laiju27-Mar-04 6:13 
GeneralRe: Difference Between CListCtrl and CListView Pin
ian mariano27-Mar-04 6:42
ian mariano27-Mar-04 6:42 
GeneralRe: Difference Between CListCtrl and CListView Pin
laiju27-Mar-04 11:32
laiju27-Mar-04 11:32 
GeneralRe: Difference Between CListCtrl and CListView Pin
Gary R. Wheeler28-Mar-04 13:43
Gary R. Wheeler28-Mar-04 13:43 
GeneralGet The Frame Object Pin
ali khalilvand27-Mar-04 4:57
ali khalilvand27-Mar-04 4:57 
GeneralRe: Get The Frame Object Pin
Prakash Nadar27-Mar-04 6:09
Prakash Nadar27-Mar-04 6:09 
GeneralSetting the cursor Pin
dolph_loe27-Mar-04 3:04
dolph_loe27-Mar-04 3:04 
GeneralRe: Setting the cursor Pin
Branislav27-Mar-04 19:27
Branislav27-Mar-04 19:27 
GeneralRe: Setting the cursor Pin
dolph_loe27-Mar-04 23:22
dolph_loe27-Mar-04 23:22 
GeneralRe: Setting the cursor Pin
dolph_loe27-Mar-04 23:26
dolph_loe27-Mar-04 23: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.