borderless form: Delphi vs. Lazarus lazarus / 31-LCL ---------------------------------------------------------------------- kirchfritz · 2021-07-05 14:41 Hi, after studying a wonderful article about creating borderless forms with delphi  https://medium.com/@vuio/delphi-borderless-form-a2538e3ec48 I tried to translate the delphi source code to Lazarus/Freepascal source code. My translation (see my attachement) was succesful, but my Lazarus program doesn't hide the form's captionbar. Can anybody explain why my Lazarus program never received the WM_NCCALCSIZE message? Fritz ---------------------------------------------------------------------- jamie · 2021-07-05 14:50 the LCL does not pass all messages along to the form, only the most common ones, those that are supported cross platform wise..   You need to hook the window procedure for that or use a Hook Lib that I have somewhere around here to make it easier. ---------------------------------------------------------------------- kirchfritz · 2021-07-07 16:45 I am not familiar with hooking the windows procedure. Can anybody help me? ---------------------------------------------------------------------- jamie · 2021-07-07 17:03 I've already posted this before, just searched the forums and couldn't find it.. so here is a demo and unit file of how to use it.