Click here to Skip to main content
15,914,386 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: adding external dependencies Pin
.dan.g.28-Aug-02 21:32
professional.dan.g.28-Aug-02 21:32 
GeneralInitializing data structure Pin
Todd Smith28-Aug-02 8:31
Todd Smith28-Aug-02 8:31 
GeneralRe: Initializing data structure Pin
Maciej Pirog28-Aug-02 9:35
Maciej Pirog28-Aug-02 9:35 
GeneralRe: Initializing data structure Pin
Todd Smith28-Aug-02 12:42
Todd Smith28-Aug-02 12:42 
GeneralRe: Initializing data structure Pin
Maciej Pirog29-Aug-02 2:34
Maciej Pirog29-Aug-02 2:34 
GeneralRe: Initializing data structure Pin
jhwurmbach29-Aug-02 2:43
jhwurmbach29-Aug-02 2:43 
GeneralRe: Initializing data structure Pin
Maciej Pirog29-Aug-02 3:53
Maciej Pirog29-Aug-02 3:53 
GeneralON_MESSAGE .NET Issue Pin
Ryan B.28-Aug-02 8:01
Ryan B.28-Aug-02 8:01 
I am opening and compiling some old code in Visual Studio .NET

I've run into a compiling problem..
BEGIN_MESSAGE_MAP(CChildView,CWnd )
	//{{AFX_MSG_MAP(CChildView)
	ON_WM_PAINT()
	ON_WM_CREATE()
	ON_WM_ERASEBKGND()
	ON_WM_SIZE()
	//}}AFX_MSG_MAP
	ON_MESSAGE(WM_FLIPWINDOW, OnFlipWindow)
END_MESSAGE_MAP()

tells me:
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChildView::* )(void)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'

whats happening here?
the Member Function is:
void CChildView::OnFlipWindow()

Ryan Baillargeon
Software Specialist
Fuel Cell Technologies Inc.
GeneralRe: ON_MESSAGE .NET Issue Pin
Fazlul Kabir28-Aug-02 8:46
Fazlul Kabir28-Aug-02 8:46 
GeneralRe: ON_MESSAGE .NET Issue Pin
Nick Hodapp28-Aug-02 9:59
sitebuilderNick Hodapp28-Aug-02 9:59 
GeneralRe: ON_MESSAGE .NET Issue Pin
Michael Dunn28-Aug-02 12:28
sitebuilderMichael Dunn28-Aug-02 12:28 
QuestionHow do I create a View and assing it his document class Pin
Jose Cruz28-Aug-02 7:46
Jose Cruz28-Aug-02 7:46 
AnswerRe: How do I create a View and assing it his document class Pin
Pavel Klocek28-Aug-02 11:03
Pavel Klocek28-Aug-02 11:03 
AnswerRe: How do I create a View and assing it his document class Pin
Pavel Klocek29-Aug-02 3:54
Pavel Klocek29-Aug-02 3:54 
GeneralCRichEditView without doc/view... Pin
Anonymous28-Aug-02 7:40
Anonymous28-Aug-02 7:40 
GeneralRe: CRichEditView without doc/view... Pin
.dan.g.28-Aug-02 21:36
professional.dan.g.28-Aug-02 21:36 
GeneralRe: CRichEditView without doc/view... Pin
Anonymous29-Aug-02 9:47
Anonymous29-Aug-02 9:47 
GeneralRe: CRichEditView without doc/view... Pin
.dan.g.1-Sep-02 13:55
professional.dan.g.1-Sep-02 13:55 
GeneralRe: CRichEditView without doc/view... Pin
.dan.g.2-Sep-02 15:33
professional.dan.g.2-Sep-02 15:33 
GeneralRe: CRichEditView without doc/view... Pin
Anonymous3-Sep-02 21:51
Anonymous3-Sep-02 21:51 
GeneralHelp!!! How to Use ActiveX control's Properties in VC++ Pin
david_fan28-Aug-02 7:23
david_fan28-Aug-02 7:23 
GeneralConnect more than two tables in CGridCtrl Pin
Pole28-Aug-02 6:56
Pole28-Aug-02 6:56 
GeneralRe: Connect more than two tables in CGridCtrl Pin
Mazdak28-Aug-02 7:59
Mazdak28-Aug-02 7:59 
GeneralFirst Chance exception Pin
boon kian28-Aug-02 6:43
boon kian28-Aug-02 6:43 
GeneralRe: First Chance exception Pin
Emilio Guijarro28-Aug-02 6:48
Emilio Guijarro28-Aug-02 6:48 

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.