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 [...]
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 [...]
With this code, you can print directly to the printer using WIN32 API calls and therefore should enable you to print at maximum speed. Additionally, there is code to show how to send Hewlett Packard PCL5 codes to the printer.Using the code Add a form to your project. Add a button to the form. Change the Name property of the [...]
The PDF Writer is a great utility. And to realise that such a great application is here lying on CodeProject absolutely free of cost is amazing. The original author has done a great job. But when I tried putting all the pieces together there were a lot of issues. So once I managed to get the PDFWriter working for me I thought of putting all the stuff back here so [...]