Web Development
Discussion Locked
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to know, what control should I use in vc++ that have the same function like picture box in vb. I'm working on image processing project, so I want to put images in one dialog, input image and couple of output image.
1 reply
Without having to use a 3rd party control; the Picture static control (the icon in the top right corner of the Resource Controls toolbar when floating) will do the trick. Use CStatic::SetBitmap to modify/set the bitmap.
It can handle bitmaps, icons, enhanced metafiles, and cursors.
The caveat is that--when dealing with bitmaps--you must us an HBITMAP.
If you're looking for something a little lower-level than that, you could create an SS_BLACKFRAME control in your dialog and send theSTM_SETBITMAP message to that control. (This is all encapsulated by the CStatic::SetBitmap() method).
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
1 helpful
12 replies
0 helpful
1 reply
1 helpful
4 replies
0 helpful
0 replies
0 helpful
0 replies