Hi,
how to load jpg image from resouce file ?
Thanks in advance.
Best regards,
#define JPEG 10
OLGA JPEG c:\fwh\bitmaps\olga1.jpg
#include "fivewin.ch"
function jpgfromrc
local oDlg
DEFINE DIALOG oDlg SIZE 300,300 PIXEL TRUEPIXEL TITLE "JPEG FROM RESOURCE"
@ 50,75 BTNBMP RESOURCE "OLGA" SIZE 150,200 PIXEL OF oDlg
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 111 guests