Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not showing the titlebar
Message
De
22/04/2005 13:55:08
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Not showing the titlebar
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Divers
Thread ID:
01007592
Message ID:
01007592
Vues:
61
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
Fil
Voir

Click here to load this message in the networking platform