![]() |
CXTPImageManagerIcon::DrawAlphaBitmap() wont work |
Post Reply ![]() |
Author | |||
tomay3000 ![]() Groupie ![]() ![]() Joined: 08 December 2010 Location: Algeria Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() Posted: 30 December 2010 at 5:01pm |
||
CXTPImageManagerIcon::DrawAlphaBitmap() wont work on OnDraw() virtual function Views !?
Where:
is previously declared. And my CGLVAgenceView is a CRecordView derived class. I tested the same code on an CDialog OnPaint() message map function & it's working perfectly. Any idea ? ![]() |
|||
Product: Codejock ToolkitPro MFC v16.2.0
Platform: Microsoft Windows 8 Pro (64-bit) Language: Microsoft Visual C++ v6.0 (MFC) |
|||
![]() |
|||
tomay3000 ![]() Groupie ![]() ![]() Joined: 08 December 2010 Location: Algeria Status: Offline Points: 56 |
![]() ![]() ![]() ![]() ![]() |
||
I found the origin of the problem: It was that the PNG image I was using as resource has wrong PNG structure (I corrected it using GIMP).
|
|||
Product: Codejock ToolkitPro MFC v16.2.0
Platform: Microsoft Windows 8 Pro (64-bit) Language: Microsoft Visual C++ v6.0 (MFC) |
|||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |