Click here to Skip to main content
15,902,762 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Antialiased XP icons Pin
Shog918-Mar-02 10:58
sitebuilderShog918-Mar-02 10:58 
GeneralPopup menus don't disappear Pin
18-Mar-02 9:05
suss18-Mar-02 9:05 
GeneralRe: Popup menus don't disappear Pin
Michael Dunn18-Mar-02 10:27
sitebuilderMichael Dunn18-Mar-02 10:27 
GeneralAssert madness Pin
Todd Smith18-Mar-02 8:34
Todd Smith18-Mar-02 8:34 
GeneralRe: Assert madness Pin
Tomasz Sowinski18-Mar-02 8:53
Tomasz Sowinski18-Mar-02 8:53 
GeneralRe: Assert madness Pin
Todd Smith18-Mar-02 9:30
Todd Smith18-Mar-02 9:30 
GeneralRe: Assert madness Pin
Tomasz Sowinski18-Mar-02 9:55
Tomasz Sowinski18-Mar-02 9:55 
Generaltemplate class on CWinThread Pin
18-Mar-02 8:30
suss18-Mar-02 8:30 
I'm tring to make a template class as follows:

template <class t=""> class x1 : public CWinThread
{
DECLARE_DYNCREATE(x1)

.
.
.
}

In the CPP file on the IMPLEMENT_DYNCREATE( x1, CWinThread) I get the following errors:

: error C2955: 'x1' : use of class template requires template argument list
: error C2512: 'x1<t>' : no appropriate default constructor available


I've tried a few things but cant get this thing to compile. Is it futile to try and make a template on an MFC class?

Thanks.
GeneralRe: template class on CWinThread Pin
Tomasz Sowinski18-Mar-02 8:49
Tomasz Sowinski18-Mar-02 8:49 
QuestionHow to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:11
WookMaster18-Mar-02 7:11 
AnswerRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:18
Tomasz Sowinski18-Mar-02 7:18 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:27
WookMaster18-Mar-02 7:27 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:29
Tomasz Sowinski18-Mar-02 7:29 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:40
WookMaster18-Mar-02 7:40 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:38
Tomasz Sowinski18-Mar-02 7:38 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
WookMaster18-Mar-02 7:48
WookMaster18-Mar-02 7:48 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Tomasz Sowinski18-Mar-02 7:47
Tomasz Sowinski18-Mar-02 7:47 
GeneralRe: How to use WM_WTSSESSION_CHANGE? Pin
Blake Miller15-Apr-04 9:36
Blake Miller15-Apr-04 9:36 
GeneralDUN Pin
AusBloke18-Mar-02 6:28
AusBloke18-Mar-02 6:28 
GeneralRe: DUN Pin
Vladimir Georgiev18-Mar-02 7:58
Vladimir Georgiev18-Mar-02 7:58 
GeneralRe: DUN Pin
AusBloke18-Mar-02 9:25
AusBloke18-Mar-02 9:25 
GeneralRe: DUN Pin
Carlos Antollini18-Mar-02 8:42
Carlos Antollini18-Mar-02 8:42 
GeneralRe: DUN Pin
AusBloke18-Mar-02 9:24
AusBloke18-Mar-02 9:24 
GeneralRe: DUN Pin
19-Mar-02 7:16
suss19-Mar-02 7:16 
GeneralDrag & Drop Pin
Li Mu Bai18-Mar-02 5:53
Li Mu Bai18-Mar-02 5:53 

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.