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:
“Attainment and science, retainment and artthe two couples keep to themselves, but when they do meet, nothing else in the world matters.”
—Vladimir Nabokov (18991977)
“It is a peculiar sensation, this double-consciousness, this sense of always looking at ones self through the eyes of others, of measuring ones soul by the tape of a world that looks on in amused contempt and pity.”
—W.E.B. (William Edward Burghardt)