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:
“Everything that explains the world has in fact explained a world that does not exist, a world in which men are at the center of the human enterprise and women are at the margin helping them. Such a world does not existnever has.”
—Gerda Lerner (b. 1920)
“People are always blaming their circumstances for what they are. I dont believe in circumstances. The people who get on in this world are the people who get up and look for the circumstances they want, and, if they cant find them, make them.”
—George Bernard Shaw (18561950)