|
-
Oct 17th, 2001, 12:40 PM
#1
Thread Starter
New Member
lParam
I created my own message ans I subclassed WindProc. My problem is I dont know how to retrieve the string contained in the lparam.
Code :
dim variant_message as variant
variant_message = "Hello world!"
SendMessage hwndWin, WM_MYMESSAGE, 0, ByVal CStr(variant_Message)
Public Function WindProc(ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
If wMsg = WM_MYMESSAGE Then
if lParam <> 0 then
What I have to do here ???????
Exit Function
End If
WindProc = CallWindowProc(WndProcOld&, hwnd&, wMsg&, wParam&, lParam&)
End Function
Thanks in advance
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
|