Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS6 and VS8 Pin
David Crow18-Nov-07 17:08
David Crow18-Nov-07 17:08 
GeneralRe: VS6 and VS8 Pin
Sarath C18-Nov-07 17:11
Sarath C18-Nov-07 17:11 
Questionmfc42 in vista Pin
Tara1417-Nov-07 19:18
Tara1417-Nov-07 19:18 
AnswerRe: mfc42 in vista Pin
toxcct18-Nov-07 4:52
toxcct18-Nov-07 4:52 
AnswerRe: mfc42 in vista Pin
Paresh Chitte18-Nov-07 18:06
Paresh Chitte18-Nov-07 18:06 
QuestionClass template argment list Pin
Oliver12317-Nov-07 10:27
Oliver12317-Nov-07 10:27 
AnswerRe: Class template argment list Pin
Chris Losinger17-Nov-07 12:50
professionalChris Losinger17-Nov-07 12:50 
AnswerRe: Class template argment list Pin
Mark Salsbery17-Nov-07 13:12
Mark Salsbery17-Nov-07 13:12 
Fixing the constructor/destructor syntax is one thing.

I'm not sure how you're going to get a template class through the
CWnd message map macros though...
//TestTemp.h
template <class T>
class CTestTemp : public CWnd
{
public:
    CTestTemp();
    virtual ~CTestTemp();

protected:
    DECLARE_MESSAGE_MAP()
};

//TestTemp.cpp
template <class T> CTestTemp<T>::CTestTemp()
{
}
template <class T> CTestTemp<T>::~CTestTemp()
{
}

<font color="Red">// I don't know how to make this next part work!</font>
BEGIN_MESSAGE_MAP(CTestTemp<int>, CWnd)
//{{AFX_MSG_MAP(CTestTemp)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
Mark





Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: Class template argment list Pin
Jheriko++17-Nov-07 16:22
Jheriko++17-Nov-07 16:22 
QuestionDeleting objects allocated in other objects [modified] Pin
codeprojecter_17-Nov-07 7:30
codeprojecter_17-Nov-07 7:30 
AnswerRe: Deleting objects allocated in other objects Pin
Jheriko++17-Nov-07 16:37
Jheriko++17-Nov-07 16:37 
GeneralRe: Deleting objects allocated in other objects Pin
codeprojecter_18-Nov-07 5:48
codeprojecter_18-Nov-07 5:48 
GeneralRe: Deleting objects allocated in other objects Pin
Jheriko++18-Nov-07 9:47
Jheriko++18-Nov-07 9:47 
AnswerRe: Deleting objects allocated in other objects Pin
Gary R. Wheeler18-Nov-07 0:26
Gary R. Wheeler18-Nov-07 0:26 
GeneralRe: Deleting objects allocated in other objects Pin
codeprojecter_18-Nov-07 5:52
codeprojecter_18-Nov-07 5:52 
QuestionWorking area of non-primary screens. Pin
RichardM117-Nov-07 5:32
RichardM117-Nov-07 5:32 
AnswerRe: Working area of non-primary screens. Pin
Nelek18-Nov-07 22:15
protectorNelek18-Nov-07 22:15 
GeneralRe: Working area of non-primary screens. Pin
RichardM119-Nov-07 2:29
RichardM119-Nov-07 2:29 
GeneralRe: Working area of non-primary screens. Pin
Nelek19-Nov-07 21:43
protectorNelek19-Nov-07 21:43 
GeneralRe: Working area of non-primary screens. Pin
RichardM123-Nov-07 4:29
RichardM123-Nov-07 4:29 
QuestionFix the window position Pin
CJ94200217-Nov-07 1:35
CJ94200217-Nov-07 1:35 
QuestionRe: Fix the window position Pin
bob1697217-Nov-07 3:53
bob1697217-Nov-07 3:53 
QuestionAbout Socket Pin
manish.patel17-Nov-07 0:52
manish.patel17-Nov-07 0:52 
AnswerRe: About Socket Pin
Mark Salsbery17-Nov-07 5:46
Mark Salsbery17-Nov-07 5:46 
GeneralRe: About Socket Pin
led mike17-Nov-07 6:01
led mike17-Nov-07 6:01 

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.