I have a window procdeure that I'm replacing for a RichEdit control.
Everything seems to work accept for sending hot key messages to
the parent window. Could someone take a look at my procedure
to see if they spot the problem?
Here's the window procedure:
This procedure is in a dll and it is not a normal Windows dll. It'sCode:LRESULT WINAPI RichEditProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { switch(uMsg) { case WM_RBUTTONUP: { eventproc("RCLICK"); return 0; } case WM_DESTROY: { SetWindowLong(hwnd, GWL_WNDPROC, (DWORD) wpOrigProc); RemoveProp(hwnd, "oldproc"); break; } } return CallWindowProc(wpOrigProc, hwnd, uMsg, wParam, lParam); }
written for Visual DialogScript. I'm thinking the LRESULT WINAPI
could bw wrong, might need to be LRESULT PASCAL but I don't
know for sure.
I should mention what I mean about hot-keys. I mean, for example,
the keys assigned to a menu item.
Thanks in advance,



LinkBack URL
About LinkBacks



Forgot to