> I have tried the pixmap_browser demo and that displayed the > pictures just fine.
Then, sorry to say, I'd have to suggest something is wrong with your code... > As far as I can see the code is virtually the same. I'm just guessing, but I suspect there is some key difference there you are not taking account of! > The only thing I can > see is the location of the calls to fl_register_images(), > Fl::args(...) and "if (!dvisual) Fl::visual(FL_RGB);". I'm > not really sure what these methods do and whether the point > at which they get called makes any difference. Maybe that > could be causing the problem? As long as those things are called *before* you try to load your image, that should not matter. They are described in the docs - I assume you have read them? Without more info on your code, it's hard to say where it is going awry - how small an example can you make that manifests the bug? Perhaps you could post a worked example of the fault here for others to take a look at? FWIW, I find that likely sources of problems are objects you use going out of scope - are the objects you are creating suitably persistent to exist when they are actually being used? ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

