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:

    “And as my wit doth best devise,
    Love’s dwelling is in ladies’ eyes,
    From whence do glance love’s piercing darts,
    That make such holes into our hearts;
    And all the world herein accord,
    Love is a great and mighty lord;”
    —George Peele (1559–1596)

    “A world of made
    is not a world of born-”
    —E.E. (Edward Estlin)