Please forgive my "newbie" query, I was wondering, how can i display bitmaps on my dialogs? I am using Borlands resource editor. If i use borland's BWCC library to display a bitmap I MUST distribute the file BWCC.DLL as well, am i right? I just want to avoid these extra Dlls. If I am mistaken, please correct me. thanks to all.
Posted on 2001-01-15 04:01:00 by Ray
you can easily display a bitmap in your dialog without using any dlls. just put something like this in your resource script: #define BITMAP_1 1 BITMAP_1 BITMAP "mybitmap.bmp" and use a static control to display the bitmap: CONTROL BITMAP_1, -1, "static", SS_BITMAP | WS_CHILD | WS_VISIBLE, 4, 4, 0, 0 what's important is to use the ss_bitmap style and use the bitmap identifier (bitmap_1 in this case).
Posted on 2001-01-17 11:21:00 by tola