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:
“The sky breaks.
It sags and breathes upon my face.
in the presence of mine enemies, mine enemies
The world is full of enemies.
There is no safe place.”
—Anne Sexton (19281974)
“Film is more than the twentieth-century art. Its another part of the twentieth-century mind. Its the world seen from inside. Weve come to a certain point in the history of film. If a thing can be filmed, the film is implied in the thing itself. This is where we are. The twentieth century is on film.... You have to ask yourself if theres anything about us more important than the fact that were constantly on film, constantly watching ourselves.”
—Don Delillo (b. 1926)