|
-
Mar 6th, 2004, 04:05 AM
#1
Thread Starter
Lively Member
CompactFramework and Window Messages
Hi all,
I'm using the Compact Framework and VB.net to develop embedded apps.
I really like to intercept the WM_VSCROLL message of a DataGrid, since the CF boys forgotten to implement the Scroll event 
Someone can help me?
Thanks
-
Mar 6th, 2004, 04:27 AM
#2
Sleep mode
This is how you intercepts msgs in .NET application . If it doesn't work for you then I'm sorry it's my first shot with CFW .
VB Code:
'Declare message const
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Select Case m.Msg
Case WM_VSCROLL
'do this
End Select
MyBase.WndProc(m)
End Sub
-
Mar 6th, 2004, 05:31 AM
#3
Thread Starter
Lively Member
Originally posted by Pirate
This is how you intercepts msgs in .NET application . If it doesn't work for you then I'm sorry it's my first shot with CFW .
VB Code:
Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Sure this is CFW compliant?
-
Mar 6th, 2004, 05:38 AM
#4
Sleep mode
Told you not sure but it seems near to this :
VB Code:
Imports Microsoft.WindowCE.Forms
Protected Overrides Sub WndProc(ByRef m As Message)
Helpful link
-
Mar 6th, 2004, 08:05 AM
#5
Thread Starter
Lively Member
Originally posted by Pirate
Told you not sure but it seems near to this :
VB Code:
Imports Microsoft.WindowCE.Forms
Protected Overrides Sub WndProc(ByRef m As Message)
Excuse me... but I still see only a WndProc in the MessageWindow class, that I cannot figure out how this can be of some help.
Thanks.
-
Mar 6th, 2004, 08:59 AM
#6
Sleep mode
lol , then help yourself figuring out what's WndProc and what's it for . Can't help any better .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|