REDEFINE BITMAP

REDEFINE BITMAP

Postby Pier Luigi » Fri Oct 20, 2006 9:14 pm

When I use

REDEFINE BITMAP oBmp RESOURCE "LOGO" ID ...
oBmp:lTransparent := .t.

FWPPC show this error:

Argument error
%
stack calls:
TCONTROL:PAINT(0)
__EVAL(0)
TCONTROL:DISPLAY(0)
TCONTROL:HANDLEEVENT(0)
TCONTROL:HANDLEEVENT(0)
DIALOGBOX(0)
TDIALOG:ACTIVATE(0)
SHOWDIALOG(156)

...

I found in the BITMAP CLASS - Paint method this line

SetBrushOrgEx( ::hDC, 8 - ::nLeft() % 8, 8 - ::nTop() % 8 )

Any idea?

Regards
Pier Luigi
User avatar
Pier Luigi
 
Posts: 58
Joined: Fri Oct 07, 2005 6:30 am
Location: Rome - Italy

Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 8 guests