Lailton,
I am not quite sure about what you want to do, but you can try:
oMsgBar:bPainted = { | hDC | DrawBitmap( hDC, ... ) }
#include "FiveWin.ch"
function Main()
local oBmp, oWnd, oBar
DEFINE BITMAP oBmp FILENAME "barra.bmp"
DEFINE WINDOW oWnd
SET MSGBAR OF oWnd TO "" 2007
oWnd:oMsgbar:bPainted = { | hDC | DrawBitmap( hDC, oBmp:hBitmap, 1, 5 ),;
DrawBitmap( hDC, oBmp:hBitmap, 1, 85 ) }
ACTIVATE WINDOW oWnd
oBmp:End()
return nil
DrawBitmap(ownd, LoadBitmap( GetResources(), "FUNDO" ), 1, 5 )
DEFINE BITMAP oBmp RESOURCE "FUNDOTEXTO"
DEFINE WINDOW oWnd TITLE "FiveWin" MENU BuildMenu()
DrawBitmap(ownd:hDC, oBmp, 10, 10, 100, 100 )
ownd:oMsgbar:clockon()
ownd:oMsgbar:dateon()
ACTIVATE WINDOW oWnd
DEFINE BITMAP oBmp RESOURCE "FUNDOTEXTO"
DEFINE WINDOW oWnd TITLE "FiveWin" MENU BuildMenu()
ACTIVATE WINDOW oWnd ;
ON PAINT DrawBitmap(ownd:hDC, oBmp:hBitmap, 10, 10, 100, 100 )
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 75 guests