The MainWindow function

In regular C and C++, the execution of the application starts with the main function. In Small Windows, however, main has been replaced by MainWindow. MainWindow is implemented by the user of Small Windows for each project. Its task is to define the application name and create the main window object.

MainWindow.h

void MainWindow(vector<String> argumentList, 
                SmallWindows::WindowShow windowShow); 

Get C++ Windows Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.