Stonkie
Well-known member
- Joined
- Sep 12, 2007
- Messages
- 279
- Programming Experience
- 1-3
I am trying to set the FormBorderStyle property to None to make tool boxes in a MDI application have a custom header (I want them to look like tabs and code stuff so I may join my toolboxes together, a little like Photoshop does, without the Windows title bar). However, the default border for toolboxes seems to apply to those windows inside the Mdi before being painted over by my code so it causes a blue title bar to quickly appear and disappear when the form is made visible for the first time.
I want to prevent this title bar from getting painted on my form either by catching a message in the WndProc or any shorter solution. I want to make sure that it is possible to hide that title bar before I start coding my custom drawn tool boxes.
I don't currently intend to implement it, but it was also considered to use transparency in those tool boxes and I was wondering if there was some way to achieve that result even though it is not supported (something simpler than to handle the paint event and draw something that looks like what's behind).
I want to prevent this title bar from getting painted on my form either by catching a message in the WndProc or any shorter solution. I want to make sure that it is possible to hide that title bar before I start coding my custom drawn tool boxes.
I don't currently intend to implement it, but it was also considered to use transparency in those tool boxes and I was wondering if there was some way to achieve that result even though it is not supported (something simpler than to handle the paint event and draw something that looks like what's behind).