How would one create the top bar such as in Firefox 4’s Orange bar?
I don’t want to do my own window class as I still want to be hardware accelerated rather than sofware rendered.
Is there a way to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’ll need to do your own Window drawing, with custom chrome, in order to achieve this type of effect. Here is some sample code showing the technique.
With WPF, provided you’re on a proper rendering tier, the window will still stay hardware accelerated, as WPF uses hardware acceleration for its rendering anyways.