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
Printable View
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
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
Sure this is CFW compliant?Quote:
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)
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
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.Quote:
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)
Thanks.
lol , then help yourself figuring out what's WndProc and what's it for . Can't help any better .