FWH Resources Editor - Speed test

Postby Antonio Linares » Thu Dec 06, 2007 4:43 pm

Rick,

A new build that properly manages your RC file:
http://www.hotshare.net/file/21003-2152674de7.html

many thanks for your feedback! :-)

Image
regards, saludos

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

Postby Antonio Linares » Thu Dec 06, 2007 4:54 pm

Tim,

> Style not found: WS_VISIBLE
> Style not found 0x00a00000

Please post here the text lines where they are used, thanks

> Is there a list of styles somewhere where I can see these explained

There are two ways to write a control:

1) Using a generic "CONTROL" sentence:

CONTROL <prompt>, <nId>, <ClassName>, <Style>, <Coordinates and dimensions>

2) Using some standard defined controls, i.e.:

PUSHBUTTON "&Done", IDOK, 137, 76, 31, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP

Usually this second way uses this syntax (or quite similar):

<RESERVED_CLASSNAME> <Prompt>, <nId>, <Coordinates and dimensions>, <Style>

Both seem to be valid
regards, saludos

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

Postby Rick Lipkin » Thu Dec 06, 2007 5:44 pm

Antonio

Control 1066 does not appear in the calendar .. here is line 72 from the Rick.rc file does not show up in the dialog:

CONTROL "Mnth - Yr", 1066, "EDIT", ES_READONLY | NOT WS_TABSTOP | WS_DISABLED | WS_BORDER, 10, 40, 43, 12

Thanks
Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Problema con diálogo

Postby jmartial » Thu Dec 06, 2007 5:57 pm

Hola Antonio,

WS_BORDER me da error en el siguiente RC

PAN0001 DIALOG -32768, 55, 400, 274
STYLE 0x4L | WS_POPUP | WS_VISIBLE | WS_BORDER
FONT 8, "MS Sans Serif"
{
GROUPBOX "", 500, 71, 28, 316, 29, BS_GROUPBOX | WS_GROUP
RTEXT "Serie de Facturación:", 201, 77, 40, 65, 10
CONTROL "", 200, "SysTabControl32", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 84, 65, 268, 179
EDITTEXT 101, 144, 38, 16, 12, ES_CENTER | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
PUSHBUTTON "&Siguiente >>", 308, 52, 251, 45, 15, NOT WS_TABSTOP
PUSHBUTTON "<< &Anterior", 309, 4, 251, 45, 15, NOT WS_TABSTOP
PUSHBUTTON "&Imprimir", 301, 204, 251, 45, 15, NOT WS_TABSTOP
PUSHBUTTON "&Modifica", 302, 252, 251, 45, 15, NOT WS_TABSTOP
PUSHBUTTON "&Elimina", 303, 300, 251, 45, 15, NOT WS_TABSTOP
PUSHBUTTON "<ESC> FIN", 311, 348, 251, 45, 15, NOT WS_TABSTOP
CONTROL "", 900, "TBitmap", 0 | WS_CHILD | WS_VISIBLE, 7, 13, 50, 50
EDITTEXT 102, 163, 38, 220, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
}


Aparte, todos los caracteres acentuados no aparecen escritos correctamente.

Un Saludo,
Joaquín
jmartial
 
Posts: 458
Joined: Tue Mar 14, 2006 7:26 pm

Postby Antonio Linares » Thu Dec 06, 2007 6:17 pm

Rick,

Curiously controls 1066 and 1005 don't have the WS_CHILD and WS_VISIBLE styles. Thats why they are not shown.

Anyhow we have modified RE.EXE to provide those styles by default:
http://www.hotshare.net/file/21017-113939461d.html

Thanks for your feedback! :-)
regards, saludos

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

Postby Antonio Linares » Thu Dec 06, 2007 6:32 pm

Joaquin,

Tu ejemplo ya funciona:
http://www.hotshare.net/file/21030-3006093121.html

> Aparte, todos los caracteres acentuados no aparecen escritos correctamente.

Esto esta pendiente de que lo solucionemos, ya que los textos se pasan a unicode y por lo visto no estamos usando los parámetros correctos en la conversión a unicode usando MultiByteToWideChar()

gracias! :-)
regards, saludos

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

Otro diálogo que no va

Postby jmartial » Thu Dec 06, 2007 6:56 pm

Antonio,

