Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - TAB Focus is not availble on XTButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

TAB Focus is not availble on XTButton

 Post Reply Post Reply
Author
Message
Suyambu2002 View Drop Down
Newbie
Newbie
Avatar

Joined: 28 April 2006
Location: India
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote Suyambu2002 Quote  Post ReplyReply Direct Link To This Post Topic: TAB Focus is not availble on XTButton
    Posted: 28 April 2006 at 1:02am

Hello All

Am using CXTButton control.  OnInitDialog of my dialog I set the button theme to...

m_btnAddJobs.SetTheme ( new CXTButtonThemeOfficeXP ( TRUE ) );

Now my problem is I have some other controls also in my dialog ( a list control and the XTButton ).  When I press tab from my list control to XT button, actually the tab is on the XTbutton but it doesn't give look as if the focus is on the XTbutton.  In case of mouse over there is color change happening, so user would be able to identify where the focus is.

When I press tab, not able to identify where the focus is.

Is there any way that this can happen automatically???

Please help me out, TAB is one of the major UI standard, which is not there in my application.

 

Best Regards
Suyambu
Back to Top
Armin Fryder View Drop Down
Newbie
Newbie


Joined: 06 January 2005
Location: Germany
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Armin Fryder Quote  Post ReplyReply Direct Link To This Post Posted: 30 May 2006 at 9:51am
I have just the same problem with a checkbox, when hitting TAB, the control actually gets the focus, but does not draw the the dotted line around it to show the user, that it actually has the focus. It would interest me, if you have the same problem, when you change the Type of that button to MFCs CButton.. I have the same behavior on both CButton and XTButton.
Plus, and this is most awkward, I only have this behavior, when I open the (modeless) dialog from the menu with the mouse. If I open the same dialogue with an existing acceleration shortcut, everything works fine

Best Regards,
Armin
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.063 seconds.