Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Dominik Braendlin
|
May 18, 2010 - 7:33 AM
|
Dear Tech Support, I create a CExtButton with Create( … ) in a parent window. The parent window needs to know when the CExtButton receives the focus. In order to do so I added the ON_BN_SETFOCUS event to get notified. It seems as if the CExtButton does not send the ON_BN_SETFOCUS message to it’s parent window. I have checked the CExtButton implementation and saw that there is a SetFocus commented out v2.89 void CExtButton::OnLButtonDown(UINT nFlags, CPoint point) Ln 1752 Thanks Adrian
|
|
Technical Support
|
May 18, 2010 - 11:54 AM
|
The BN_SETFOCUS / BN_KILLFOCUS notifications are sent only if the button control has the standard BS_NOTIFY button style. Please check whether your button control has this style.
|
|