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:
“For, the experience of each new age requires a new confession, and the world seems always waiting for its poet.”
—Ralph Waldo Emerson (18031882)
“Do not try to push your way through to the front ranks of your profession; do not run after distinctions and rewards; but do your utmost to find an entry into the world of beauty.”
—Konstantin Stanislavsky (18631938)