简体   繁体   中英

How can I show a picture in design time in MFC picture control?

I don't want to do it in code, because I want to put controls on design time and so needs to know proper places. I draw bmp in onpaint. I mean statically not dynamically.

Thanks!

Follow These Steps

  1. Drag Picture Control to you dialog.
  2. Go to Picture Control propeties.
  3. Change its "Type" to Bitmap.
    Now you can see "image" will become active.
  4. just pass your BITMAP ID in it.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM