Display bmp on window

Display bmp on window

Postby Marc Vanzegbroeck » Fri Sep 14, 2007 8:32 am

Hi,

IN FW I used

Code: Select all  Expand view  RUN
   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  Expand view  RUN
   Error description: Error BASE/1004  Message not found: TBITMAP:HBMPPAL


How can I display a bmp in FWH?

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


Postby Marc Vanzegbroeck » Fri Sep 14, 2007 9:44 am

Enrico,

oBmp:hBitmap works!!

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests