Hi,
I have two CEdit's with WS_TABSTOP property, but tabing (moving between editboxes with TAB / SHIFT+TAB) is not working. As I understood I have to put IsDialogMessage(); function in message loop, but how? ... I'm using macro for messages:
Code:class MainWin: public CFrameWnd
{
public:
...
void OnCreate()
{
CEdit* pEdit = new CEdit;
pEdit->Create ( WS_TABSTOP | WS_CHILD | WS_VISIBLE | WS_BORDER,
CRect(x, y + b + s, xf, y + 2*b + s), this, id);
}
DECLARE_MESSAGE_MAP()
};
BEGIN_MESSAGE_MAP( MainWin, CFrameWnd )
ON_COMMAND(ID_MENU_SAVEDAT, OnSaveDat)
ON_COMMAND(ID_MENU_ENDAPP, OnEndApp)
ON_WM_CREATE ()
ON_CONTROL_RANGE(BN_CLICKED, 8000, 8001, OnButtonClick)
END_MESSAGE_MAP( )