kaisersoze Posted March 15, 2005 Posted March 15, 2005 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). Quote Note: I think as a programmer not as a human, so use my answer at your will
Leaders snarfblam Posted March 15, 2005 Leaders Posted March 15, 2005 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. Quote [sIGPIC]e[/sIGPIC]
IngisKahn Posted March 15, 2005 Posted March 15, 2005 You can set that. Just set form type to FixedDialog, the Text to nothing, and ControlBox to false. Quote "Who is John Galt?"
Leaders snarfblam Posted March 16, 2005 Leaders Posted March 16, 2005 Well, I'll be damned. You lose the nifty xp style blue borders, but it works. Quote [sIGPIC]e[/sIGPIC]
kaisersoze Posted March 16, 2005 Author Posted March 16, 2005 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. Quote Note: I think as a programmer not as a human, so use my answer at your will
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.