mCtrl is a library providing set of additional user interface controls for Windows, intended to be complementary to standard controls from USER32.DLL
and COMCTL32.DLL
.
MCTRL.DLL
is aimed to MS Windows 2000 and newer (i.e. MS Windows 2000, MS Windows XP, MS Windows Server 2003, MS Windows Vista, MS Windows Server 2008 and MS Windows 7), both 32 and 64-bit versions.
SendMessage()
.UNICODE
is defined.These topics are more closely covered in Design Notes.
Using mCtrl is as easy as of any other library. Include the relevant public headers (in the downloaded packages under include/mCtrl
.
Within mCtrl, each GUI control has its own header file.
Note that to minimize the chance of filename clashes you should instruct your C compiler to search for include files to include
directory and then specify the mCtrl subdirectory within the include directoives.
#include <mCtrl/some_header.h>
And link with the appropriate import library. Since version 0.7.0 the prebuilt mCtrl packages provide two import libraries, both of them are in lib
subdirectory of the prebuilt mCtrl packages:
libmctrl.a
intended for gcc-based toolchains (e.g. mingw).mCtrl.lib
intended for MS Visual Studio and Microsofrt C compiler.Of course you have then distribute your applications with MCTRL.DLL
.