Handling ON_WM_KILLFOCUS |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1198 |
Post Options
Thanks(0)
Posted: 08 July 2008 at 12:42pm |
Hi;
Derive from CXTReportControl and catch WM_KILLFOCUS, then forward it to the parent/owner of the control. |
|
Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017 |
|
sylvan
Newbie Joined: 07 July 2008 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Hi,
I need to disable various buttons etc. on a dialog based on whether the CXTPReportControl on the dialog has focus or not. I'm trying to handle it like so in the dlg class the control resides: ON_NOTIFY(ON_WM_KILLFOCUS,IDC_XTPREPORT,OnReportLostFocus) but the event isn't firing. If I replace ON_WM_KILLFOCUS with XTP_NM_REPORT_SELCHANGED OnReportLostFocus() is called everytime the selection is changed. I know the control has a child CListBox...do I need to do something with ON_LBN_KILLFOCUS? What am I doing incorrectly? Thanks |
|
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 |