This forum is read-only. Please post new topics in our Q&A forum.

ResPatcher and Dialog Backgrounds

General discussion about using Restorator.

Moderator: florian

Locked
will
New User
Posts: 1
Joined: Sat Oct 22, 2005 3:19 am

ResPatcher and Dialog Backgrounds

Post by will » Sat Oct 22, 2005 3:23 am

Hi,

This should probably be two threads but I'm a noob and dont wanna go filling the forum with threads.

First, respatcher. I'm messing around with the demo and it's very cool! Is the respatcher disabled in the demo or something? Whenever I try to use it the program hangs.

Second, is there a way to change the color of a dialog box? I'm modding a program that I believe was made in delphi. the program itself allows a certain amount of skinning via bmps but it doesn't allow you to skin some of the dialog boxes that come up - they come up in standard windows grey. Is it possible to change them if there are no bmp resources attached to them?

Thanks!
Will

User avatar
florian
Bome Software: Founder
Posts: 2435
Joined: Thu Apr 28, 2005 10:09 pm
Location: Munich, Germany
Contact:

Post by florian » Sat Oct 22, 2005 6:33 am

Hi Will,

indeed, ResPatcher is disabled in the trial version: you should see a warning message to that effect when you invoke ResPatcher (or the RP icon) from within Restorator). After dismissing that warning message, you should still be able to go through the steps of the wizard for creating a ResPatcher, but the last step will not work in the trial version.

Regarding backgrounds: in Delphi forms, you can usually change the background by adding to the main section of a RCData\TFormName resource the entry
Color = clBlue
or so. This will work with all visible Delphi components, even if you need to add this Color line.

However, you will not be able to change the background color of dialogs that are created dynamically, i.e. not from resources. Message Dialogs are usually created dynamically, so I don't think this can be done with reasonable effort.

Regards,
Florian

Locked