Windows style

kaisersoze

Centurion
Joined
Aug 27, 2003
Messages
152
how to create a form without blue bar on the top. I can say windowstyle as none. but if i say like that the window becomes flat. The window should show some shadow (as in regular form).
 
You want to... remove the titlebar? and keep the rest of the blue borders? If I am right, then Why? And regardless of why, you will need to draw it yourself, and either set it as a bitmap to the background property, or draw it yourself with GDI+ in the paint event.
 
by saying controlbox = false, it works but i see blue title bar. the user can move the form by clicking on the titlebar. one of the goal is to stop user from moving the form while it is loading.
 
Back
Top