Hi All,
yesterday i upgraded to fwH 2.7 for proper use with the latest xHarbour builder.
One of my applications has a main dialog with some BtnBmp on it, which are not placed on a ButtonBar.
When clicking on the dialog title a dotted line is painted around every button. To make this unwanted dots disappear i have to move the mouse cursor over all buttons.
Can anybody confirm this strange behaviour?
Regards,
Detlef
BtnBmp in FwH 2.7
- Detlef Hoefner
- Posts: 312
- Joined: Sat Oct 08, 2005 9:12 am
- Location: Germany
- Contact:
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: BtnBmp in FwH 2.7
Please take the time to build a reduced and self-contained sample of the problem.
EMG
EMG
- Detlef Hoefner
- Posts: 312
- Joined: Sat Oct 08, 2005 9:12 am
- Location: Germany
- Contact:
Thanks Enrico,
Here you can find my example of a dialog with BtnBmp buttons:
http://www.d-hoefner.de/files/x-po.zip
I used the latest FvH 2.7 together with xHarbourBuilder of March 2006.
Regards,
Detlef
Here you can find my example of a dialog with BtnBmp buttons:
http://www.d-hoefner.de/files/x-po.zip
I used the latest FvH 2.7 together with xHarbourBuilder of March 2006.
Regards,
Detlef
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Sorry, I wasn't able to run your sample:
xHarbour Compiler build 0.99.61 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
X-PO.c:
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error X-PO.RC 23 13: Invalid bitmap format
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
EMGError description: Error FiveWin/3 Cannot create Dialog Box:
Resource: DLG_START
- Detlef Hoefner
- Posts: 312
- Joined: Sat Oct 08, 2005 9:12 am
- Location: Germany
- Contact:
Enrico,
i had this problem too with Borland Resource Workshop.
But with xHarbour Builder i use Pelles C as Resource Editor which can handle this bitmap format.
I modified the 4 bitmap files to indexed 256 Windows colors.
http://www.d-hoefner.de/files/tmp.zip
Now brc can handle them. I tested this.
But the result is still the same.
When clicking the Dialog title the dotted lines appear.
Thanks for your time,
Detlef
i had this problem too with Borland Resource Workshop.
But with xHarbour Builder i use Pelles C as Resource Editor which can handle this bitmap format.
I modified the 4 bitmap files to indexed 256 Windows colors.
http://www.d-hoefner.de/files/tmp.zip
Now brc can handle them. I tested this.
But the result is still the same.
When clicking the Dialog title the dotted lines appear.
Thanks for your time,
Detlef
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Ok, found! Just remove WS_TABSTOP style:
EMG
Code: Select all
CONTROL "", 201, "TBtnBmp", 0, 25, 33, 27, 23
CONTROL "", 202, "TBtnBmp", 0, 59, 33, 27, 23
CONTROL "", 203, "TBtnBmp", 0, 108, 33, 27, 23
CONTROL "", 204, "TBtnBmp", 0x00000008, 169, 33, 27, 23
- Detlef Hoefner
- Posts: 312
- Joined: Sat Oct 08, 2005 9:12 am
- Location: Germany
- Contact:
Hi Enrico,EnricoMaria wrote:Ok, found! Just remove WS_TABSTOP style:
EMGCode: Select all
CONTROL "", 201, "TBtnBmp", 0, 25, 33, 27, 23 CONTROL "", 202, "TBtnBmp", 0, 59, 33, 27, 23 CONTROL "", 203, "TBtnBmp", 0, 108, 33, 27, 23 CONTROL "", 204, "TBtnBmp", 0x00000008, 169, 33, 27, 23
you are right.
And i can can state that you're a real Sherlock Holmes for FiveWin internals.
Thanks a lot.
Detlef
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: