Display bmp on window

Post Reply
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Display bmp on window

Post by Marc Vanzegbroeck »

Hi,

IN FW I used

Code: Select all

   ACTIVATE WINDOW oMenuWnd MAXIMIZED ;
   ON PAINT (PalBmpDraw( hDC, ( oMenuWnd:nbottom - oMenuWnd:ntop )-220 , ((oMenuWnd:nright)-(oMenuWnd:nleft)-(350))/2, oBmp:hBmpPal ))
to display a bmpfile in the middle at the bottom of the screen.

In FWH I get an error:

Code: Select all

   Error description: Error BASE/1004  Message not found: TBITMAP:HBMPPAL
How can I display a bmp in FWH?

Thanks,
Marc
Marc Vanzegbroeck
Posts: 1102
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium
Contact:

Post by Marc Vanzegbroeck »

Enrico,

oBmp:hBitmap works!!

Thanks,
Marc
Post Reply