Search found 29 matches: drawpback

Return to advanced search

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6358

Re: New Class : TSayjustified

Antonio Linares wrote:Have you tried with SetBkMode( hDC, TRANSPARENT ) ?



on method Painttext antolin used SetBkMode( hDC, 1 ) i think perhaps it not need drawpback

but sometimes I have problem with fonts on win 7

do you Know the Antolin mail ? I wish ash some questions ...
by Silvio.Falconi
Tue Apr 12, 2016 9:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class : TSayjustified
Replies: 4
Views: 1144

New Class : TSayjustified

...  := ::hDC    * Local aInfo       := ::DispBegin()  //  IF ::lTransparent  //     ::DrawPBack( ::hWnd, hDC )  //    ELSE         ::_FillRect( aRect[1], aRect[2], aRect[3],aRect[4], ...
by Silvio.Falconi
Mon Apr 11, 2016 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New Class : TSayjustified
Replies: 4
Views: 1144

Re: Saltos de focos entre dos dialogos modales con dos monitores

... Elimina el método SetText() de la Clase TSay y comprueba si desaparece el efecto, gracias 2. Candidatos a lo que ocurre pudieran ser las llamadas: DrawPBack() y/o GetTextWidth() Prueba a eliminar cada una de esas por separado, gracias :-)
by Antonio Linares
Fri Sep 13, 2013 6:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saltos de focos entre dos dialogos modales con dos monitores
Replies: 5
Views: 1268

Re: Problem with FW 11.06

... in the control.prg: In the Method Colors(hDC) please see lines 486 and 487 ( FWH 11.06):               DrawPBack( ::hWnd, hDC )               //ParentImage( ::hWnd, hDC )  ParentImage is commented and ...
by nageswaragunupudi
Sun Jul 31, 2011 8:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with FW 11.06
Replies: 14
Views: 3383

Re: Problems with Checkbox

... doesn't seem to work. In the meantime, please try my previous sample without manifest file and with the following changes to control.prg: - both DrawPBack() calls commented out - the following line reactivated: ::oWnd:Refresh( .f. )   // EMG commented out to avoid flicker Then test ...
by Enrico Maria Giordano
Sun May 15, 2011 10:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: Problems with Checkbox

... test it with and without theme manifest. Unfortunately TEST1 dialog without folder doesn't seem to work (without themes) even if I comment out DrawPBack() calls: #include "Fivewin.ch"FUNCTION MAIN()    TEST1()    TEST2()    RETURN NILSTATIC FUNCTION TEST1()  ...
by Enrico Maria Giordano
Sun May 15, 2011 9:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: Problems with Checkbox

Enrico Maria Giordano wrote:the first thing we have to know is what DrawPBack() is for.


DrawPBack() draws the background of the parent control containing the transparent object.

We have to test radios and checkboxes inside a folder too.

EMG
by Enrico Maria Giordano
Sun May 15, 2011 9:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: Problems with Checkbox

No Emg,

On Old Post on spanish forum Antonio Linares remmed this line !!!

this last year...

and there is another topic on forum
Remember ?
viewtopic.php?f=3&t=19966&hilit=DrawPBack
by Silvio
Tue May 10, 2011 9:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: Problems with Checkbox

Richard Chidiak wrote:
Code: Select all  Expand view
//DrawPBack( ::hWnd,  hDC )  // chidiak remove this line


Richard, the first thing we have to know is what DrawPBack() is for. Antonio (or anybody else)?

EMG
by Enrico Maria Giordano
Tue May 10, 2011 9:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: Problems with Checkbox

... to rem this line if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP" // ParentImage( ::hWnd, hDC ) // chidiak // DrawPBack( ::hWnd, hDC ) // chidiak remove this line endif endif return ::oBrush:hBrush I tried this test #include"fivewin.ch"FUNCTION TEST()  ...
by Silvio
Mon May 09, 2011 8:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with Checkbox
Replies: 43
Views: 6973

Re: ERROR ON RADIO

Now on win xp I add

function IsAppThemed()

return .F.

and it seems go ok , this afternoon I try to win seven

I'm thinking perhaps there is an error on DrawPBack( ::hWnd, hDC ) function
by Silvio
Mon Apr 11, 2011 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON RADIO
Replies: 1
Views: 396

ERROR ON RADIO

... dialog oDlgretuRN NIL I try to modify control.prg if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP" // DrawPBack( ::hWnd, hDC ) endif endif Bu tI have the same error on Win xp and Win Seven
by Silvio
Sun Apr 10, 2011 11:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ERROR ON RADIO
Replies: 1
Views: 396

Re: Serious problem - 10.7 to 10.9

James,

Enrico already noticed the reason for it:

Windows themes API IsAppThemed() returns .T. even if we are not using a themes manifest (my first example) so FWH calls DrawPBack() (another Windows themes API function) and it fails as themes are not being used.
by Antonio Linares
Sat Oct 16, 2010 6:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Serious problem - 10.7 to 10.9
Replies: 11
Views: 2061

Re: FWH1009 CheckBox Prompt disappear

... in the following lines: if IsAppThemed() .and. Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP"   DrawPBack( ::hWnd,  hDC )endif The function IsAppThemed() returns .T. even if the theme manifest is not linked in. So DrawPBack() is executed ...
by Enrico Maria Giordano
Thu Oct 07, 2010 9:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH1009 CheckBox Prompt disappear
Replies: 17
Views: 3170
Next

Return to advanced search