How to Load a New Image in a FLTK Window

I was wondering how I would go about loading a new image in a FLTK Window after having pressed a button. In my case, the new image would come from a vector with a list of file names. Clicking the 'Next' button in the window would open the new image (in the same window) and clicking 'Previous' would open the previous image. Any suggestions?

Usually, we choose to load new image to web or windows application from two ways, one is loading image from local native file, and the other wat is loading image from .net fraphics. Choosing which one depends on which project you are dealing with. You want to load a new image in a FLTK window, so, you can check the guide on new image loading from file, including the method and sample programming code.

http://www.rasteredge.com/how-to/csharp-imaging/load-from-file/

http://www.rasteredge.com/how-to/csharp-imaging/load-from-net-graphics/

Topic archived. No new replies allowed.