Just use the same code you were using in Delphi. It will work in Windows only. What you wish is impossible to implement anywhere else. The best solution would be doing like I said in the first time: Make a borderless window and draw your own title and border if you really need them. -- Felipe Monteiro de Carvalho