Fox Toolkit - Hello World

Hello World

The following example creates a FOX application and a dialog with a button:

#include "fx.h" int main(int argc, char *argv) { FXApp application("Hello", "FoxTest"); application.init(argc, argv); FXMainWindow *main=new FXMainWindow(&application, "Hello", NULL, NULL, DECOR_ALL); new FXButton(main, "&Hello, World!", NULL, &application, FXApp::ID_QUIT); application.create; main->show(PLACEMENT_SCREEN); return application.run; }

Read more about this topic:  Fox Toolkit

Famous quotes containing the word world:

    “The new vulcanism is really a daring attempt to connect the present, incomprehensible world to a past, unknown one.”
    —Johann Wolfgang Von Goethe (1749–1832)

    “What I hated even more than the conflict was the lurid spectacle of a world of unreason.”
    —Ellen Glasgow (1873–1945)