Help .. Please: CWnd::OnDeviceChange 
Author Message
 Help .. Please: CWnd::OnDeviceChange

How do I properly declare and override this
function?  I'm trying to write a short application
that reacts to the user inserting a pc card.
Very much appreciate any assistance.

-----------------** -- Posted from CodeGuru -- **-----------------
http://www.*-*-*.com/ ;  The website for Visual C++ programmers.



Mon, 09 Jul 2001 03:00:00 GMT  
 Help .. Please: CWnd::OnDeviceChange
from an earlier post

###########################################
Add this to your class' message map:ON_MESSAGE(WM_DEVICECHANGE,
OnDeviceChange)
and add a method:LRESULT MyWndClass::OnDeviceChange(WPARAM wp, LPARAM
lp){//...}
Hope this helps,--

Ian T Zimmerman
Box 13445
Berkeley CA 94712 USA

############################################
--
----------------------------------------
Rajesh Parikh
Microsoft Certified Solution Developer

----------------------------------------

Quote:

>How do I properly declare and override this
>function?  I'm trying to write a short application
>that reacts to the user inserting a pc card.
>Very much appreciate any assistance.

>-----------------** -- Posted from CodeGuru -- **-----------------
>http://www.codeguru.com/    The website for Visual C++ programmers.



Tue, 10 Jul 2001 03:00:00 GMT  
 Help .. Please: CWnd::OnDeviceChange

Thank you so much Rajesh.  I'll give that a try!
Don B.


Quote:
>from an earlier post

>###########################################
>Add this to your class' message map:ON_MESSAGE(WM_DEVICECHANGE,
>OnDeviceChange)
>and add a method:LRESULT MyWndClass::OnDeviceChange(WPARAM wp, LPARAM
>lp){//...}
>Hope this helps,--

>Ian T Zimmerman
>Box 13445
>Berkeley CA 94712 USA

>############################################
>--
>----------------------------------------
>Rajesh Parikh
>Microsoft Certified Solution Developer

>----------------------------------------

>>How do I properly declare and override this
>>function?  I'm trying to write a short application
>>that reacts to the user inserting a pc card.
>>Very much appreciate any assistance.

>>-----------------** -- Posted from CodeGuru -- **-----------------
>>http://www.codeguru.com/    The website for Visual C++ programmers.

-----------------** -- Posted from CodeGuru -- **-----------------
http://www.codeguru.com/    The website for Visual C++ programmers.


Tue, 10 Jul 2001 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Please help!!!!Please help!!!!Please help!!!!Please help!!!!Please help!!!!Please help!!!!Please help!!!!

2. Please help!!!!Please help!!!!Please help!!!!

3. Help! (CWnd::Invalidate() and CWnd::SetFocus())

4. OnDeviceChange() problem

5. WM_DEVICECHANGE and OnDeviceChange()

6. NEED HELP WITH PRITING AN ARRAY, PLEASE PLEASE HELP

7. PLEASE PLEASE HELP HELP...question on interleaving C functions

8. help: Guru needed please please please

9. HELP please on QUEUES!! please, please, please, please,please...

10. How to put a CWnd within another CWnd?

11. calling DestroyWindow in CWnd::~CWnd

12. Confused!!! CWnd::GetDlgItem or CWnd::GetDescendantWindow

 

 
Powered by phpBB® Forum Software