Hmmmm...for some reason I am having problems with LoadBitmap(). I tried both lpBitmapName$ and lpBitmapName$z:
Extern "Win32"
Function LoadBitmap:Int(hInstance,lpBitmapName$)="LoadBitmapA@8"
Function SetMenuItemBitmaps:Int(hMenu,uPosition,uFlags,hBitmapUnchecked,hBitmapChecked)="SetMenuItemBitmaps@20"
EndExtern
I am trying to load a 16x16 bitmap. It always returns 0.
Extern "Win32"
Function LoadBitmap:Int(hInstance,lpBitmapName$)="LoadBitmapA@8"
Function SetMenuItemBitmaps:Int(hMenu,uPosition,uFlags,hBitmapUnchecked,hBitmapChecked)="SetMenuItemBitmaps@20"
EndExtern
I am trying to load a 16x16 bitmap. It always returns 0.