ese ejemplo ya funciona, pero el siguiente no funciona, prueba y verás como no muestra nada o es invisible, se puede cerrar con F4, pero mientras es como si estuviera bloqueado.

PAN00025 DIALOG LOADONCALL MOVEABLE DISCARDABLE -28, 41, 388, 163
STYLE 0x4L | WS_CHILD
FONT 8, "MS Sans Serif"
{
EDITTEXT 139, 47, 15, 157, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 140, 238, 15, 142, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 141, 47, 29, 115, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 142, 238, 29, 27, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 143, 47, 43, 115, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
RTEXT "Dirección:", 240, 205, 17, 31, 10
RTEXT "Población:", 241, 11, 30, 34, 10
RTEXT "Provincia:", 243, 10, 44, 35, 10
RTEXT "Razón Social:", 239, 1, 16, 44, 10
RTEXT "C.P.:", 242, 219, 30, 17, 10
EDITTEXT 144, 47, 57, 56, 12
EDITTEXT 145, 106, 57, 56, 12
EDITTEXT 146, 275, 57, 105, 12
RTEXT "Teléfonos:", 244, 8, 57, 37, 10
RTEXT "Persona de contacto:", 246, 205, 58, 68, 10
EDITTEXT 147, 47, 85, 157, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 148, 238, 85, 142, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 149, 47, 99, 115, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 150, 238, 99, 27, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
EDITTEXT 151, 47, 113, 115, 12, ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP
RTEXT "Dirección:", 248, 205, 86, 31, 10
RTEXT "Población:", 249, 11, 100, 34, 10
RTEXT "Provincia:", 251, 10, 114, 35, 10
RTEXT "Razón Social:", 247, 1, 86, 44, 10
RTEXT "C.P.:", 250, 219, 100, 17, 10
EDITTEXT 152, 47, 127, 56, 12
EDITTEXT 153, 106, 127, 56, 12
EDITTEXT 154, 275, 127, 105, 12
RTEXT "Teléfonos:", 252, 8, 127, 37, 10
RTEXT "Persona de contacto:", 254, 205, 128, 68, 10
PUSHBUTTON "", 502, 287, 35, 83, 12, WS_DISABLED | WS_TABSTOP
LTEXT "ENVIO DE MERCANCIAS", 300, 290, 37, 77, 8
PUSHBUTTON "", 504, 295, 106, 75, 12, WS_DISABLED | WS_TABSTOP
LTEXT "ENVIO DE FACTURAS", 301, 298, 108, 70, 8
PUSHBUTTON "", 503, 1, 76, 381, 2, WS_DISABLED | WS_TABSTOP
}


Un Saludo,
Joaquín
jmartial
 
Posts: 458
Joined: Tue Mar 14, 2006 7:26 pm

Sorry for the delay

Postby TimStone » Thu Dec 06, 2007 7:32 pm

Hi Antonio,

Sorry for the delay ... my mother is 91 and in very poor health so I'm often away right now at the hospital, nursing home, etc.

Here is the full dialog from the .rc in which I have the two errors I mentioned:

