Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - How to know the focus of toolbar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to know the focus of toolbar?

 Post Reply Post Reply
Author
Message
freehawk View Drop Down
Groupie
Groupie


Joined: 22 April 2004
Status: Offline
Points: 95
Post Options Post Options   Thanks (0) Thanks(0)   Quote freehawk Quote  Post ReplyReply Direct Link To This Post 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 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.062 seconds.