![]() |
How to know the focus of toolbar? |
Post Reply
|
| Author | |
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Topic: How to know the focus of toolbar?Posted: 20 February 2006 at 3:00am |
|
Hello There is a CXTPControlComboBox in A toolbar. In CMainFrame.cpp when the mouse is clicked if the focus is in the CXTPControlComboBox as the following source code: CMainFrame::IsInToolbar() {... if(m_ToolbarComBoBox->GetEditCtrl() == GetFocus()) {// do something }
but it could not work , Please help me why? -Freehawk |
|
![]() |
|
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 |