Tab key |
Post Reply |
Author | |
Italo
Groupie Joined: 10 December 2003 Location: United States Status: Offline Points: 83 |
Post Options
Thanks(0)
Posted: 09 January 2004 at 7:04am |
How can I make the control forward the tab key to the dialog? I want to move the focus to the next control, when the tab key is pressed. Thanks, Italo Edited by Italo |
|
Italo
Groupie Joined: 10 December 2003 Location: United States Status: Offline Points: 83 |
Post Options
Thanks(0)
|
In PropertyGrid\XTPPropertyGridInplaceEdit.cpp change line 222 to CWnd* pParent = GetAncestor(GA_ROOT); and line 233 to CWnd* pWndNext = pParent->GetNextDlgTabItem(m_pGrid, (GetKeyState(VK_SHIFT) < 0));
Add the following function to PropertyGrid\XTPPropertyGridView.cpp void CXTPPropertyGridView::_ForwardFocus()
Add the folloing lines to CXTPPropertyGridView::OnKeyDown if (nChar == VK_TAB && (!pItem || pItem->IsCategory()) ) |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |