You are posting message to a wrong window. Try this:
Imports System.Runtime.Interop
Const EM_SETINPUTMODE As Integer = &HDE
Const EM_GETINPUTMODE As Integer = &HDD
Dim wparam As New IntPtr(0)
Dim lparam As New IntPtr(2)
Dim newmsg As New Microsoft.WindowsCE.Forms.Message
Dim test As New Microsoft.WindowsCE.Forms.MessageWindow
MyEditControl.Capture = True
Dim hWnd as IntPtr = GetCapture()
MyEditControl.Capture = False
I was hoping the EM_SETINPUTMODE will work, but had some suspicions. Let me
look into it and I'll get back top you.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.