fwh\samples\RE.prg - FiveWin Resources Editor underrated
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
An enhanced RE.EXE version
http://www.mediafire.com/?sharekey=45bb ... eaa7bc68bc
See the advantages of storing it in the wiki for reviewing changes
http://wiki.fivetechsoft.com/doku.php?i ... 66&do=diff
http://www.mediafire.com/?sharekey=45bb ... eaa7bc68bc
See the advantages of storing it in the wiki for reviewing changes
http://wiki.fivetechsoft.com/doku.php?i ... 66&do=diff
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Hello Antonio,
I changed the way I will print the IDs on the dialog.
I add extra controls which print the IDs.
This is what I did:
Do you think I could print these controls in a certain font easily?
Thanks in advance
Otto
I changed the way I will print the IDs on the dialog.
I add extra controls which print the IDs.
This is what I did:
Code: Select all
case cFirst == "CONTROL"
cResource += ParseControl( cLine )
nControls++
cResource += Beschriftung( cLine )
nControls++
Code: Select all
function Beschriftung( cLine )
local nTop, nLeft, nWidth, nHeight, nId, nAt
local cClassName, cStyle, nStyle := nOr( WS_VISIBLE, WS_CHILD, WS_TABSTOP ), cCaption, cToken
local cId
cCaption = StrToken( cLine, 2, '"' )
cLine = StrToken( cLine, 1, '"' ) + '"-"' + StrToken( cLine, 3, '"' ) + '"' + ;
StrToken( cLine, 4, '"' ) + '"' + StrToken( cLine, 5, '"' )
nId = Val( StrToken( cLine, 1, "," ) )
nLeft = Val( StrToken( cLine, 5, "," ) )
nTop = Val( StrToken( cLine, 6, "," ) )
nWidth = Val( StrToken( cLine, 7, "," ) )
nHeight = Val( StrToken( cLine, 8, "," ) )
cClassName = StrToken( cLine, 4, '"' )
cStyle = StrToken( cLine, 4, "," )
cId := STRTRAN(StrToken( cLine, 3, '"' ),",")
cClassName = "edit"
nHeight := 2
nWidth := 20
nStyle:= 1342373888
return cCtrl2Chr( nTop, nLeft, nTop + nHeight, nLeft + nWidth, nId, nStyle,;
cClassName, + cId + "#")
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Otto,
Wouldn't be simpler to have the IDs as tooltips ?
Wouldn't be simpler to have the IDs as tooltips ?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Otto,
With these changes in RE.prg:
http://wiki.fivetechsoft.com/doku.php?i ... 98&do=diff
and these changes in Class TControl:
then tooltips are shown even in design mode
With these changes in RE.prg:
http://wiki.fivetechsoft.com/doku.php?i ... 98&do=diff
and these changes in Class TControl:
then tooltips are shown even in design mode
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
New RE version to download:
http://www.mediafire.com/?sharekey=45bb ... 8114394287
http://www.mediafire.com/?sharekey=45bb ... 8114394287
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Hello Antonio,
your exe is working but if I compile the prg-file tooltip is not working.
Do I need some changed in a class?
Thanks in advance
Otto
your exe is working but if I compile the prg-file tooltip is not working.
Do I need some changed in a class?
Thanks in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Otto,
Yes, see my posted changes for Class TControl above
Yes, see my posted changes for Class TControl above
Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Hello Antonio,
tooltip is working. But how can I get the nID on dbClick event?
I tried:
but this does not work.
Best regards,
Otto
tooltip is working. But how can I get the nID on dbClick event?
I tried:
Code: Select all
oCtrl:bLDblClick = { || msginfo( AllTrim( Str( GetWindowLong( oCtrl:hWnd, GWL_ID ) ) ))}
Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: