Result
property meaning:
Specifies the value that is returned to window in response to handling the message
But MSDN
does not says anymore:
http://msdn.microsoft.com/en-us/library/system.windows.forms.message.result%28v=vs.110%29.aspx
I will remark this quote words from the user @Idle_Mind in this question Trying to write a better WndProc Handling:
You can set the Result() property to change the way the message is handled.
It is just like a winapi function return success value? Zero = true and non-zero = false, or what is?
Someone could explain me really what means the value of that propertie, in which circunstances I should need to use this value, and show me a code example of how I can use it handling messages from a wndproc
sub?
UPDATE:
Example of how I'm trying to handle WM_CREATE message...
Protected Overrides Sub WndProc(ByRef m As Message)
Select Case m.Msg
Case &H1 ' WM_CREATE
m.Result = -1
End Select
MyBase.WndProc(m)
End Sub