Code: Select all
onPaint(_Source, _Rectangle, GDI) :-
% ... usual GDI+ parameters removed
ImgOpaq = bitmap::createFromResID(HModule, resourceIdentifiers::idb_bitmap64_opaque, 20, 20),
Graphics:drawImageI(ImgOpaq, 10, 80),
ImgTran = bitmap::createFromResID(HModule, resourceIdentifiers::idb_bitmap64_transparent, 20, 20),
Graphics:drawImageI(ImgTran, 80, 80),
Code: Select all
Internal run-time exception occurred
Arguments = Cannot load image from resource ID: 10001
internal (exception)
bitmap::loadImageHandle
pfc\gui\gdiplus\image\bitmap\bitmap.pro(176,9)