PRO2100 DIALOG DISCARDABLE 4, 25, 660, 350
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_VISIBLE
CAPTION "Inventory Master Editor"
FONT 8, "Arial"
BEGIN
CONTROL "", 716, "TSBrowse", WS_TABSTOP|0x00a00000, 24, 176, 608, 165
CONTROL "", 770, "Edit", WS_BORDER|WS_TABSTOP, 64, 4, 100, 10
CONTROL "", 769, "Edit", WS_BORDER|WS_TABSTOP, 248, 4, 163, 10
CONTROL "", 768, "Edit", WS_BORDER|WS_TABSTOP, 64, 16, 100, 10
CONTROL "", 767, "ComboBox", WS_BORDER|CBS_DROPDOWN|WS_VSCROLL|WS_TABSTOP, 248, 16, 92, 162
CONTROL "", 763, "Edit", WS_BORDER|WS_TABSTOP, 64, 28, 100, 10
CONTROL "", 762, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 40, 43, 10
CONTROL "", 761, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 52, 43, 10
CONTROL "", 760, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 64, 43, 10
CONTROL "", 759, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 76, 43, 10
CONTROL "", 758, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 88, 43, 10
CONTROL "", 757, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 95, 100, 43, 10
CONTROL "", 506, "Edit", WS_BORDER|WS_TABSTOP, 95, 112, 60, 10
CONTROL "", 507, "Button", WS_TABSTOP, 158, 111, 14, 12
CONTROL "Tax \?", 749, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 26, 135, 40, 12
CONTROL "", 745, "ComboBox", WS_BORDER|CBS_DROPDOWN|WS_VSCROLL|WS_TABSTOP, 92, 136, 50, 143
CONTROL "Stock \?", 748, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 26, 147, 40, 12
CONTROL "Core \?", 750, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 147, 40, 12
CONTROL "List", 747, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 26, 159, 32, 12
CONTROL "", 746, "ComboBox", WS_BORDER|CBS_DROPDOWN|WS_VSCROLL|WS_TABSTOP, 60, 160, 80, 111
CONTROL "", 756, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 200, 40, 60, 10
CONTROL "", 755, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 200, 52, 60, 10
CONTROL "", 754, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 200, 64, 60, 10
CONTROL "", 753, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 200, 76, 60, 10
CONTROL "", 752, "Edit", ES_CENTER|WS_BORDER|WS_TABSTOP, 200, 88, 60, 10
CONTROL "", 751, "Edit", ES_CENTER|WS_BORDER|WS_TABSTOP, 200, 100, 60, 10
CONTROL "", 744, "Edit", WS_BORDER|WS_TABSTOP, 200, 124, 36, 10
CONTROL "", 501, "Button", WS_TABSTOP, 236, 123, 14, 12
CONTROL "", 743, "Edit", WS_BORDER|WS_TABSTOP, 200, 136, 36, 10
CONTROL "", 502, "Button", WS_TABSTOP, 236, 135, 14, 12
CONTROL "", 742, "Edit", WS_BORDER|WS_TABSTOP, 200, 148, 36, 10
CONTROL "", 503, "Button", WS_TABSTOP, 236, 147, 14, 12
CONTROL "", 741, "Edit", WS_BORDER|WS_TABSTOP, 200, 160, 36, 10
CONTROL "", 504, "Button", WS_TABSTOP, 236, 159, 14, 12
CONTROL "", 764, "Edit", WS_BORDER|WS_TABSTOP, 504, 4, 15, 10
CONTROL "", 765, "Edit", WS_BORDER|WS_TABSTOP, 476, 16, 26, 10
CONTROL "", 505, "Button", WS_TABSTOP, 504, 15, 14, 12
CONTROL "", 728, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 28, 60, 10
CONTROL "", 727, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 40, 60, 10
CONTROL "", 726, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 52, 60, 10
CONTROL "", 725, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 64, 60, 10
CONTROL "", 724, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 76, 60, 10
CONTROL "", 723, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 88, 60, 10
CONTROL "", 722, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 100, 60, 10
CONTROL "", 721, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 112, 60, 10
CONTROL "", 720, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 124, 60, 10
CONTROL "", 719, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 136, 60, 10
CONTROL "", 718, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 148, 60, 10
CONTROL "", 717, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 476, 160, 60, 10
CONTROL "", 4001, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 592, 4, 50, 10
CONTROL "", 4002, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 592, 16, 50, 10
CONTROL "", 4003, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 592, 28, 50, 10
CONTROL "", 4004, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 592, 40, 50, 10
CONTROL "&Add", 711, "Button", WS_TABSTOP, 580, 58, 50, 14
CONTROL "&Delete", 714, "Button", WS_TABSTOP, 580, 76, 50, 14
CONTROL "&Save", 710, "Button", WS_TABSTOP, 580, 94, 50, 14
CONTROL "&Locate", 712, "Button", WS_TABSTOP, 580, 112, 50, 14
CONTROL "&Price Calc", 713, "Button", WS_TABSTOP, 580, 130, 50, 14
CONTROL "E&xit", 715, "Button", WS_TABSTOP, 580, 148, 50, 14
CONTROL "Number", -1, "Static", WS_GROUP, 15, 4, 36, 10
CONTROL "Description", -1, "Static", WS_GROUP, 195, 4, 43, 10
CONTROL "Type", -1, "Static", WS_GROUP, 456, 4, 45, 10
CONTROL "Build", 4005, "Static", WS_GROUP, 548, 4, 36, 10
CONTROL "Cross Ref.", -1, "Static", WS_GROUP, 15, 16, 45, 10
CONTROL "Manufacturer", -1, "Static", WS_GROUP, 195, 16, 47, 10
CONTROL "Location", -1, "Static", WS_GROUP, 348, 16, 34, 10
CONTROL "", 766, "Edit", WS_BORDER|WS_TABSTOP, 389, 16, 40, 10
CONTROL "Sort", -1, "Static", WS_GROUP, 448, 16, 21, 10
CONTROL "Move", 4006, "Static", WS_GROUP, 548, 16, 36, 10
CONTROL "Super.", -1, "Static", WS_GROUP, 15, 28, 45, 10
CONTROL "HISTORY:", -1, "Static", SS_CENTER|WS_GROUP, 176, 28, 40, 10
CONTROL "Jan", -1, "Static", WS_GROUP, 296, 28, 16, 10
CONTROL "", 740, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 28, 44, 10
CONTROL "Average Cost", -1, "Static", WS_GROUP, 408, 28, 59, 10
CONTROL "Return", 4007, "Static", WS_GROUP, 548, 28, 36, 10
CONTROL "Pack", 4008, "Static", WS_GROUP, 548, 40, 36, 10
CONTROL "Stock: Current", -1, "Static", WS_GROUP, 25, 40, 65, 10
CONTROL "M-T-D", -1, "Static", WS_GROUP, 160, 40, 37, 10
CONTROL "Feb", -1, "Static", WS_GROUP, 296, 40, 18, 10
CONTROL "", 739, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 40, 44, 10
CONTROL "Last Price Paid", -1, "Static", WS_GROUP, 408, 40, 59, 10
CONTROL " On Order", -1, "Static", WS_GROUP, 25, 52, 65, 10
CONTROL "Y-T-D", -1, "Static", WS_GROUP, 160, 52, 37, 10
CONTROL "Mar", -1, "Static", WS_GROUP, 296, 52, 18, 10
CONTROL "", 738, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 52, 44, 10
CONTROL "Core Value", -1, "Static", WS_GROUP, 408, 52, 59, 10
CONTROL "Core: Here", -1, "Static", WS_GROUP, 25, 64, 50, 10
CONTROL "-1 Year", -1, "Static", WS_GROUP, 160, 64, 36, 10
CONTROL "Apr", -1, "Static", WS_GROUP, 296, 64, 18, 10
CONTROL "", 737, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 64, 44, 10
CONTROL "Retail", -1, "Static", WS_GROUP, 408, 64, 59, 10
CONTROL " Due Back", -1, "Static", WS_GROUP, 25, 76, 65, 10
CONTROL "-2 Years", -1, "Static", WS_GROUP, 160, 76, 37, 10
CONTROL "May", -1, "Static", WS_GROUP, 296, 76, 16, 10
CONTROL "", 736, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 76, 44, 10
CONTROL "Wholesale 1", -1, "Static", WS_GROUP, 408, 76, 59, 10
CONTROL "Minimum", -1, "Static", WS_GROUP, 25, 88, 65, 10
CONTROL "Purchase", -1, "Static", WS_GROUP, 160, 88, 37, 10
CONTROL "Jun", -1, "Static", WS_GROUP, 296, 88, 18, 10
CONTROL "", 735, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 88, 44, 10
CONTROL "Wholesale 2", -1, "Static", WS_GROUP, 408, 88, 59, 10
CONTROL "Stock To", -1, "Static", WS_GROUP, 25, 100, 65, 10
CONTROL "Sale", -1, "Static", WS_GROUP, 160, 100, 37, 10
CONTROL "Jul", -1, "Static", WS_GROUP, 296, 100, 18, 10
CONTROL "", 734, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 100, 44, 10
CONTROL "Wholesale 3", -1, "Static", WS_GROUP, 408, 100, 59, 10
CONTROL "Category ", -1, "Static", WS_GROUP, 25, 112, 45, 10
CONTROL "Aug", -1, "Static", WS_GROUP, 296, 112, 18, 10
CONTROL "", 733, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 112, 44, 10
CONTROL "Wholesale 4", -1, "Static", WS_GROUP, 408, 112, 59, 10
CONTROL "Vendor 1", -1, "Static", WS_GROUP, 160, 124, 37, 10
CONTROL "Sep", -1, "Static", WS_GROUP, 296, 124, 18, 10
CONTROL "", 732, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 124, 44, 10
CONTROL "Core Charge", -1, "Static", WS_GROUP, 408, 124, 59, 10
CONTROL "Table", -1, "Static", WS_GROUP, 66, 136, 24, 10
CONTROL "Vendor 2", -1, "Static", WS_GROUP, 160, 136, 37, 10
CONTROL "Oct", -1, "Static", WS_GROUP, 296, 136, 18, 10
CONTROL "", 731, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 136, 44, 10
CONTROL "Assessment", -1, "Static", WS_GROUP, 408, 136, 59, 10
CONTROL "Vendor 3", -1, "Static", WS_GROUP, 160, 148, 37, 10
CONTROL "Nov", -1, "Static", WS_GROUP, 296, 148, 18, 10
CONTROL "", 730, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 148, 44, 10
CONTROL "Environmental", -1, "Static", WS_GROUP, 408, 148, 59, 10
CONTROL "Vendor 4", -1, "Static", WS_GROUP, 160, 160, 37, 10
CONTROL "Dec", -1, "Static", WS_GROUP, 296, 160, 18, 10
CONTROL "", 729, "Edit", ES_RIGHT|ES_MULTILINE|WS_BORDER|WS_TABSTOP, 316, 160, 44, 10
CONTROL "Weight", -1, "Static", WS_GROUP, 408, 160, 59, 10
END

