|
-
November 18th, 2011, 07:13 AM
#2
Re: GDI Object Failing
 Originally Posted by He_That_Is
... When the CBitmap does the LoadBitmap(nID) function, the CGDIObject does not initialize the CBitmap object and obtain the m_hObject value - it remains NULL.
Did you check the return value of LoadBitmap? Isn't it zero (FALSE)?
Does your resource file contain these bitmaps?
Are the resource IDs in the resource file the same as you use in your CChildView class?
Victor Nijegorodov
Tags for this Thread
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
|