** Never mind it works
So I understand that the OriginalEditProc stands for the Edit Proc in general and not specific per editbox control, right?
--------
One problem, how do i keep track of the OriginalEditProc values.
If i have more than one editbox control i would like to change, can i use only one Proc?
Code:
LRESULT CALLBACK MyEditBoxProc(HWND hwnd, UINT Msg, WPARAM wParam, LPARAM lParam)
{
if (Msg == WM_CHAR)
if (wParam == VK_TAB) {
SetFocus(GetNextDlgTabItem(GetParent(hwnd), hwnd, 0));
return 0;
}
return CallWindowProc(OriginalEditProc, hwnd, Msg, wParam, lParam);
}