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:

    People praise virtue, but they hate it, they run away from it. It freezes you to death, and in this world you’ve got to keep your feet warm.
    Denis Diderot (1713–1784)

    It is well for the world that in most of us, by the age of thirty, the character has set like plaster, and will never soften again.
    William James (1842–1910)