Page 4 of 6

DEFPUSHBUTTON

Posted: Fri Dec 07, 2007 11:30 am
by NK
DEFPUSHBUTTON not works on preview.

Regards Norbert

Posted: Fri Dec 07, 2007 1:31 pm
by Maurilio Viana
Antonio,

Resource editor is in start phase, then what do you think to create a multilanguage version?
We can have version in English, Spanish, Brazilian Portuguese, Chinese etc.

Best regards,
Maurilio

Posted: Fri Dec 07, 2007 2:40 pm
by Antonio Linares
Maurilio,

Yes, good idea :-)

Actually we are using very few strings so we can take them to the EXE RC file further on

Posted: Fri Dec 07, 2007 2:46 pm
by Antonio Linares
Norbert,

DEFPUSHBUTTON support on this new build:
http://www.hotshare.net/file/21297-4429886aea.html

Thanks! :-)

Posted: Fri Dec 07, 2007 4:10 pm
by José Luis Sánchez
Antonio,
I don't undestand what do you want to do. There are some resources editors very goods and for free. Try the RE from Pelles C, or the one of ResEdit.net both them are very good.
But if you want to do a new RE, I want to suggest that the editor helps on positioning the resources on the form. In VisualStudio and REALbasic, the form editor puts some lines when you moves the resources on the form to show the right positioning of them.

Regards,
José Luis

PD, No se que hacemos uno de Alicante y otro de Marbella hablando en pitinglis. Si no me he explicado bien.[/img]

Otro diálogo que no va

Posted: Fri Dec 07, 2007 5:33 pm
by jmartial
Hola Antonio,

Otro díalogo que rompe la aplicación:

PANF0212 DIALOG LOADONCALL MOVEABLE DISCARDABLE 11, 73, 392, 171
STYLE 0x4L | WS_CHILD
FONT 8, "MS Sans Serif"
{
CONTROL "", 308, "TcBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 0, 16, 388, 119
RTEXT "VENCIMIENTOS DE LA FACTURA", 101, 143, 3, 244, 13
RTEXT "Total Vtos.:", 102, 69, 142, 34, 10
RTEXT "Total Cobrado:", 104, 166, 142, 47, 10
RTEXT "", 103, 105, 142, 60, 10, SS_RIGHT | WS_BORDER | WS_GROUP
RTEXT "", 105, 215, 142, 60, 10, SS_RIGHT | WS_BORDER | WS_GROUP
RTEXT "Total Pendiente:", 106, 276, 142, 50, 10
RTEXT "", 107, 328, 142, 60, 10, SS_RIGHT | WS_BORDER | WS_GROUP
PUSHBUTTON "<F12> Modifica", 309, 2, 140, 64, 13, NOT WS_TABSTOP
}

Una vez pasada la 1ª fase, ¿has pensado pasar re.exe a POO? Daría mucha flexibilidad para ampliarla con nuevas clases como la del idioma.

Y otra cosa, ¿Has pensado recompilarla con fw Mac y Linux ? porque si no se usan cosas "extrañas" debería funcionar y el .rc es multiplataforma.



Un Saludo,
Joaquín

Posted: Fri Dec 07, 2007 6:22 pm
by Antonio Linares
José Luis,

> No se que hacemos uno de Alicante y otro de Marbella hablando en pitinglis.

Tienes toda la razón :D

La cuestión es que bastantes usuarios de FiveWin quieren un editor de recursos de 32 bits y no están satisfechos con los que hay (?) así que pensé que podríamos escribir uno en FiveWin y así podemos modificarlo como queramos :-)

El tema de las líneas que comentas lo hace tambien el "Interface Builder" de Mac OSX. Te ayuda a centrar, distribuir, etc. Es algo que tambien se puede hacer

Posted: Fri Dec 07, 2007 7:10 pm
by José Luis Sánchez
Lo de las lineas de ayuda para alinear los controles es algo que te quita una cantidad de tiempo tremenda, pero los editores de recursos que yo conozco que lo hagan en Windows son de entornos de desarrollo cerrados, y no salvan RC.
Al interface builder le tengo unas ganas que no te puedes imaginar. Mira en la cebecera de mi blog a ver si te suena...
Saludos,

Posted: Sat Dec 08, 2007 12:03 am
by Antonio Linares
José Luis,

>
Al interface builder le tengo unas ganas que no te puedes imaginar. Mira en la cebecera de mi blog a ver si te suena...
>

:)

Yo ya me defendia lo suficiente con él en Tiger, pero ahora en Leopard lo han cambiado y necesito saber como poder derivar nuevas classes. En fín, aprendiendo siempre :-)

Posted: Sat Dec 08, 2007 9:35 am
by Antonio Linares
Joaquin,

Este nuevo build ya soporta el diálogo que has mostrado. Era por TCBrowse:
http://www.hotshare.net/file/21432-2867742805.html

>
Una vez pasada la 1ª fase, ¿has pensado pasar re.exe a POO? Daría mucha flexibilidad para ampliarla con nuevas clases como la del idioma.
>

Si. Ahora mismo es solo un primer prototipo, luego la propia aplicación "pedirá" pasarse a POO :-)

>
Y otra cosa, ¿Has pensado recompilarla con fw Mac y Linux ? porque si no se usan cosas "extrañas" debería funcionar y el .rc es multiplataforma.
>

Desafortunadamente el RC no es multiplataforma. Pero si podríamos generar los formatos que deseemos desde el propio editor. Mac usa ficheros NIB ("Next Interface Builder") y Linux depende del GUI usado, pero si es Gnome (mi preferido) entonces son ficheros "glade" para GTK

Posted: Sat Dec 08, 2007 9:39 am
by Antonio Linares
My apologizes for writting in Spanish, but it was easier to answer them, thanks!

Posted: Sun Dec 09, 2007 3:53 pm
by CharlesPratt
Antonio -
I have found a bug in the LTEXT class. When there is a comma in the text (prompt) the text doesn't display properly on the dialog.

LTEXT "Change Company Name, Address and Phone Numbers", -1, 22, 10, 208, 10

Regards,
Charles

Posted: Sun Dec 09, 2007 7:14 pm
by Antonio Linares

Posted: Sun Dec 09, 2007 9:18 pm
by CharlesPratt
Antonio -
It still behaves the same way here. With a comma after one of the words, the text starts showing at the very left of the dialog box and shows the first two letters of the word, then drops down a line and shows the first two letters of the next word, and so on.

Regards,
Charles

Posted: Sun Dec 09, 2007 11:50 pm
by Antonio Linares
Charles,

Could you please post the RC that you are testing ?

many thanks!