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 night has a thousand eyes,
And the day but one;
Yet the light of the bright world dies
With the dying sun.”
—Francis William Bourdillon (18521921)
“The truth is, as every one knows, that the great artists of the world are never Puritans, and seldom even ordinarily respectable. No virtuous manthat is, virtuous in the Y.M.C.A. sensehas ever painted a picture worth looking at, or written a symphony worth hearing, or a book worth reading, and it is highly improbable that the thing has ever been done by a virtuous woman.”
—H.L. (Henry Lewis)