This article shows how to use Unicode in an INI file. Even though we call WritePrivateProfileStringW API function for using Unicode in an INI file, an INI file is not saved as Unicode but saved as ANSI. However, the small code that I show here will let you use that.What does WritePrivateProfileStringW do?
From my experience, I explain that WritePrivateProfileStringW [...]
In GUI applications it is often necessary to prevent the user from being able to carry out some of the actions that the interface offers. This is (often) done by disabling (deactivating) temporarily at run time, groups of controls. This way we often use the state of GUI elements to synchronize the [...]
VSL add-ons: VSL’s (ViSio Libraries) were first made available with Visio 2.0. In fact, many of the out-of-the-box Visio solutions, such as the Organization Chart, are implemented as a VSL add-on. You create VSL add-ons using C or C++. The emphasis of this Visio solution option is sheer speed. Bear in mind, Visio SDK needs to [...]
in .NET lack the basic capability of performing a task on their own. It would be very convenient to set up all toolbar events directly inside of the toolbar itself.
The current accepted practice is to override the ButtonClick event and use a case statement to decide what button was [...]
I spent a couple hours today looking for a simple way to change from one set of menus (file, edit, etc.) to another menu set. I came across this code in MSDN, but I didn’t see anything like it here on CodeProject, so this is my first article post. I hope someone might find it useful.How to Use Create multiple Menu resources in the resource view. The two I will [...]