CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Location
    India
    Posts
    4

    Removing Focus Rectangle

    Hi All

    I am developing a UI in which I am using a custom slider. Under Windows 2000, the slider works fine but under Windows 98, I see a focus rectangle drawn along the slider border. This gets drawn when I move the 'thumb' of the slider.

    Is there any way to make this focus rectangle invisible?
    ( Under Windows CE, I found a function called 'FocusRect' which does this. I am in need of an equivalent in Window 98 ).
    Any sort of input is highly appreciated.

    Thanks and Regards

    Ramanand


  2. #2
    Join Date
    Dec 2000
    Posts
    156

    Re: Removing Focus Rectangle

    Hi
    I noticed your post regarding "Removing Focus Rectangle". I have a similar problem with slider control. Was wondering if you had solved it- and if so, could you share your code?

    Thanks in advance
    alex


  3. #3
    Join Date
    Feb 2000
    Location
    Indore, India
    Posts
    1,046

    Re: Removing Focus Rectangle

    This may not be the best solution, but I have found it working. Remove the focus to some other control or parent window after you process the message.

    Pravin Kumar.
    09:45 / 01-04-2002.

    Let me know if I have helped by rating this post

    Recent FAQs

    Drag an image
    Area of a window exposed on desktop
    Display rotated bitmap

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured