FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 8.11 bKeyDown fails
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FWH 8.11 bKeyDown fails
Posted: Wed Dec 03, 2008 05:24 PM

Antonio,

Have you checked it?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.11 bKeyDown fails
Posted: Wed Dec 03, 2008 10:02 PM
Hakan,

yes, I have seen it. This fix seems to be ok in Class TFolder line 453:
         if IsAppThemed() .and. ! ::lTransparent
            if Empty( oDlg:oBrush:hBitmap )
               oDlg:bEraseBkGnd = { | hDC | DrawPBack( oDlg:hWnd, hDC ), 1 }
            endif
         endif
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 01:32 AM
Hi!

I noticed the first image with groupbox's font is different from folder's...

My problem is with 8.11 (or even the 2.4) the groupbox inherited the folder's font....

any of groupbox or folder or control class modified?

My regards,



Horizon wrote:Hi Antonio,

As I said these lines are not mine. I use SetColor method in dialog. Without these lines transparent does not works.

I have captured one of my form with changes and without changes below.

with changes:


without (means i deleted changed Tfolder.prg from my make list. use standart library.)


The code is the same.
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 02:19 AM
This could be related... Please look...


http://forums.fivetechsoft.com/viewtopic.php?p=71105#71105


Regards,
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 05:35 AM
Hi Antonio,

After this correction, There is no need to set color to dialog. It is OK for me.

Did yo consider the my second issue. (The font nCharSer problem)?

Thanks,

Antonio Linares wrote:Hakan,

yes, I have seen it. This fix seems to be ok in line 453:
         if IsAppThemed() .and. ! ::lTransparent
            if Empty( oDlg:oBrush:hBitmap )
               oDlg:bEraseBkGnd = { | hDC | DrawPBack( oDlg:hWnd, hDC ), 1 }
            endif
         endif
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 08:30 AM

Frances,

Yes, I see what you mean.

But we have not found a solution for it yet :-(

Class TControl Method Colors() is the last place where the font can be set, before painting, and it is ignored.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 10:07 AM
Hakan,

We have implemented your charset suggestion, this way:
   #ifdef _DEFAULT_CHARSET_ 
      DEFAULT nCharSet := _DEFAULT_CHARSET_
   #endif

as we use uppercase for defines. Thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 10:09 AM

Hakan,

Or are you using a public variable for it ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FWH 8.11 bKeyDown fails
Posted: Thu Dec 04, 2008 11:24 AM

Hi Antonio,

I have not used yet.

I think I can define top of my application like that

define DEFAULT_CHARSET 1

Can I use it like that?

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
FWH 8.11 bKeyDown fails
Posted: Fri Dec 12, 2008 10:16 PM

Hi Antonio,

Have you added these changes 8.11. Can I download again 8.11?

Thanks,

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06

Continue the discussion