Bug in FWH with TRANSPARENT & ICON?

Bug in FWH with TRANSPARENT & ICON?

Postby Marc Vanzegbroeck » Fri Oct 12, 2007 6:22 pm

Hi,

I have a strange effect when using the TRANSPARENT option in a dialog.

The code is:
Code: Select all  Expand view
#INCLUDE "FiveWin.ch"
#include "fwinkey.ch"

FUNCTION test()
   local oDlg
   local oBrush
   DEFINE BRUSH oBrush  COLOR nRGB(240,240,245)

   DEFINE DIALOG oDlg RESOURCE "OPENENDATABASE" BRUSH oBrush  TRANSPARENT
   ACTIVATE DIALOG oDlg CENTERED

RETURN nil

Code: Select all  Expand view
#include "c:\fwh\FWH710\include\WinApi.ch"

OPEN  ICON    folder2.ico

#ifdef __FLAT__
  1 24 "c:\fwh\FWH710\samples\WinXP\WindowsXP.Manifest"
#endif


OPENENDATABASE DIALOG 73, 37, 144, 48
STYLE DS_MODALFRAME | 0x4L | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Opening database"
FONT 8, "MS Sans Serif"
{
LTEXT "Please wait...", -1, 55, 19, 57, 8
ICON "open", -1, 20, 12, 21, 20
GROUPBOX "", -1, 5, 2, 134, 38, BS_GROUPBOX
}


If I comment the TRANSPARENT, I see a dialog with ICON & Text.
If I use TRANSPARENT I see a text 'open' on the place where the icon should be.

Is this a bug in FWH?

Thanks,
Marc
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Antonio Linares » Fri Oct 12, 2007 7:23 pm

Marc,

It was a bug. Already fixed :-)

We email you a modified FiveHC.lib

Thanks for your feedback! :-)
regards, saludos

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

Postby Marc Vanzegbroeck » Fri Oct 12, 2007 8:24 pm

Thanks Antonio,

It's working fine now :D

Regards,

Marc
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Postby Marc Vanzegbroeck » Fri Oct 12, 2007 9:06 pm

Antonio,

With new new lib you have send me I, the SAY's aren't transparant anymore :cry:

http://www.vms.be/FWTest/trasparent.bmp

Regards,
Marc
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 41 guests