Hello all...
I hate to bug everyone here with my stupid questions but yet again I am stumpped!
dim BMINFO as BITMAP
dim hBmp as long
hBmp = LoadBitmap(hInstance, "button1")
GetObject(hBmp, sizeof(BMINFO), BMINFO)
all the members of BMINFO report proper values for the bitmap except for ".bmBits" for some reason this returns zero. This member is supposed to contain the 32bit address for the bitmap pixel data. Am I missing something here?
Cheers!
I hate to bug everyone here with my stupid questions but yet again I am stumpped!
dim BMINFO as BITMAP
dim hBmp as long
hBmp = LoadBitmap(hInstance, "button1")
GetObject(hBmp, sizeof(BMINFO), BMINFO)
all the members of BMINFO report proper values for the bitmap except for ".bmBits" for some reason this returns zero. This member is supposed to contain the 32bit address for the bitmap pixel data. Am I missing something here?
Cheers!
Comment