I posted the whole thing because its a large dialog and might be helpful in testing !

Tim :D
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2909
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Postby Antonio Linares » Thu Dec 06, 2007 8:29 pm

Joaquín,

Es el signo negativo del diálogo:
PAN00025 DIALOG LOADONCALL MOVEABLE DISCARDABLE -28, 41, 388, 163

Si le pones un valor positivo, lo carga bien. Hay que averiguar como procesar los valores negativos correctamente
regards, saludos

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

Postby Antonio Linares » Thu Dec 06, 2007 9:38 pm

Dialog negative values and latin accent texts already supported:
Valores negativos en el diálogo y textos acentuados soportados:

http://www.hotshare.net/file/21105-1475381e76.html
regards, saludos

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

Postby Antonio Linares » Thu Dec 06, 2007 9:45 pm

Tim,

Many thanks for your RC example. It works fine if you replace "TSbrowse" with "TWBrowse". Later on we will support any custom defined control class.

We need to find what style define 0x00a00000 is.

Best wishes for your mother,
regards, saludos

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

Otro diálogo que no va

Postby jmartial » Fri Dec 07, 2007 12:38 am

Hola,

Antonio, solucionado lo demás.

Ahora tengo este diálogo que simplemente rompe la aplicación, no sé si son las pestañas:

