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:
“One of the necessary qualifications of an efficient business man in these days of industrial literature seems to be the ability to write, in clear and idiomatic English, a 1,000-word story on how efficient he is and how he got that way.... It seems that the entire business world were devoting its working hours to the creation of a school of introspective literature.”
—Robert Benchley (18891945)
“Clothes make the poor invisible.... America has the best-dressed poverty the world has ever known.”
—Michael Harrington (19281989)