Click here to Skip to main content
15,893,508 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Jörgen Sigvardsson19-Jul-05 9:54
Jörgen Sigvardsson19-Jul-05 9:54 
GeneralRe: Duplicate Methos Name in ATL, please help I will rate yr answer Pin
Lim Bio Liong19-Jul-05 13:30
Lim Bio Liong19-Jul-05 13:30 
GeneralQuestion about ATL library ca2wex class Pin
Marcel_115-Jul-05 11:02
Marcel_115-Jul-05 11:02 
GeneralRe: Question about ATL library ca2wex class Pin
Michael Dunn15-Jul-05 14:10
sitebuilderMichael Dunn15-Jul-05 14:10 
General(ATL/COM/MFC/C++) Q about IE programming Pin
dojin7915-Jul-05 0:51
dojin7915-Jul-05 0:51 
GeneralRe: (ATL/COM/MFC/C++) Q about IE programming Pin
Douglas Troy15-Jul-05 5:33
Douglas Troy15-Jul-05 5:33 
GeneralRe: (ATL/COM/MFC/C++) Q about IE programming Pin
Member 212103815-Jul-05 20:23
Member 212103815-Jul-05 20:23 
Questionwhat's the right way to do this? Pin
HeartFriend14-Jul-05 22:31
HeartFriend14-Jul-05 22:31 
<br />
class CDialogPage1 : public CDialogImpl <CDialogPage1><br />
{<br />
enum { IDD = IDD_DLG1 };<br />
...<br />
}<br />
<br />
class CDialogPage2 : public CDialogImpl <CDialogPage2><br />
{<br />
enum { IDD = IDD_DLG2 };<br />
...<br />
}<br />
<br />
class CSettingDlg : public CDialogImpl <CSettingDlg><br />
{<br />
public:<br />
enum { IDD = IDD_SEETINGDLG };<br />
....<br />
    ??? GetDialog(UINT DIALOG_IDD) <br />
    {<br />
         //return m_page1 or m_page2 according to the param<br />
    }<br />
private:<br />
CDialogPage1 m_page1;<br />
CDialogPage2 m_page2;<br />
}<br />

how to write this GetDialog function?
or maybe i should change CDialogPage1 & CDialogPage2 , make them inherit from the same class? could anyone give me some hints?
AnswerRe: what's the right way to do this? Pin
Douglas Troy15-Jul-05 5:40
Douglas Troy15-Jul-05 5:40 
GeneralRe: what's the right way to do this? Pin
Anonymous15-Jul-05 6:05
Anonymous15-Jul-05 6:05 
GeneralRe: what's the right way to do this? Pin
Douglas Troy15-Jul-05 6:14
Douglas Troy15-Jul-05 6:14 
Generalstd::cin and unbuffering (noncanonical input) Pin
Harold Bamford14-Jul-05 8:08
Harold Bamford14-Jul-05 8:08 
GeneralVector class is missing 'rerase' Pin
ICantChangeMyAcct13-Jul-05 9:18
ICantChangeMyAcct13-Jul-05 9:18 
GeneralRe: Vector class is missing 'rerase' Pin
Nish Nishant13-Jul-05 9:48
sitebuilderNish Nishant13-Jul-05 9:48 
GeneralRe: Vector class is missing 'rerase' Pin
Roland Pibinger13-Jul-05 12:43
Roland Pibinger13-Jul-05 12:43 
GeneralRe: Vector class is missing 'rerase' Pin
Nemanja Trifunovic14-Jul-05 2:19
Nemanja Trifunovic14-Jul-05 2:19 
GeneralRe: Vector class is missing 'rerase' Pin
Rob Caldecott14-Jul-05 5:25
Rob Caldecott14-Jul-05 5:25 
GeneralBoost Pin
Rob Caldecott11-Jul-05 21:14
Rob Caldecott11-Jul-05 21:14 
GeneralRe: Boost Pin
Nemanja Trifunovic12-Jul-05 3:17
Nemanja Trifunovic12-Jul-05 3:17 
GeneralRe: Boost Pin
guypremont12-Jul-05 3:31
guypremont12-Jul-05 3:31 
GeneralRe: Boost Pin
Stuart Dootson12-Jul-05 8:30
professionalStuart Dootson12-Jul-05 8:30 
GeneralRe: Boost Pin
Rob Caldecott12-Jul-05 11:02
Rob Caldecott12-Jul-05 11:02 
GeneralRe: Boost Pin
CP Visitor12-Jul-05 22:41
CP Visitor12-Jul-05 22:41 
GeneralRe: Boost Pin
Rob Caldecott12-Jul-05 22:51
Rob Caldecott12-Jul-05 22:51 
GeneralRe: Boost Pin
CP Visitor13-Jul-05 6:28
CP Visitor13-Jul-05 6:28 

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.