Want RETURN to acts as TAB
Posted on 1998-08-13
I have a bunch of CEdits in a dialog. I've ordered their tabs and checked their tab stop attributes. The tab correctly, but what I want to do is be able to tab with the Tab key and Return key. I tried to use the ON_WM_KEYDOWN message:
void CMyClass::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
CScrollView::OnKeyDown(VK_TAB, nRepCnt, nFlags);
CScrollView::OnKeyDown(nChar, nRepCnt, nFlags);
What am I doing wrong?