Winapi tutorials
General
Process "translations"
How to get process handle from process id, how to get window handle from process id, and so on.
Listview
Functions
Draw3dRect
This useful function is only available with MFC. Well, it was, now it's available in winapi too :)
GradientFill
This function is available under Windows 98 and superior, but it's bugged in Windows 98 and ME. Here's a manual algorithm that does the same thing without bugs.
IsCommonControlsVersion6
This function test if the application has included a manifest to load the version 6 of the common controls dll. Useful if you want to differentiate the aspect or the functionality of your window by checking if the window is using Windows XP themes or not.
LoadImageFromResource
This function can load any kind of image (jpeg, gif, png and so on) to a HBITMAP using OLE.
trim
The C++ counterpart of the PHP function to eliminate spaces on the left and right of a string.
explode
This function is probably one of the most used in PHP. And here's its counterpart in C++.
This page was last modified
34 months, 4 weeks and 22 hours ago