Click here to Skip to main content
15,891,253 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to remove the thick rectangular window borders from my flash .exe applications. I want it to be without a border. Please, how can I do this with code?. What is the tweak?
Posted
Updated 25-Jan-14 0:43am
v2

Without knowing quite a bit more about exactly what you mean, it's difficult to tell, but have you looked at the Form.FormBorderStyle[^] property? It has options for Fixed Single, Fixed Tool Window and None[^] which may do what you want.
 
Share this answer
 
You can intercept the WM_NCPAINT message and draw your borders transparent. This will give you a transparent borders. Alternately, you can use WS_BORDER window style which will give you a thin-line border. Please refer to Window Styles (Windows)[^].
 
Share this answer
 
v2
Comments
Philippe Mori 16-Feb-14 19:28pm    
If you do that, then the screen will get corrupted as the system won't repaint that area which might be part of the application being moved.
As far as I know, there are style for border even at the Win32 API level.
bkyee 16-Feb-14 23:37pm    
Thanks Philippe, I corrected my statement.

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