SAYS overpainting

SAYS overpainting

Postby byte-one » Tue Jul 05, 2011 11:45 am

The abnormal painting are only in VISTA and 7 visible! The next code in the original control.prg is not the solution for this ugly problem with says. On every click on checkbox or radio the says are overpainted and becomes bigger and bigger!

Code: Select all  Expand view
        if Upper( ::ClassName() ) $ "TCHECKBOX;TRADIO;TGROUP"
               // Without the above IF condition, says with border in themed apps
               // on transparent dialogs with solid color background
               // are not painted correctly. With each click of checkbox / radio
               // border and say text are overpainted one pixel down & one pixel right

               DrawPBack( ::hWnd, hDC )
               //ParentImage( ::hWnd, hDC )
            endif
Last edited by byte-one on Tue Jul 05, 2011 1:58 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: SAYS overpainting

Postby Enrico Maria Giordano » Tue Jul 05, 2011 1:10 pm

I see no problems in SAYs using latest FWH release. Can you provide a little sample of the problem?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8343
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: SAYS overpainting

Postby byte-one » Tue Jul 05, 2011 1:57 pm

Enrico, some tests and I found out, this painting-error are not direct produced from checkbox or radio!!! It shows always on call from oDlg:refresh(.F.)!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: SAYS overpainting

Postby Enrico Maria Giordano » Tue Jul 05, 2011 2:08 pm

We still need a sample of the problem.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8343
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: SAYS overpainting

Postby byte-one » Tue Jul 05, 2011 2:21 pm

Please look at this screen:
http://byte-one.com/1.jpg

In the meantime I commented out also in control.prg the ::oWnd:refresh(.F.) from "case nMsg == WM_LBUTTONDOWN" in the method Handleevent(). And now is OK for me. Think: The error are only in VISTA and 7 !
But I dont no, if this correction shows sideeffects!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: SAYS overpainting

Postby James Bott » Tue Jul 05, 2011 4:04 pm

Many of these things seem to be related to specific themes.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: SAYS overpainting URGENT

Postby byte-one » Fri Jul 08, 2011 11:44 am

Please let us correct also this point! I use this little correction without problems.

In the meantime I commented out also in control.prg the ::oWnd:refresh(.F.) from "case nMsg == WM_LBUTTONDOWN" in the method Handleevent(). And now is OK for me. Think: The error are only in VISTA and 7 !
But I dont no, if this correction shows sideeffects!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: SAYS overpainting

Postby Antonio Linares » Sat Jul 30, 2011 7:37 pm

Günther,

It seems as the problem comes from function FixSays(). If you add this code in your app:

function FixSays()

return nil

then the SAYs don't overpaint

We are looking for the right fix. Many thanks for your feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41348
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: SAYS overpainting

Postby Antonio Linares » Mon Aug 01, 2011 7:18 am

We are publishing FWH 11.07 where we have modified FixSays() but we may need further testing to be sure that there are no side effects for this change
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41348
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 11 guests