Amey Tavkar Posted July 3, 2009 Share Posted July 3, 2009 As the title says, I want to highlight the controls with a blurred rectangle who contains focus. It will be very similar to Mac OS-X Style focus. Please see the attachment. I want similar focus rectangle on every control in winforms. Please reply ASAP. Thanks, Amey. Link to comment Share on other sites More sharing options...
0 Antaris Veteran Posted July 3, 2009 Veteran Share Posted July 3, 2009 Well, the behavioural style of the controls can be overriden if you subclass or override the painting routines. On another note, I think there is a general concensus that the visual style of the application should really be governed by the operating system's styles. Link to comment Share on other sites More sharing options...
0 +Dick Montage Subscriber² Posted July 3, 2009 Subscriber² Share Posted July 3, 2009 100% - if I see an app that tried to style itself differently - I remove it. I am not a fan of developers spending their time on this rather than how the app works. Link to comment Share on other sites More sharing options...
0 BGM Posted July 3, 2009 Share Posted July 3, 2009 high five the two posts above me however if you want to do this, you will probably have to use WPF / Expression Blend :) Link to comment Share on other sites More sharing options...
0 azcodemonkey Posted July 8, 2009 Share Posted July 8, 2009 (edited) It's probably doable with regular old GDI+. But, it would probably be easier in WPF. Edited July 8, 2009 by azcodemonkey Link to comment Share on other sites More sharing options...
0 Guest GraphiteCube Posted July 13, 2009 Share Posted July 13, 2009 I wrote a program which let user to enter text in textbox. Acually you can see the textbox in focus (the one under the word "keys") has blue color highlight: Comparing to the textbox under the word "result", you can see the difference... Although not very significant... Link to comment Share on other sites More sharing options...
Question
Amey Tavkar
As the title says, I want to highlight the controls with a blurred rectangle who contains focus. It will be very similar to Mac OS-X Style focus.
Please see the attachment. I want similar focus rectangle on every control in winforms.
Please reply ASAP.
Thanks,
Amey.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts