This is a discussion on How to 'connect' up my MessageWindow derived class? within the Mobile Software Development forums, part of the Software Development category; I have a class derived from Microsoft.WindowsCE.Forms and overriding the WndProc method. Can anyone tell me the next ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| I have a class derived from Microsoft.WindowsCE.Forms and overriding the WndProc method. Can anyone tell me the next step to have an instance of this class process the messages for my main application or form? If that's not clear, I'd like to know how to connect my class so its WndProc method is called for incoming messages. Thanks |
| Sponsored Links |
| |||
| You can't "connect" the WndProc that you get in the MessageWindow with any other windows. Instead, you can either use the NativeWindow class I've implemented long time ago: Alex Yakhnin or you can use this sample from CF team: .NET Compact Framework Team : Subclassing controls in .NETCF 2.0, part 1 |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to connect C with DataBase? | yuva | C and C++ Programming | 4 | 03-21-2008 09:35 PM |
| Debug class and Trace class | simplesabita | Software Testing | 3 | 08-18-2007 12:30 AM |
| Can we inherit the java class in C# class | vigneshgets | C# Programming | 1 | 08-09-2007 07:42 AM |
| Is there any way to use keyPressed method of Canvas class in Form class? | bluesky | Mobile Software Development | 1 | 07-25-2007 06:02 AM |
| What is super class sub class in error? | santoshmalvi | Software Testing | 1 | 04-16-2007 01:20 AM |