Draw Custom Buttons On Windows Vista / 7 Aero Titlebar

Nov 7, 2010

I found this question on StackOverflow. Basically, the user wanted to draw custom buttons on the titlebar. I tried the code and realised it works in vista/7 only when Aero is disabled. My question is, is there any way to draw custom buttons on the titlebar while aero is enabled? Any way of reading information from the current theme so I can style my buttons to match the already existing ones.

Here is a screenshot from my computer demonstrating the above concept. I got the additional titlebar buttons after installing DisplayFusion. And I know DisplayFusion is a .NET program because it opens in .NET Reflector. The down side is that the program is obfuscated. Not like I wanted to decompile the program or anything; I just want to add a button to my titlebar to do something else (like minimise to the system tray for instance).
Below is the screenshot, proving the program is a .NET app.

View 2 Replies


ADVERTISEMENT

VS 2008 Aero In Windows Vista?

Jul 20, 2011

how to get working aero in Visual Basic 2008.I am making this media player and got everything I need for that. But what I really wanted is aero since Windows Vista got a nice interface and a few lucky people got it.But the tutorials I got worked great on Windows 7! However, I couldn't get aero because of a transparency key. (I swear I use a color picker to see if background color and transparency key are the same color.)I can't get it to work any piece of code I give.But the good part is that aero WILL work on any 7 or Vista without any form change, but the text is white with blue specks and that is not what I want.

EDIT:i found how to do it now! you need to use the property UseCompatibleTextRendring and put it to True. Now the problem is how do i do the same for the rest? (microsoft was to lazy to edit the controls)

View 2 Replies

Trasparent Titlebar As Like Vista?

Mar 4, 2010

I want to make my vb.net windows application titlebar trasparent as like vista's windows titlebar. if i code me.opacity than it will make whole form trasparant but i want to make only titlebar transparent.

View 3 Replies

Adding Button To Titlebar (like Firefox 4) In .NET & WPF Or WinForms On XP Or Vista/7?

May 24, 2011

I was wondering if it is possible to add a button to the title bar in vb.net - I found a way to do this in one or the other but is it possible to do it on both?Here is the code that works if Aero is disabled (imports System.RunTime.InteropServices):

[Code]...

View 1 Replies

VS 2008 Additional Buttons In Titlebar?

Mar 16, 2010

I was wonder if anyone knows how to add additional buttons to the title bar. Please, Don't go to too much trouble, Just if you know a link to this or know how to do it. I did find This. But, I would like to have something like shown in this Image:

View 9 Replies

Enable The Cool Vista Aero Effects Within Application?

Mar 8, 2008

How can I enable the cool vista aero effects within my vb.net application? I wish to make portions of the form, or prehaps even the whole form, have the transparent glass effect.

View 7 Replies

Draw An Aero Style Button In Caption Bar?

Feb 15, 2011

1. I see some programs like babylon 9 that they create a Caption button with custom image.How to do that?

2. How to draw on caption bar on Vista and Xp ? It' not important for me the language,I know both VB and C#.

View 2 Replies

[2008] Reproduce Vista Aero Text Glow Effect

Jul 7, 2008

Have you ever seen the whitish glow around the titlebar text in Vista? You know, the feathering around the text that makes it stand out from the Aero glass? Well if you haven't, look at the picture in the attachment. Does anyone have an idea as to how I may reproduce it, specifically draw it around some text on the Aero glass? I already know that the Aero glass can be implemented using some APIs in dwmapi.dll. Are APIs for the glow also in that dll? I'm unable to find any info on how to do this in the official documentation.

View 11 Replies

[2008] Reproduce Vista Aero Text Glow Effect?

May 14, 2008

[2008] Reproduce Vista Aero text glow effect

View 8 Replies

Draw Text At Aero Glass In Visual Basic?

Nov 21, 2011

I had following coding to make form have aero glass effect. but the text is become transparent too when i run it. how to make the text become no transparent? Thnx

<StructLayout(LayoutKind.Sequential)> _
Public Structure MARGINS
Public cxLeftWidth As Integer

[Code]....

View 2 Replies

Created That Has Aero Glass When In Vista/win7 And When Running In XP Or 98 Use A Regular Border?

Aug 2, 2010

Can a form be Created that has Aero Glass when in Vista/Win7 and when running in XP or 98 use a regular border? If so can I have a link to the infromation or a code sample?

View 8 Replies

VS 2008 : Make Buttons That Will Open Each Of The "special Folders" In Windows Vista?

May 18, 2009

I'm trying to make buttons that will open each of the "special folders" in Windows Vista. Here's an example:

Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Process.Start("explorer.exe", Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments))
End Sub

As you can see in the above code, the button will open the Documents folder. My problem is the only folders this method can open are the documents, pictures and music folders, while I also want to open these folders below:

Downloads
Videos
User folder (aka the folder that has the user name on it)
Computer (aka My Computer in XP)

how to do that?

View 13 Replies

Implement Custom Titlebar Using A Picturebox - Right Click Won't Open The System Menu?

Feb 22, 2011

i'm trying to implement my own custom titlebar using a picturebox. can anyone tell me why my right click won't open the system menu?here's my code:

Imports System.Runtime.InteropServices
Public Class Form2
<DllImport("user32.dll")> _
Public Shared Function ReleaseCapture() As Boolean[code]......

View 5 Replies

Aero Theme Buttons - How To Make Text Show Just Color Not Transparent

Dec 10, 2011

after many weeks of annoying compatibility with windows xp, I realized that I should change the .netbar buttons to standard windows buttons. When I did this, and put the button on the transparency area and then debugged the application. I found out that the transparency add-in made the text inside the button transparent: How can I make the text show just the color, not transparent?

View 3 Replies

