-
November 7th, 2007, 02:33 AM
#1
list control
hi
i have dialog box in which i have a list box .when i click each item in the list box
it should display the preview image on the same dialog box. i have some images and.bmp files .when i click each image list in list box it shoul show the preview of it on the dialog box
how can i do this
regards
vasanth
-
November 7th, 2007, 03:39 AM
#2
Re: list control
You can use a "picture" control (static control with the SS_BITMAP or SS_ICON style) to show your .bmp and .ico files.
To load the .bmp and .ico files you should use LoadImage API with the LR_LOADFROMFILE flag.
Read MSDN for details.
Victor Nijegorodov
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|