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:
“That the world is not the embodiment of an eternal rationality can be conclusively proved by the fact that the piece of the world that we knowI mean our human reasonis not so very rational. And if it is not eternally and completely wise and rational, then the rest of the world will not be either; here the conclusion a minori ad majus, a parte ad totum applies, and does so with decisive force.”
—Friedrich Nietzsche (18441900)
“The science, the art, the jurisprudence, the chief political and social theories, of the modern world have grown out of Greece and Romenot by favor of, but in the teeth of, the fundamental teachings of early Christianity, to which science, art, and any serious occupation with the things of this world were alike despicable.”
—Thomas Henry Huxley (182595)