Click On The Close Icon In The TitleBar On The Windows Form

May 4, 2011

My form having the TitleBar , buttons are Minimize, Maximize, Close. I run the application if i click the Close button the window was closing. But i need not only for closing window i want to close the Database connection also. B`se if i close this window the debugging is not closing. The database is not close properly.

View 4 Replies

Have The Black Text Unaffected By The Aero Like Change It So That Another Colour Becomes Aero Instead?

Sep 2, 2011

I'm having trouble getting an naero glass code which works properly. I hav ecome across many in which anything black becomes aero aswell. Is it possible to have the black text unaffected by the aero like, change it so that another colour becomes aero instead?Also this is just an extra but can you change the colour of the aero you have? Like default is blue change you change it to like yellow, or black or another colour?

View 4 Replies

.net - Aero In VB Running Windows Xp?

Jun 10, 2011

Is it possible to draw WPF elements in Aero style, running on Windows XP? Also can you change the window style to look like Aero? BTW I found a reference PresentationFramework.Aero, is it something to do with this?

View 1 Replies

CreateWindowEx To Look Like Windows 7 With Aero?

Jan 21, 2010

I am creating a winform,that I want to have the same look and feel on a window on windows 7? I thought of using CreateWindowEx. But I am just randomly picking things and not going anywhere.

View 3 Replies

Windows Aero Is Enabled Or Not?

Jan 17, 2012

I have created an application in Visual Basic 2010 which supports for Windows Aero (glassy effect) . But if Aero isn't enabled, error messages appears in the application. I need to know the code to ientify wheter Windows Aero is enabled or not.

View 3 Replies

Create A Custom Messagebox, With Varying Number Of Buttons With Custom .Text Descriptions?

Feb 6, 2009

This is what I would like to achieve:To create a custom messagebox, with varying number of buttons with custom .Text descriptions, and other features. I intended to have a property array that would be redim-ed and have values (.Text values) set by the calling class:

[code]...

View 7 Replies

Disable Windows Aero Theme?

Jun 7, 2011

Disable aero in visual basic HowTo: How to programatically disable the Windows Aero theme for standalone ArcGIS applications

C# - Enable / Disable DWM Composition (Aero)

Any of you whiz bang kids know how to accomplish this with VB6? (I realize this is not a VB6 forum but just curious if any of you VB.NET programmers know how to translate this into VB6 Basically, this code ported to VB6

[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern int DwmEnableComposition(bool fEnable);
static void Main(string[] args)

[code]....

View 3 Replies

Get Aero Glass On A Windows Form Without Borders?

Dec 12, 2010

I'm trying to have Aero Glass look in my forms in VB.NET 2010 app with DWM API, but as function call suggests, it extends look of Frame to the client area, and if form has no border, nothing will happen and form will become invisible. So, can I get Aero glass in a form without any border.... ??

View 1 Replies

Windows Aero Basic - Doesn't Use The Transparency Or Glass Look

Oct 17, 2010

My program can detect when Aero is present, but it has trouble when the user is in Aero Basic because it doesn't use the transparency or glass look. I am wondering if there is a call to the dwmapi that can tell me if the computer is using Aero Basic.

View 5 Replies

Can't Get Multiple Radio Buttons To Draw

Jan 14, 2012

I'm trying to draw multiple radio buttons on my form. I've used this same logic to draw multiple text boxes and for some reason, this doesn't work.

For counter As Integer = 0 To rc - 1
'controller name Radio button and properties.
Dim dynRadio As New RadioButton()
Me.Controls.Add(dynRadio)

[code]....

I have validated that:

rc = 3 and the loop does iterate three times.The values that come back from the db are correct.xAxis and yAxis are placed properly and is the same increment as my text boxes.It's just not giving me three radio buttons for some reason. It only displays the first one.

View 1 Replies

Draw Lines Like These Ones At Top (underneath The White Box) And Bottom (above The Buttons)?

Mar 4, 2009

How do I draw lines like these ones at top (underneath the white box) and bottom (above the buttons) - preferably in the GUI?

View 6 Replies

Using A WAV File As The Input To The Windows Speech Recognition Software On Machine (Windows Vista)?

Nov 1, 2010

Could anyone provide me with sample code for using a WAV file as the input to the Windows speech recognition software on my machine (Windows Vista)?

View 3 Replies

Change The Background Of The Form To Look Like That Of Windows Mobility Center In Windows Vista?

Apr 10, 2012

How can I change the background of my form to look like that of Windows Mobility Center in Windows Vista?

View 2 Replies

Will An Program Built On Windows 7 Using Vs 2008 Or 2005 Have The Compatibility With Windows Xp Or Vista

Nov 15, 2009

will an program built on windows 7 using vs 2008 or 2005 have the compatibility with windows xp or vista

View 5 Replies

Cannot Upgrade From Windows Vista To Windows 7, Internet Explorer Freezing?

Nov 11, 2009

nothing

View 2 Replies

VS 2005 Piracy Protection Mechanism And Windows Vista Or Windows 7

Apr 19, 2010

i have created some shareware applications. I implemented the following mechanism for piracy protection. Before Windows Vista and Windows 7 i did write a dll file to the System32 folder with an encrypted license key. Also in the Registry under HKEY_LOCAL_MACHINE i inserted a registry key.

The problem is that with Windows Vista and Windows 7 due to the User Account Control (UAC) this is denied.

I want to ask : what other mechanism can be implemented ? Where should i store the encrypted key file and the registry key.

I want that the application can be installed for all users of a computer only once.
If i stored the key in the user's application data directory then another user could easily just install it under another user account. Also i do not want to put the key file in the application directory because that would be too obvious.

note that i create the registry key with my application and not with the installer.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved