HighTechTalks DotNet Forums  

Message Handling

Dotnet Academic General Discussions microsoft.public.dotnet.academic


Discuss Message Handling in the Dotnet Academic General Discussions forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
tweiss (AT) cad-ul (DOT) de
 
Posts: n/a

Default Message Handling - 01-29-2004 , 12:01 PM






Hello

i have a Problem with the OnChangeDevice event. I want to overwrite the metho

BOOL CChildView::OnDeviceChange( UINT nEventType, DWORD dwData

I wrote in the heade

protected
afx_msg void OnPaint()
DECLARE_MESSAGE_MAP(

public
afx_msg BOOL OnDeviceChange( UINT nEventType, DWORD dwData )


and in the Messagema

BEGIN_MESSAGE_MAP(CChildView, CWnd
ON_WM_PAINT(
ON_WM_DEVICECHANGE(
END_MESSAGE_MAP(

but the program did't stepp in the OnDeviceCanged()

Would anyone tell me why

Thank
Totti

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.