Recent

Author Topic: CreateParams seems to reject a WS_THICKFRAME for a Borderless form.  (Read 778 times)

jamie

  • Hero Member
  • *****
  • Posts: 7587
I override the CreateParams method in the TFORM so I can add the WS_THICKFRAME style bit to the STYLE field.

What I have is a borderless Form because I don't want a caption, I am making my own floating type tool bar but I wanted to be sizeable too..

It seems the CreateParams operation is rejecting my combination however, if I use the SetWindowLong(…..) after the form has been created I can then apply the sizable border with no caption and it works fine..


is the LCL filtering these combinations ?
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018