Re: Dialogeditor



Hallo,

1.) zunächst mal: es gibt URE (Universal Resource Editor):
http://hobbes.nmsu.edu/pub/os2/dev/pm/ure115.zip
http://hobbes.nmsu.edu/pub/os2/dev/pm/urefix.zip
http://hobbes.nmsu.edu/pub/os2/dev/pm/ureinstall.zip
Wenn du jemals an VAC 3.6.5 herankommst, da ist er auch drin (vielleicht
sogar in einer noch neueren Version, weiß ich gerade nicht).

2.) wenn du den Dialog Editor nutzen mußt: kreiere eine .RC Datei per Hand
und binde die .DLG Datei per RCINCLUDE in die .RC Datei ein (der
Dialogeditor erzeugt ja eine .DLG und eine .RES Datei). Damit bist du dann
in der Lage wenigstens per HAND die ganzen anderen Resourcentypen
hinzuzufügen (direkt in der .RC Datei).
Es ist dann zwar nach wie vor so, daß bei jedem Arbeiten der Dialog Editor
eine .RES Datei erzeugt die nur die Dialog Resourcen enthält (der Dialog
Editor arbeitet eben auf der .RES Datei und erzeugt die .DLG Datei quasi nur
nebenbei), aber du kannst jederzeit die KOMPLETTE Resource erzeugen, indem
du "rc.exe -r ..." gegen die .RC Datei laufen läßt. So hab ich es immer
gemacht und das hat wenigstens halbwegs funktioniert.
P.S: Der Dialog Editor ignoriert glücklicherweise alle Resourcentypen mit
denen er nichts anzufangen weiß (deshalb kannst du auch eine .RES Datei
öffnen, die noch anderes als Dialogresourcen enthält).
P.P.S: Dialog Styles die der Dialog Editor noch nicht kennt (ich denke da
z.B. an "tabbed Notebook" von Warp 4) kann man händisch der .DLG Datei
hinzufügen. Allerdings sollte man das erst ganz am Schluß machen, weil der
Dialog Editor diese Styles immer wieder rauskickt wenn er die .DLG und .RES
Datei erzeugt (schließlich kennt er die Styles ja nicht).

Lars

"Marcel Müller" <news.5.maazl@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:481846be$0$6769$9b4e6d93@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hallo,

gibt es eigentlich einen halbwegs brauchbaren grafischen Dialog-Editor für
OS/2. Also ich habe hier:

- DLGEDIT aus dem Toolkit 4.5.
Der editiert immer direkt in den .RES-Dateien, was änderungen von Hand
ausschließt. In Kombination damit, dass einige Features offenbar nicht
unterstützt werden, ist das ziemlich nutzlos.

- Borland Ressource Workshop (aus BCOS2 2.0)
Der kann zwar auch einige neuere Sachen nicht, macht aber wenigstens eine
.RC-Datei daraus. Faktisch verweigert er aber das Öffnen, wenn
irgendwelche neuen Features drin sind, die er nicht kennt. Und sei es nur
eine referenzierte komprimierte Bitmap-Resource.

- (Open-)Watcom hat offenbar keinen.

Auf gut deutsch alle nicht (mehr) nutzbar.
Ich habe jetzt kein Problem damit, auch mal an den RC-Files per Hand zu
fummeln, aber für das Positionieren der Controls ist das schon wirklich
Kinderarbeit, weil man immer erst Compilieren muss, um sich das Ganze
anzusehen.


Marcel


.



Relevant Pages

  • Re: dynamic menu question
    ... If you define IDR_DYNA in the resource ... editor, it will be ... delete it from the map. ... I just need find a way to give that menu IDR_ identifier somehow... ...
    (microsoft.public.vc.mfc)
  • Re: Headers common to .cpp and .rc files
    ... .RC file you may have problems if you use the RC editor to add or remove resources in the future since it takes liberties in rewriting the file. ... I typically do "extra" things in the .RC2 file that is created since there is no way of controlling how the editor rewrites the .RC file. ... It's a bit of an art, as it appeared to me at the time that the resource compiler does not respect ALL preprocessor definitions which the CPP compiler does. ... The appended header definitions seem to work, but I never worked out why both _STR and STR are needed. ...
    (microsoft.public.vc.language)
  • Re: dynamic menu question
    ... Create a menu at design time and load it dynamically, ... a menu from the resource segment. ... editor, it will be ... delete it from the map. ...
    (microsoft.public.vc.mfc)
  • Re: cant see my menu item
    ... >I edited the resources file with a text editor and I saw that there ... >that the identifier constant of the item was not defined on it. ... The resource editor will probably undo this work. ... remembers everything it understands and discards the rest ...
    (microsoft.public.windowsce.embedded.vc)