![]() |
Toobar Focus Issue |
Post Reply ![]() |
Author | |
Makarand ![]() Senior Member ![]() ![]() Joined: 27 February 2007 Location: India Status: Offline Points: 140 |
![]() ![]() ![]() ![]() ![]() Posted: 17 December 2007 at 4:22am |
Hi Oleg,
I have created toolbar on a dialog. On Dialog I have grid view. VERIFY(m_ToolBar.CreateToolBar(WS_CHILD | WS_VISIBLE | CBRS_TOP, this)); VERIFY(m_ToolBar.LoadToolBar(IDR_LINKTOOLBAR)); I set the grid view property SetFocus() in OnTimer(..) Function, but focus still on toolbar. when I press the "esc" kay or click on grid view then only toolbar lost the focus. Logically when I call the grid.SetFocus() toolbar should lost the focus. I want to set the focus on grid view not on toolbar when dialog is open. (I am not using CommandBar to create the toolbar) Waiting for reply. Thanks. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
add
XTPMouseManage()->SendTrackLost(); after SetFocus.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |