Re: XP/Vista Visual Styles & Focus Rectangle

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



It's there for me, a little harder to see because
it's almost masked by the blue outline that appears with focus in XP.

How are you invoking the XP and Vista styles?

--

Steve Easton



<mark.tunnard.jackson@xxxxxxxxxxxxxx> wrote in message
news:25b1337e-b113-4052-b20e-d7cca9d9e710@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi

I like the idea of using Vista and XP Visual Styles from VB6. I've
read the articles on VB Accelerator and elsewhere, e.g.
http://www.vbaccelerator.com/home/vb/code/Libraries/XP_Visual_Styles/Using_XP_Visual_Styles_in_VB/article.asp

But when I try it out, the focus rectangle disappears. This is the
dashed box that indicates which control has the focus when you move
from control to control with the Tab key. Does anyone know a way to
get it back?

I've seen some complex suggestions out there, like using the
WM_CHANGEUISTATE message in a ?keyboard hook?. I'm just hoping there's
an easier way, or I'm doing something daft.

Thanks in advance
Mark


.



Relevant Pages

  • Re: read a passwort from input
    ... > I spent some time wonderring if there could be such a way to control the ... > invoking text box in a cross platform way. ...
    (comp.lang.java.programmer)
  • How can keep only one VM running in One Operating System
    ... So when ever I am invoking this application it is started with a new JVM ... But my requirement is to control the previous instance ... Like the same way when I invoke a MS-Word document if currently any ...
    (comp.lang.java.programmer)
  • Re: JDialog dispose and application window popping
    ... I do know its tied up with the dispose() because not invoking ... Java can only control the Z-order of its own windows. ... cannot control the order of system windows. ...
    (comp.lang.java.gui)
  • Destroying an ActiveX Control in Javascript.
    ... I have developed an ActiveX control using Embedded Visual C++ 4.0. ... am invoking it in Javascript using the new operator. ... How do I uload ...
    (microsoft.public.windowsce.embedded)
  • Visual Basic AciveX control not deleting
    ... I have an activex control written in Visual Basic 6.0 with service ... My problem is that invoking either delete or release on the ... way to get free the control is to exit Matlab and restart. ... running in my Matlab thread, one of which is a process named ...
    (comp.soft-sys.matlab)