Re: Borderless Form & Aero
Re: Borderless Form & Aero
Ok, managed to get labels to show OK.
By using:
Code:
Label1.UseCompatibleTextRendering = True
However, I need textboxes to appear correctly, and there is no
Textbox1.UseCompatibleTextRendering :(
Anyone have any alternatives ??
:)
Re: Borderless Form & Aero
Added this to ApplicationEvents.vb
Code:
Namespace My
' The following events are availble for MyApplication:
'
' Startup: Raised when the application starts, before the startup form is created.
' Shutdown: Raised after all application forms are closed. This event is not raised if the application terminates abnormally.
' UnhandledException: Raised if the application encounters an unhandled exception.
' StartupNextInstance: Raised when launching a single-instance application and the application is already active.
' NetworkAvailabilityChanged: Raised when the network connection is connected or disconnected.
Partial Friend Class MyApplication
Protected Overloads Shared ReadOnly Property UseCompatibleTextRendering() As Boolean
Get
' Use the GDI+ text rendering engine.
Return True
End Get
End Property
End Class
End Namespace
Labels display fine, textbox still transparent :(
Any ideas please!
Re: Borderless Form & Aero
Sounds like a Transparency Key issue...
Re: Borderless Form & Aero
Here's an alternative, but it's not one everyone likes: host all the controls on a separate (borderless, transparent) form which is owned by the Aero blurring form. For an illustration of the kind of thing I am talking about, see this thread. You might find it easy to adapt the code I posted in #4. But I hope you'll find the ensuing discussion interesting too.
BB
Re: Borderless Form & Aero
I've tried changing the trans key to lots of different colours. I was thinking about using 2 forms on top of each other, is that what you mean? Thank you. :)