1.2. Auto-Generation

The API is machine-generated, so some of the less common Windows functions are not supported. We plan to add those functions by hand on a case-by-case basis as they are identified as necessary. In all, there are 46 widget classes, 400+ common structures, 1700+ functions and 6000+ constants included. We do not plan to fully document it, but instead list the functions we support and rely on the reader to search the Microsoft documentation for details.

We have added some functions to make it convenient to set colors and fonts, and to anchor widgets for resizing support, but for the most part the functions we support are faithful to the Microsoft documentation.

1.2.1. Documentation

In addition to the API itself, about 95% of the reference sections of this documentation are automatically generated. In a few instances we have not been able to automatically extract all of the documentation from the code. The most notable example is when there is more than one calling sequence for the member function of a widget. Each of these functions has an argument list that looks like this: (args?...). Until we are able to extract the correct calling sequences and their syntaxes, you will have to search and read the Windows documentation and do a little trial and error to determine what the possibilities are.