ive been searching google for any tutorial about loading bitmaps and paint it in a window. so far the tutorials ive read was loading it from your resources.

I want to paint a bitmap from where you will choose a file from a file dialog and the you will draw the loaded image to your windows.

can anyone help me in this. point me to a tutorial or at least give me some clues on how to do it. Im a total noob. just started last week.

thanks

:'c

BITMAP *image = create_bitmap(width, height);
         image = load_bitmap("image.bmp", pal);

You can find more information in this place.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.