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);