FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Including a bitmap in the executable.
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
Including a bitmap in the executable.
Posted: Fri Jun 03, 2011 05:43 AM
Guys:

I have the a background as bitmap in a window.
Code (fw): Select all Collapse
    DEFINE BITMAP oBitMap DISK "logobmp.bmp" OF oWindow

How can I include it in the executable instead of a separate file on disk ? Thank you.
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Including a bitmap in the executable.
Posted: Fri Jun 03, 2011 07:22 AM
In your .RC File

Code (fw): Select all Collapse
Login128x128 BITMAP DISCARDABLE "Images/Login128x128.Bmp"


In your .PRG

Code (fw): Select all Collapse
@ 1.5, 24.5 BITMAP oBmp RESOURCE "Login128x128" NOBORDER of oDlg


Regards
Anser

Continue the discussion