PAN00026 DIALOG LOADONCALL MOVEABLE DISCARDABLE 10, 46, 389, 154
STYLE 0x4L | WS_CHILD
FONT 8, "MS Sans Serif"
{
CONTROL "", 309, "Ttabs", 0 | WS_CHILD | WS_VISIBLE, 2, 4, 375, 12
CONTROL "", 308, "TwBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 2, 15, 383, 119
CONTROL "", 310, "Ttabs", 0 | WS_CHILD | WS_VISIBLE, 2, 134, 375, 12
}

Un Saludo,
Joaquín
jmartial
 
Posts: 458
Joined: Tue Mar 14, 2006 7:26 pm

Postby Antonio Linares » Fri Dec 07, 2007 3:57 am

Joaquín,

Solucionado en este build:
http://www.hotshare.net/file/21214-37967988f5.html

De momento los controles propios de FiveWin no se ven como tales, sino vacios.

Gracias!
regards, saludos

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

Postby Biel EA6DD » Fri Dec 07, 2007 9:28 am

Hi Antonio,

here testing with some RC files I get
"Dialog stye not found: DS_3DLOOK"

I thing this style is unused actually, just to avoid the error if still defined in ol RC.

#define DS_3DLOOK 0x0004L
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

Postby Biel EA6DD » Fri Dec 07, 2007 9:46 am

Another style
#define WS_NONE 0x00000000

Code: Select all  Expand view
CONTROL "Fecha      ", -1, "Static", 0x00000000, 10, 26, 38, 8
Saludos desde Mallorca
Biel Maimó
http://bielsys.blogspot.com/
User avatar
Biel EA6DD
 
Posts: 682
Joined: Tue Feb 14, 2006 9:48 am
Location: Mallorca

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

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