General information
Category:
Windows API functions
Title:
Not showing the titlebar
I have a form with this properties:
Caption = ''
Closable = .F.
ControlBox = .F.
MaxButton = .F.
MinButton = .F.
ShowWindow = 2 &&Top level
Titlebar = 0 &&off
In the form's init I have this code:
DECLARE SetWindowLong In Win32Api Integer, Integer, Integer
DECLARE SetLayeredWindowAttributes In Win32Api Integer, String, Integer, Integer
SetWindowLong(THISFORM.hWnd, GWL_EXSTYLE, WS_EX_LAYERED)
SetLayeredWindowAttributes(THISFORM.hWnd, 0, 200, 2)
The goal is to make the window transparent and this is OK, but the window title is showing no matter the properties the window has.
How can I make the titlebar gone through the API?
Thanks in advance
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only