I dont know what I'm doing wrong. I'm tyring to use SetCapture and I get an error:
VB Code:
<DllImport("user32.dll")> _ Private Function SetCapture(ByVal hwnd As IntPtr) As IntPtr End Function
I call the function like this:
SetCapture me.handle
here's the error
An unhandled exception of type 'System.InvalidProgramException' occurred in extracontrols.dll
Additional information: Error: PInvoke item (field,method) must be Static


Reply With Quote
