Peter
2005-08-17 16:58:04 UTC
I use SelectObject() with parameter HBITMAP on memory device context.
When I pass HBITMAP of bitmap loaded from resource all is OK,
I see drawed icon on dialog surface.
When I use bitmap converted from mbm format, SElectObject() returns NULL
and nothing is drawed.
Does exist any way to acquire detailed error info - what is wrong with my
bitmap ?
Or maybe there is other error - how can I retrieve some error info ?
Peter
When I pass HBITMAP of bitmap loaded from resource all is OK,
I see drawed icon on dialog surface.
When I use bitmap converted from mbm format, SElectObject() returns NULL
and nothing is drawed.
Does exist any way to acquire detailed error info - what is wrong with my
bitmap ?
Or maybe there is other error - how can I retrieve some error info ?
Peter