Window Procedure Question
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's
LRESULT WINAPI RichEditProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
SetWindowLong(hwnd, GWL_WNDPROC, (DWORD) wpOrigProc);
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,