Home > Software engineering >  A modal dialog box picture control can't display images
A modal dialog box picture control can't display images

Time:10-13


MFC to join a dialog with the method of modal dialog box is can see the picture, and use a modal dialog box they did not see the pictures,

Images using a picture control, set to BITMAP, choose the corresponding BITMAP display in resources,

In addition, the other space of the modal dialog box is normal, such as edit box, radio button, etc can be normal use, just can't display images,

A friend had a similar problem? Some online encountered similar problems, but didn't say how to solve ah,

CodePudding user response:

Code to display images posted and have a look

CodePudding user response:

reference 1st floor lx624909677 response:
code to display images posted to see


I useless code, directly controls the image attributes set in, I try to use the code is feasible,

CodePudding user response:

Resource editor Settings are correct?

CodePudding user response:

Should be with modal non-modal do not have what relation, find the reason from the controls
  • Related