Click here to Skip to main content
15,903,540 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with CArray Updated Pin
Tomasz Sowinski30-Aug-02 3:21
Tomasz Sowinski30-Aug-02 3:21 
GeneralRe: Problems with CArray Updated Pin
jhwurmbach30-Aug-02 3:48
jhwurmbach30-Aug-02 3:48 
GeneralProblems with CArray Pin
Koep30-Aug-02 0:48
Koep30-Aug-02 0:48 
GeneralRe: Problems with CArray Pin
mishgun30-Aug-02 1:35
mishgun30-Aug-02 1:35 
GeneralRe: Problems with CArray Pin
Koep30-Aug-02 1:43
Koep30-Aug-02 1:43 
GeneralCPrintDialog problem Pin
Wouter Dhondt29-Aug-02 23:58
Wouter Dhondt29-Aug-02 23:58 
GeneralRecompiler Engine Pin
Joel Holdsworth29-Aug-02 23:55
Joel Holdsworth29-Aug-02 23:55 
GeneralRe: Recompiler Engine Pin
Tomasz Sowinski30-Aug-02 0:03
Tomasz Sowinski30-Aug-02 0:03 
GeneralRe: Recompiler Engine Pin
Joel Holdsworth30-Aug-02 0:26
Joel Holdsworth30-Aug-02 0:26 
GeneralRe: Recompiler Engine Pin
Tomasz Sowinski30-Aug-02 0:37
Tomasz Sowinski30-Aug-02 0:37 
Generalload file in buffer Pin
Brakanjan29-Aug-02 22:44
Brakanjan29-Aug-02 22:44 
GeneralRe: load file in buffer Pin
jmkhael29-Aug-02 23:31
jmkhael29-Aug-02 23:31 
GeneralRe: load file in buffer Pin
Brakanjan30-Aug-02 2:49
Brakanjan30-Aug-02 2:49 
GeneralRe: load file in buffer Pin
Brakanjan30-Aug-02 2:56
Brakanjan30-Aug-02 2:56 
GeneralRe: load file in buffer Pin
pépé30-Aug-02 4:18
pépé30-Aug-02 4:18 
GeneralTree control alignment Pin
Anonymous29-Aug-02 22:40
Anonymous29-Aug-02 22:40 
GeneralRe: Tree control alignment Pin
Tomasz Sowinski29-Aug-02 23:34
Tomasz Sowinski29-Aug-02 23:34 
GeneralAccess of PropertyPage members Pin
Arjan Schouten29-Aug-02 22:39
Arjan Schouten29-Aug-02 22:39 
GeneralRe: Access of PropertyPage members Pin
Pavel Klocek29-Aug-02 23:17
Pavel Klocek29-Aug-02 23:17 
1) You can use IsKindOf:

CPropertyPage* page = GetPage(i); <br />
if(page.IsKindOf(RUNTIME_CLASS(CMainPage))) ((CMainPage*)page)->GetList();


2) If you have GetList() methods in all your pages, you can derive your pages from a intermediate class which defines the GetList() method as virtual:

class CListPage:CPropertyPage<br />
{<br />
    virtual CParameterList GetList()=0;<br />
    ...<br />
}<br />
<br />
class CMainPage:CListPage<br />
{<br />
   virtual CParameterList GetList(){...}<br />
   ...<br />
}


Sonork 100.15206;PavelK
GeneralRe: Access of PropertyPage members Pin
Arjan Schouten29-Aug-02 23:33
Arjan Schouten29-Aug-02 23:33 
GeneralA question about a strange "extern" statement. Pin
George Ma29-Aug-02 22:30
George Ma29-Aug-02 22:30 
GeneralRe: A question about a strange "extern" statement. Pin
Dominik Reichl29-Aug-02 22:41
Dominik Reichl29-Aug-02 22:41 
GeneralRe: A question about a strange "extern" statement. Pin
Tomasz Sowinski29-Aug-02 23:42
Tomasz Sowinski29-Aug-02 23:42 
GeneralRe: A question about a strange "extern" statement. Pin
Nish Nishant29-Aug-02 23:42
sitebuilderNish Nishant29-Aug-02 23:42 
GeneralRe: A question about a strange "extern" statement. Pin
Tomasz Sowinski29-Aug-02 23:51
Tomasz Sowinski29-Aug-02 23:51 

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.