|
-
Aug 31st, 2000, 10:47 AM
#1
Thread Starter
Frenzied Member
This is VB(like tou didn't know).
Public Function WindowProc(ByVal hwnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
WindowProc = CallWindowProc(PrevProc, hwnd, uMsg, wParam, lParam)
If uMsg = WM_RBUTTONDOWN Then
MsgBox "Ok..."
End If
End Function
PrevProc = SetWindowLong(F.hwnd, GWL_WNDPROC, AddressOf WindowProc)
How do i do this in VC++?
To subclass a window, to make that msg pop on some WM.
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
|