FWH 8.11 bKeyDown fails

Postby Horizon » Wed Dec 03, 2008 5:24 pm

Antonio,

Have you checked it?
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Antonio Linares » Wed Dec 03, 2008 10:02 pm

Hakan,

yes, I have seen it. This fix seems to be ok in Class TFolder line 453:
Code: Select all  Expand view  RUN
         if IsAppThemed() .and. ! ::lTransparent
            if Empty( oDlg:oBrush:hBitmap )
               oDlg:bEraseBkGnd = { | hDC | DrawPBack( oDlg:hWnd, hDC ), 1 }
            endif
         endif
Last edited by Antonio Linares on Thu Dec 04, 2008 8:27 am, edited 1 time in total.
regards, saludos

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

Postby fraxzi » Thu Dec 04, 2008 1: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:
Image

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

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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby fraxzi » Thu Dec 04, 2008 2:19 am

This could be related... Please look...


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


Regards,
Last edited by fraxzi on Thu Dec 04, 2008 6:54 am, edited 3 times in total.
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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Postby Horizon » Thu Dec 04, 2008 5: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:
Code: Select all  Expand view  RUN
         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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Antonio Linares » Thu Dec 04, 2008 8: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42117
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Dec 04, 2008 10:07 am

Hakan,

We have implemented your charset suggestion, this way:
Code: Select all  Expand view  RUN
   #ifdef _DEFAULT_CHARSET_
      DEFAULT nCharSet := _DEFAULT_CHARSET_
   #endif

as we use uppercase for defines. Thanks
regards, saludos

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

Postby Antonio Linares » Thu Dec 04, 2008 10:09 am

Hakan,

Or are you using a public variable for it ?
regards, saludos

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

Postby Horizon » 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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Postby Horizon » 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.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 51 guests

cron