Page 6 of 6

PostPosted: Tue Dec 11, 2007 12:34 pm
by Antonio Linares
Otto,

Your RC is working fine here with latest published RE.EXE

Are you building RE.EXE yourself ? Please remember that it does not work with FWH 7.12, it requires new FWH libraries.

PostPosted: Tue Dec 11, 2007 12:41 pm
by Antonio Linares
Silvio,

This is still a very early prototype and full source code is provided to be reviewed.

We are close to publish a new build with first editing capabilities. Then it will be a good moment to start helping :-)

PostPosted: Tue Dec 11, 2007 3:19 pm
by Antonio Linares
In this new build you can already move the controls around:
http://www.hotshare.net/file/22102-2981558c7d.html

Notice: SAYs can't be moved yet.

PostPosted: Tue Dec 11, 2007 3:33 pm
by Antonio Linares
In this new build you can resize the dialogs:
http://www.hotshare.net/file/22103-396693955e.html

The controls can't be resized yet

PostPosted: Tue Dec 11, 2007 5:39 pm
by CharlesPratt
Antonio -

When radio buttons are within a groupbox, they do not display in RE.EXE.

blend.rc

BLEND DIALOG LOADONCALL MOVEABLE DISCARDABLE 6, 15, 279, 204
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Make/Edit Blends"
FONT 8 "MS Sans Serif"
{
GROUPBOX "Choose", 101, 160, 4, 90, 44, BS_GROUPBOX
RADIOBUTTON "New Blend Makeup", 102, 166, 16, 76, 12, BS_AUTORADIOBUTTON | WS_GROUP
RADIOBUTTON "Add Data To a Blend", 103, 166, 32, 76, 12, BS_AUTORADIOBUTTON
}

This has been happening all along and not connected with the recent changes you have made.

Regards,
Charles

PostPosted: Tue Dec 11, 2007 8:06 pm
by CharlesPratt
Antonio -

Re my last post about the radiobuttons. It is not just the ones inside a group box. I had a look at your testrad.rc and you used the generic CONTROL rather than classname RADIOBUTTON as Resource Workshop does. Converting from RW will be a challenge.

Regards,
Charles

PostPosted: Tue Dec 11, 2007 8:21 pm
by Antonio Linares
Charles,

RADIOBUTTON support already implemented:
http://www.hotshare.net/file/22147-8734875d0d.html

Many thanks for your feedback :-)

PostPosted: Tue Dec 11, 2007 8:39 pm
by Otto
style not found: 32769

SUB4 DIALOG 53, 30, 340, 184
STYLE WS_CHILD
FONT 8, "Arial"
BEGIN
LTEXT "vermittelt durch", 77, 8, 37, 54, 7
LTEXT "Meldeblatt-Nr.", 87, 218, 37, 50, 8
LTEXT "Mailing", 301, 8, 61, 27, 8
LTEXT "Zielgruppe", 300, 108, 62, 51, 8
CONTROL "", 80, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 107, 71, 186, 89
CONTROL "", 79, "BorShade", 32769 | WS_CHILD | WS_VISIBLE, 7, 70, 96, 90
EDITTEXT 329, 82, 34, 115, 12
PUSHBUTTON "...", 400, 202, 36, 9, 9
EDITTEXT 331, 218, 47, 55, 12
CONTROL "Weihnachten", 101, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 74, 75, 10
CONTROL "Geburtstag", 102, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 86, 75, 10
CONTROL "Sonderangebot", 103, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 98, 75, 10
CONTROL "Markierung", 104, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 110, 75, 10
CONTROL "Markierung 2", 105, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 122, 75, 10
CONTROL "Markierung 3", 106, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 14, 134, 75, 10
CONTROL "Alpinskifahrer", 201, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 74, 75, 10
CONTROL "Langläufer", 202, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 86, 75, 10
CONTROL "Radfahrer", 203, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 98, 75, 10
CONTROL "Mountainbike", 204, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 110, 75, 10
CONTROL "Tennis", 205, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 122, 75, 10
CONTROL "Hundeführer", 206, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 116, 136, 75, 10
CONTROL "Wandern", 207, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 74, 75, 11
CONTROL "Business", 208, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 86, 75, 10
CONTROL "Seminare", 209, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 98, 75, 10
CONTROL "Gourmet", 210, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 110, 75, 10
CONTROL "Golfer", 211, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 122, 75, 10
CONTROL "Drachenflieger", 212, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 134, 75, 10
CONTROL "Paragleiter", 213, "BUTTON", BS_AUTOCHECKBOX | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 205, 146, 75, 10
END

PostPosted: Tue Dec 11, 2007 10:09 pm
by CharlesPratt
Antonio -

Thanks very much for fixing the radiobuttons. You're doing a great job with this.

Best regards,
Charles

PostPosted: Thu Dec 13, 2007 12:16 pm
by StefanHaupt
Antonio,

good work, congrats.


I get a "style not found" msg for DS_3DLOOK, DTS_SHOWNONE (DatePicker) and all styles with 0x002000000 or similar (mostly twbrowse)



Code: Select all  Expand view
BELEG0 DIALOG DISCARDABLE 0, 0, 282, 154
STYLE WS_POPUP|DS_MODALFRAME|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Belegungszeiten"
FONT 8, "MS Sans Serif"
BEGIN
  CONTROL "OK", 1, "Button", BS_DEFPUSHBUTTON|WS_TABSTOP, 17, 133, 50, 14
  CONTROL "Abbruch", 2, "Button", WS_TABSTOP, 80, 133, 50, 14
  CONTROL "", 12, "TFolder", WS_TABSTOP, 6, 8, 269, 118
END


Opening the above resource I get this error:

Application
===========
Path and name: E:\DOWNLOAD\XBase\re.exe (32 bits)
Size: 1,358,336 bytes
Time from start: 0 hours 1 mins 9 secs
Error occurred at: 12/13/07, 13:03:21
Error description: Error FiveWin/3 Cannot create Dialog Box:
Title:

Stack Calls
===========
Called from: .\source\classes\DIALOG.PRG => CREATEDLGERROR(0)
Called from: => TDIALOG:ACTIVATE(0)
Called from: C:\FiveWin.20\samples\re.prg => SHOWDIALOG(445)
Called from: C:\FiveWin.20\samples\re.prg => (b)OPENRCFILE(305)
Called from: => TTREEVIEW:LDBLCLICK(0)
Called from: => TWINDOW:HANDLEEVENT(0)
Called from: => TCONTROL:HANDLEEVENT(0)
Called from: => TTREEVIEW:HANDLEEVENT(0)
Called from: .\source\classes\WINDOW.PRG => _FWH(0)
Called from: => WINRUN(0)
Called from: => TMDIFRAME:ACTIVATE(0)
Called from: C:\FiveWin.20\samples\re.prg => MAIN(260)

PostPosted: Fri Dec 14, 2007 9:41 am
by Antonio Linares
Stefan,

Your RC sample is properly working with this new build:
http://www.hotshare.net/file/23020-336207403e.html

Thanks!