Search found 12 matches: onpaint

Return to advanced search

Re: "Snap" for Clipper

...      454  3134  3135 ONMOUSEMOVE            WINDOW.PRG      454  3513  3514  3515  3517  3518 ONMOVE                  WINDOW.PRG      454 ONPAINT                WINDOW.PRG      454 ONRESIZE                WINDOW.PRG      454  2662  2663 OOBJ                    WINDOW.PRG     2343  2350 ...
by Antonio Linares
Sat Oct 26, 2013 9:44 am
 
Forum: Off Topic / Otros temas
Topic: "Snap" for Clipper
Replies: 7
Views: 6540

Alpablended-BMP on top of xBrowse-Brush or Image ?

Hello, A option in my xBrowse-Tests is to show a Alphablended-BMP inside xBrowse on top of a Brush or Image. I tested inside the Dialog and ONPAINT. Is it possible ?, otherwise I have to delete this option in my tests. In my tests, I got it allways shown on the Dialog-Background. http://www.pflegeplus.com/pictures/xbrwalpha.jpg ...
by ukoenig
Thu Jan 15, 2009 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Alpablended-BMP on top of xBrowse-Brush or Image ?
Replies: 0
Views: 250

Uwe, >Like Antonio told you : You have to use ONPAINT, to solve your problem. I think what JC is saying is that the 3rd-party product, sensitive SAY, does work without being called from ON PAINT, so it is techinically possible. He hopes that Antonio ...
by JC
Thu Aug 28, 2008 11:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3403

Uwe, >Like Antonio told you : You have to use ONPAINT, to solve your problem. I think what JC is saying is that the 3rd-party product, sensitive SAY, does work without being called from ON PAINT, so it is techinically possible. He hopes that Antonio ...
by James Bott
Wed Aug 27, 2008 11:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3403

Text-Writing on BMP

Hello JC, Like Antonio told you : You have to use ONPAINT, to solve your problem. Here is just a quick sample, how i use text-writing on BMP's from Resource on any places. The BMP-resource is filled with a brush or color, then a text is painted. I ...
by ukoenig
Wed Aug 27, 2008 7:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "REDEFINE SAY ... TRANSPARENT" not work! SOLVED!
Replies: 22
Views: 3403

BMP Widht and height

Hello, I think, that works. I used it in my old ONPAINT-function : nBMPWIDTH := oBmp:Super:nWidth() nBMPHIGHT := oBmp:Super:nHeight() Before FWH 8.07, i used it for painting text on gradient-bmp's. With FWH 8.07 it is easy to handle. If you don't ...
by ukoenig
Wed Aug 13, 2008 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap sizes
Replies: 3
Views: 731

How to fill a BMP from Res. with a spec. Color => SOURCE

... ) --------------------------------- REDEFINE BITMAP oBmp1 ID 770 ADJUST RESOURCE "Blanc" OF oDlg5 hDC := oBmp1:GetDC() oBmp1:bPainted := { |hDC|OnPaint( hDC,oBMP1,nCOLOR1) } oBmp1:ReleaseDC() Bitmap 2 ( same resource ) --------------------------------- REDEFINE BITMAP oBmp2 ID 771 ADJUST RESOURCE ...
by ukoenig
Wed Mar 26, 2008 1:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill a BMP from Res. with a spec. Color => SOURCE
Replies: 1
Views: 429

Show different fonts on Infobar

... = i cInfo := c_path + "\Info" + xxx +".bmp" REDEFINE BITMAP oBmp1 ID 100 ADJUST ; FILENAME "&cInfo" OF oDlg6 oBmp1:bPainted := { |hDC| OnPaint( hDC, ; "INI-File Settings", oFont1 ) } ENDIF NEXT oFont1:End() ....... ....... //----------------------------------------------------------------// ...
by ukoenig
Fri Feb 22, 2008 1:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to define a FONT with a saved String ?
Replies: 3
Views: 960

... oFont := ChooseFont() DEFINE WINDOW oWnd TITLE "Text on a bitmap" @ 1, 1 BITMAP oBmp FILENAME "..\bitmaps\fw.bmp" OF oWnd oBmp:bPainted := { |hDC| OnPaint( hDC, "BOLD TEXT", oFont ) } ACTIVATE WINDOW oWnd return nil //----------------------------------------------------------------// static function ...
by Otto
Mon Jan 21, 2008 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: bmptxt
Replies: 20
Views: 2820

Anyone could convert Crystal button C# into prg?

... this.Refresh(); } } private void UserControl1_Paint(object sender, System.Windows.Forms.PaintEventArgs e) { } protected override void OnPaint(PaintEventArgs e) { base.OnPaint(e); e.Graphics.FillRectangle(new SolidBrush(backColor),0,0,this.Width,this.Height); e.Graphics.SmoothingMode=SmoothingMode.HighQuality; ...
by ShumingWang
Sat Jul 14, 2007 8:50 am
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: Anyone could convert Crystal button C# into prg?
Replies: 0
Views: 1150

... ( )) CANCEL ACTIVATE DIALOG oDlgOrdem CENTER on init sysrefresh() Eu uso tambem esta função para fazer o degrade no onpaint() *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= FUNCTION Textura(oDlgTxt) *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*= LOCAL hWnd:=oDlgTxt:hWnd ...
by kbelo
Tue Apr 24, 2007 12:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Radiobutton e checkbox transparent.
Replies: 14
Views: 3463

... with the last update of 15th October. Firstly the visibility of the open files has changed as I am getting an "Alias Not Found" error in TWBrose:onPaint where none existed before. The function ShowRolls() access the datafile which caused the alias error. STOCKLOC->(DbGoTop()) DEFINE WINDOW ...
by GWard
Tue Oct 18, 2005 8:46 am
 
Forum: FiveWin for Pocket PC
Topic: FONT And SetFont()
Replies: 8
Views: 3224

Return to advanced search