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 [...]
When creating an application, sometimes it’s useful if you want to create a recent file list as a shortcut to open a previously-opened file. This makes opening a file look simple and handy.Using the Code
To create a recent file list, we need just three methods:Save file list
This method is called [...]
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 [...]