Here is another syntax for making the window and box
this is mine from scratch, but its just a VERY simple example
no BMP here... ill throw one in tonight..
Code:
#in#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Box.H>
#include <math.h>
#include <FL/Fl_Image.H>
int bres = 480;
int wyres = 600;
int wxres = 800;
int
main(int argc, char ** argv)
{
Fl_Window *window;
Fl_Box *FL_Surface;
FL_Surface = new Fl_Box(4, 4, bres, bres, "Main Surface");
FL_Surface->box(FL_UP_BOX);
window = new Fl_Window(wxres, wyres, "LaserBoy GUI test 2");
window->end();
window->show(argc, argv);
window->color(FL_BLACK);
return(Fl::run());
}
here is another example
http://www.gidforums.com/t-18175.html