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:
“He that is giddy thinks the world turns round.”
—William Shakespeare (15641616)
“Many children grow through adolescence with no ripples whatever and land smoothly and predictably in the adult world with both feet on the ground. Some who have stumbled and bumbled through childhood suddenly burst into bloom. Most shake, steady themselves, zigzag, fight, retreat, pick up, take new bearings, and finally find their own true balance.”
—Stella Chess (20th century)