Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not showing the titlebar
Message
From
22/04/2005 13:55:08
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Not showing the titlebar
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01007592
Message ID:
01007592
Views:
62
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
Map
View

Click here to load this message in the networking platform