|
-
June 2nd, 2013, 05:25 PM
#2
Re: Cannot load bitmap resource onto button, but can do so if I load the filesystem f
Okay, I figured it out. It was because I was destroying the bitmaps after I loaded them to my buttons:
DeleteObject(hBmp);
Not doing this causes it to all look right, but I'll have to check to figure out if I have any cleanup responsibility, which I had just assumed I do.
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
|