Search found 222 matches

by Eoeo
Thu Jul 19, 2012 7:43 am
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

I'm not very able to create a Object instead of a control and I am stop here : CLASS Umbrella DATA nTop, nLeft, nWidth, nHeight DATA nStatus DATA cBitmap DATA oWnd DATA   hBitmap, hPalette METHOD IsOver( nRow, nCol ) // to detect a mouse click METHOD New ( cBitmap, oWnd,nTop, nLeft,nWidth, nHeight) ...
by Eoeo
Tue Jul 17, 2012 6:20 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

I make a simply test #include "fivewin.ch"  #define MERGEPAINT 12255782    // 0xBB0226  #define SRCAND      8913094 static oWnd, hBmp1, hBmp2 Function test()    hBmp1 = LoadBitmap( GetResources(), "AZZURRO" )    hBmp2 = LoadBitmap( GetResources(), "ROSSO" )    DEFINE WI...
by Eoeo
Tue Jul 17, 2012 4:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

But when I paint a bitmap not call tbitmap control ?
by Eoeo
Tue Jul 17, 2012 1:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

and you think it can suopported many and many umbrellas ?
by Eoeo
Tue Jul 17, 2012 9:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

the final user must change the color of bitmaps ( 1,2,3,4,5 )

can you make a small test sample to understand how I must make it please ?
by Eoeo
Tue Jul 17, 2012 9:29 am
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

Dear Antonio, Many year ago I made beach application and I used the sbutton class of Mercado. It made some errors on the refreshing od dialog I use on the dialog a Panel control where I show the umbrellas and the TScrWnd to scroll the beach . Last year I tried with btnbmp class to show umbrellas of ...
by Eoeo
Tue Jul 17, 2012 6:14 am
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

Not run
by Eoeo
Mon Jul 16, 2012 10:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

how?
by Eoeo
Mon Jul 16, 2012 8:06 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

WHEN i MAKE @ nY*numero, nx*numero IMAGE aBtn[nBotone] SIZE BMP_H,BMP_V OF oPanel FILENAME NIL PIXEL NOBORDER aBtn[nBotone]:LoadImage( , UMBRELLA_FREE ) aBtn[nBotone]:lTransparent := .T. IT IS OK WHEN i ADD THESE LINE IT CRASH AND NOT FOUND nBotone aBtn[nBotone]:bPainted = { || SetBkMode( aBtn[nBoto...
by Eoeo
Mon Jul 16, 2012 7:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Cargo on a Bitmap Control
Replies: 3
Views: 519

Re: Cargo on a Bitmap Control

error,log note FiveWin Version: FWHX 12.03 but you sent me 12.04 Application ===========    Path and name: C:\Work\Prg\BikiniL\BikiniL.Exe (32 bits)    Size: 3,592,704 bytes    Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 6715)    FiveWin  Version: FWHX 12.03    Windows version: 6.1,...
by Eoeo
Mon Jul 16, 2012 7:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

Re: DRAW A TEXT ON A BITMAP

uwe, here crash
I use over 250 bitmaps...
by Eoeo
Mon Jul 16, 2012 6:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: DRAW A TEXT ON A BITMAP
Replies: 35
Views: 8028

DRAW A TEXT ON A BITMAP

i MADE : n:=123 hDC := aBtn[nBotone]:GETDC() SetTextColor( hDC,CLR_YELLOW) SetBkMode( hDC, 0 ) TextOut( hDC, 2, 4,str(n) ) aBtn[nBotone]:ReleaseDC() but I see for a second the number n with yellow color and then it hide...why ?
by Eoeo
Mon Jul 16, 2012 5:55 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Cargo on a Bitmap Control
Replies: 3
Views: 519

Cargo on a Bitmap Control

I made some bitmaps controls on a dialogs I must assign for each bmp a cargo value to assign values before I used btnbmp with this feature sample : aBtn[nbotone]:bLClicked:= {|oBtnOmb| Menu_action oBtnOmb,oFree,oPanel) } aBtn[nbotone]:cargo := { 'Free', n, "O",ny } then If I call the third...
by Eoeo
Sat Jul 14, 2012 11:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: checkbox on ribbonbar
Replies: 1
Views: 313

checkbox on ribbonbar

I made @ 5, 7 ADD BUTTON oChk2 GROUP oGroup[1] BITMAP ".\bitmaps\checkon.bmp" MOSTLEFT SIZE 80, 45 PROMPT "Normale" ; ACTION ( lNormale := ! lMultipla, oChk2:SetFile( If( lNormale, ".\bitmaps\checkon.bmp", ".\bitmaps\checkoff.bmp" ) ),; ) @ 55, 7 ADD BUTTON oC...
by Eoeo
Sat Jul 14, 2012 10:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Press buttons on a dialog
Replies: 0
Views: 274

Press buttons on a dialog

I made a dialog with some buttons ( btnbmp ) and I associated for each button an action aBtn[nbotone]:bAction := {|oBtnOmb| my_function(oBtn) } this when lMultiple is Off := .f. when lMultiple is .t. I wish no execute the action and when I press a button it must be pressed with the border colorized ...