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:

    In a world where women work three times as hard for half as much, our achievement has been denigrated, both marriage and divorce have turned against us, our motherhood has been used as an obstacle to our success, our passion as a trap, our empathy for others as an excuse to underpay us.
    Erica Jong (20th century)

    Things of this world are in so constant a flux, that nothing remains long in the same state.
    John Locke (1632–1704)