Information générale
Catégorie:
Fonctions Windows API
Titre:
Not showing the titlebar
Versions des environnements
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement