Click here to Skip to main content
15,881,605 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know, how to put a border on a window (such as Kaspersky Sandbox) have? Does anyone know how to get this effect?

I can draw and show window in XP. But Vista and Win7 have the Aero effect.
So, how can I show the same effects when I use Windows 7?

Thank you very much.
Posted
Updated 8-Jun-10 22:58pm
v3
Comments
Moak 9-Jun-10 4:58am    
Updated tags, link to a screenshot could help to get more answers.

1 solution

Hello,

Try setting your form border style to none and use a container that has a border you can manipulate e.g. panel. Dock the container to fill the window 'borderless' window.

Add your controls including a close, min and max button and code them appropriately.

You should have your effect if understood you correctly.

Thanks
 
Share this answer
 
Comments
Itsuki Kuo 13-Jun-10 23:16pm    
Dear Juma,
Thank you for your suggestion. But I would like to put the border to other windows (I do not own this window).
For example, Kaspersky put a program into their sandbox. If the program is starting, the sandbox will show a green border around the frame window.
Is it possible for Windows 7 or vista with Aero effect?

Thank you very much.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900