FWH 8.09 for MinGW - beta 1 ready

Test

Postby ukoenig » Sat Sep 20, 2008 3:29 pm

Antonio

The BRWTOOLS.exe is created with your new update ( still without RC ).
There was no problem.
I still have to include the RC-file.

I added the RC-file with you changes, still the same :
( i included the BMP again. It is the complete RC-file for download )
http://www.pflegeplus.com/fw_downloads/brwtools.rc
The EXE-file without resource : http://www.pflegeplus.com/DOWNLOADS/BRWtoolsMinGW2.zip
The loading-time is very fast.
( Because of the missing RC, you cannot open the main-dialog )
I think it is a good test-object
( round about 6000 lines of source )
I noticed the black DOS-box as well, after closing the application.

I think the problem is the RC-syntax
I tested a single dialog
The first CTEXT included < SS_CENTER > as well like the second one >
There was a error in the first CTEXT.
I deleted < SS_CENTER > the first line was ok and the error in the next CTEXT

Code: Select all  Expand view


// A look at WINAPI.ch => SS_CENTER i couldn't find

#define SS_BLACKRECT                      4
#define SS_WHITERECT                      6
#define SS_WHITEFRAME                     9
#define SS_LEFT                           0
#define SS_SIMPLE                        11   // 0x0B

CTEXT "0.01", 520, 282, 34, 19, 11,  WS_BORDER | WS_GROUP | WS_TABSTOP
CTEXT "1.00", 530, 282, 121, 19, 11, SS_CENTER | WS_BORDER | WS_GROUP | WS_TABSTOP
 


Image

Regards
Uwe :lol:
Last edited by ukoenig on Thu Apr 14, 2016 11:16 am, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Some more Tests

Postby ukoenig » Sat Sep 20, 2008 6:02 pm

Antonio,

I had a look at WINAPI.ch and the RC-file.

I found that in WINAPI.ch some #defines are missing ( incomplete ) :

ES_AUTOVSCROLL ( missing )
SS_CENTER ( missing )

I could'nt find.

existing values in WINAPI :
-------------------------------

#define ES_LEFT 0
#define ES_RIGHT 2
#define ES_MULTILINE 4
#define ES_AUTOHSCROLL 128 // 0x0080
#define ES_READONLY 2048 // 0x0800
#define ES_WANTRETURN 4096 // 0x1000

#define SS_BLACKRECT 4
#define SS_WHITERECT 6
#define SS_WHITEFRAME 9
#define SS_LEFT 0
#define SS_SIMPLE 11 // 0x0B

Is that the reason for the RC-errors ?
I didn't look for more in the moment.
I cannot complete WINAPI.ch by myself,
because i don't know the values.

I incuded your RC-file TESTXBR3.rc ( just for a test )
Works fine, no errors.

Code: Select all  Expand view

#include "d:\fwh\include\winapi.ch"

TEST DIALOG 6, 15, 306, 227
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "TXBrowse demo"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 252, 211, 50, 14
CONTROL "", 101, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 4, 5, 297, 202
}

STAR     BITMAP "favorite.bmp"
GREEN     BITMAP "level1.bmp"
RED     BITMAP "level2.bmp"



After solving the RC-problem, i can put a new MinGW-tool-version in the forum.

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Sat Sep 20, 2008 7:46 pm

Uwe,

You can get those values from your C compiler windows.h file.
regards, saludos

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

Bitmaps included inside resources

Postby ukoenig » Sat Sep 20, 2008 9:12 pm

Antonio,

some bitmaps are defined / loaded inside the resource.
It seems, only bitmaps from disk are working

Code: Select all  Expand view

That works !!!
----------------
CANCELAR BITMAP "cancel.bmp"

Syntax-error, invalid argument
------------------------------------
Blanc BITMAP
{
'42 4D EE 00 00 00 00 00 00 00 76 00 00 00 28 00'
'00 00 0F 00 00 00 0F 00 00 00 01 00 04 00 00 00'
'00 00 78 00 00 00 C4 0E 00 00 C4 0E 00 00 00 00'
'00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
'00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
'00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
'00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
'00 00 FF FF FF 00 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0'
}



These bitmaps must be deleted and loaded as files from disk ?

It looks, there are many changes in the original resource have to be done. To use them 1 : 1 is not possible.
Maybe to save them as DLL ?
I don't know, if there will be a difference.

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Working sample

Postby ukoenig » Sat Sep 20, 2008 10:39 pm

Antonio

a good message : It's working now.
It is not as much to change, i thought before.
I will give you the informations about, how i handled the resource
( changes and so on and the winapi.ch-changes ) and a final
BRW-Tools MinGW-Version tomorrow.
I will do still some more testing and have to add some bitmaps.
It looks very nice and is very fast.
Please copy this version to the same directory like the other version,
because of bmp's and so on and to test the speed-difference.

Download : http://www.pflegeplus.com/fw_downloads/ ... sMinGW._xe

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Sat Sep 20, 2008 11:38 pm

Uwe,

Very good :-)

Many thanks for your feedback,
regards, saludos

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

Postby Antonio Linares » Mon Sep 22, 2008 2:37 pm

We have a new FWH beta for MinGW gcc, without the "background" console window :-)

Quite close to have it ready :-)
regards, saludos

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

New Release

Postby ukoenig » Mon Sep 22, 2008 2:54 pm

Antonio,

I have the same error again, like in the first release
< Multidefine MESSAGEBOX >

20.09.2008 = 775.545 Byte => OK

22.09.2008 = 775.512 Byte => New
( The Files inside dated : 19.09.2008 seems to be the wrong one )

Tomorrow, a new version of xBrowse-tools is ready
with some nice new functions like :
Creating any dialog-background in relation to the browser.
A new folder-tab for that is included.

I could compile it with the MinGW as well.

Regards
Uwe :lol:
Last edited by ukoenig on Mon Sep 22, 2008 3:14 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Mon Sep 22, 2008 3:11 pm

Uwe,

We have just emailed you a new beta :-)
regards, saludos

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

New beta

Postby ukoenig » Mon Sep 22, 2008 3:44 pm

Antonio,

It is tested and works fine.
No problems

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests