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 [...]
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 [...]
This article presents a class that is a hack around a shortcoming in the free CutePDF Writer. The shortcoming is that the “Save As” dialog always pops up so it is impossible to print to a PDF file without user interaction. This class makes it possible to use the free CutePDF [...]