I removed caption bar of my window so now it only has a border around it. I don't want to set BorderStyle
to bsNone
but I want to remove border. How can I do it?
let me explain more. I want to make sth like Photoshop GUI. If I set border style to bsNone, I'll lose lots of features on win7. I tried to use GraphicControls instead of Form Caption bar to move the window (by handling WMNCHitTest message). It works but double click doesn't maximize and restore the window when border style is bsNone but everything works well when it is bsResizable. I want to set BorderStyle to bsResizable but I want to remove the border like when it is bsNone
BorderStyle
tobsNone
and position fourTShape
controls atalTop
,alRight
,alBottom
, andalLeft
. – Andreas RejbrandbsNone
, I'll lose lots of features on win7. I tried to use GraphicControls instead of Form Caption bar to move the window (by handlingWMNCHitTest
message). It works but double click doesn't maximize and restore the window when border style isbsNone
but everything works well when it isbsResizable
. I want to setBorderStyle
tobsResizable
but I want to remove the border like when it isbsNone
– Javid