Advertisement
5_2007-2008 Custom Controls/ Forms/ Menus #177635

REAL Windows XP Command Buttons!

Did you know that VB 5/6 applications will not render their controls with the new visual themes under Windows XP? Obviously, this is not good. This is the solution to this problem. This creates a REAL themed button under Windows XP by calling the Theme APIs, all wrapped up into an easy to use control. All you have to do is drop this control in your forms in place of the regular command button. Plus, as an added bonus, this control is completely backwards compatible! If the OS that your program is running on does not support Themes (or if they are disabled), this control simply displays the standard command button, without any extra work by you. This will give your applications a truely professional touch!

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Upload
Original Comments (3)
Recovered from Wayback Machine