Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [Tutorial] Fully Themed Windows Vista Controls In Your Apps

[Tutorial] Fully Themed Windows Vista Controls In Your Apps

Posts 1–8 of 8 · Page 1 of 1
Hassan
Hassan
[Tutorial] Fully Themed Windows Vista Controls In Your Apps
Hi !

In this tutorial I'll show you how to add Windows Vista controls to your applications. Although, there are many wrappers available on the internet. The best in my opinion is of Nicholas Kwan from Code Project.

Tools you will need to complete the tutorial:

■ Windows Vista or Later.
■ At-least .NET framework 2.0
■ Visual Studio 2005 or Later.

This tutorial applies to all .Net languages including:

■ Visual Basic.NET
■ C-Sharp
■ C++

The wrapper from Nicholas Kwan includes the following controls:

1: Command Link
2: Tree View
3: Progress Bar
4: Split Button
5: List View
6: Image Button

So, let's start:

■ Create a new project in any language of the .NET
■ After the project is created, go to Toolbox and click choose items and then choose the included DLL in this tutorial.





These controls will be added:



Now let's take a look at the control individually:

■ Command Link:
Command Links are really just buttons, assigned with a different theme.

Here's what it looks like:


Usage:
Drag the Command Link to the Form / User Control. Change its Text to anything you want like "Launch Gaming Section". Then re-size it so it wraps the text. Rest of the properties are same, like Enable / Disable etc...

■ Tree View and List View:
By default, Tree Views and List Views do not have the same look as that of Explorer:


This wrapper solves this issue and gives some cool look to the controls:









Usage:

Same as default Tree view and List view controls of .NET . So I guess, no need to explain. But if you feel any difficulty, feel free to ask me via VM.

■ Progress Bar:
In Windows Vista, progress bars come in different flavors, the most common progress bar being the green one. However, there are also the red and yellow versions as well (there is a blue version, known as a meter, but that is inaccessible). The progress bar colors seem to correspond to specific progress bar states. We can set those states programatically.



Usage:

Drag 3 progress bars to the form as shown above.

Now use the following commands to set the states. You can call it from where ever you want:

Normal State:
[PHP]VistaControls.VistaConstants.SendMessage(pb.Handle ,VistaControls.VistaConstants.PBMSETSTATE,VistaCon trols.VistaConstants.PBSTNORMAL,0)[/PHP]

Paused State:
[PHP]VistaControls.VistaConstants.SendMessage(pb2.Handl e,VistaControls.VistaConstants.PBMSETSTATE,VistaCo ntrols.VistaConstants.PBSTPAUSED,0)[/PHP]

Error State:
[PHP]VistaControls.VistaConstants.SendMessage(pb3.Handl e,VistaControls.VistaConstants.PBMSETSTATE,VistaCo ntrols.VistaConstants.PBSTERROR,0)[/PHP]

In the above codes, pb, pb2 and pb3 are the names of the progress bars respectively.

■ Image Button:
Same as default button, but adds clean effect to the button when image is added. Also supports *.ico extension now.

■ Split Button:
Just like Command Links, Split Buttons are just simply buttons. However, even after setting the style, how are you going to associate a menu (context menu) to the button? We can do this by first associating an event which would be fired whenever a person clicks on the "drop down" on the split button. To do this follow the instructions below:

Add a split button to the form. Now go to the load event of the form and add the following code:

Dim Menu As New ContextMenu
Menu.MenuItems.Add( "General")
Menu.MenuItems.Add( "Entertainment")
Menu.MenuItems.Add( "-")
Menu.MenuItems.Add( "Visual Basic")
Menu.MenuItems.Add( "C# / C++")
SplitButton1.Dropdownmenu = Menu

Change the SplitButton1 with the name of your split button. Change the items of the Context Menu as required.

Here's a screen shot:



Here's a screen shot of the controls we just discussed:



Hmm...I am still not finished. I am gonna show you another cool control which is a part of the windows vista and 7. It is a Task Dialog and you must be familiar with it:



This control has been written by Daniel Moth. I've attached the wrapper DLL of the Task Dialog and is named "TaskDialogWrapper.dll".

To use the Task Dialog, add the reference to the "TaskDialogWrapper" DLL. Now simply use the following line of code to show the Task Dialog:

TaskDialogWrapper.TaskDialog.Show( Me , "Virus Detected !", "Immediate Virus Scan Needed.", "Please do a virus scan as soon as possible or it will own you xD. To download the antivirus software goto: http://www.microsof*****m",TaskDialogWrapper.TaskDialogButtons.Close,TaskDia logWrapper.TaskDialogIcon.Shield)


Also, I am working on a custom control. It's also a part of Vista and 7. It is the BreadCumb control:



Hopefully, it will be completed in a day or two.

So, that's all for now. I'll add more controls as I'll browse through them.

If you are tired of the most advanced GUI's ever (The releaser that says on his every release), then step forward and start using these controls. They'll make your applications sleek and sweet. Make MPGH a bit more modern. All controls are highly customizable. Just play around with them a bit and you'll master them.

Here's Virus Scan:
Wrapper DLLs.zip MD5:d3788fccee9c04225c480877fb752359 - VirSCAN.org Scanners did not find malware!

If you need help with any control, just VM me and I'll help you out.

I hope this helps !!

Press Thanks if helped !!

Greetz,
FlameSaber
#1 · edited 16y ago · 16y ago
Abstract
Abstract
Wrong section i believe, Belongs in coding sections
#2 · 16y ago
Hassan
Hassan
Quote Originally Posted by dostogg View Post
Wrong section i believe, Belongs in coding sections
I thought so, but as coders are in this section too, I decided to post. Anyways, move if wrong sect.
#3 · 16y ago
AR
Archangel
/moved to general section
#4 · 16y ago
Blubb1337
Blubb1337
Yea it should be moved
#5 · 16y ago
AR
Archangel
okay then

/moved to vb section
#6 · 16y ago
Zoom
Zoom
/Already posted .
#7 · 16y ago
EN
[MPGH]EndRiT
Supposedly already posted.
Closed for now.
#8 · 16y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Fully Themed Windows Vista Controls In Your AppsBy Hassan in Visual Basic Programming
    9Last post 16y ago
  • [Tutorial] Windows Vista/7 Glass WindowBy MJLover in Visual Basic Programming
    18Last post 16y ago
  • Double or Triple your FPS ( Windows Vista )By Penchimp in CrossFire Hacks & Cheats
    8Last post 17y ago
  • Windows Vista x64 Bit Users, or Anyone Really Smart, I Need Your Help! (:By FBIRyan in Combat Arms Help
    9Last post 16y ago
  • [Tutorial]Disabaling emu windows in your runnableBy HolyFate in Gunz General
    14Last post 20y ago

Tags for this Thread

None