0012
Member
مدتی بود که دنبال گزاشت skin روی Dialog ها بودم بعد از مدتی یه همچین آموزشی پیدا کردم که با c++ میشه رو Dialog ها skin گذاشت میشه متن زیر رو بخونید و بگید که من درست پیدا کردم یا نه
میشه بگید که resource editor کجا هستش
اگه براتون امکان داره یه توضیحی در این باره لطف کنید.
منونم
HOWTO: Create a Skinned Custom Dialog
Document ID: Q107767
Last Revised On: Tuesday, February 11, 2003
This article applies to the following:
Product(s):
InstallShield Professional 7.x
Summary
If you want to skin an existing custom dialog box (migrated from a previous version of Professional), there are some changes required to the dialog in order for it to be properly skinned. There is also a template available to help create a custom dialog that will be properly skinned.
Discussion
Modifying an existing custom dialog for skins
Modify the custom dialog resource in _IsUser.dll using a resource editor. For example, Microsoft Visual C++.
1. Open the resource editor (MS VC++).
2. Select File > Open.
3. Set the Open as: field to Resources.
4. Browse to the resource DLL that contains the existing custom dialog ( _IsUser.dll).
5. Select the file and click Open.
6. Expand to the dialog resource under _IsUser.dll\Dialog.
7. Double-click the appropriate Dialog ID to open the dialog for editing.
8. Resize the dialog to 460 x 305.
9. Rearrange the default push buttons to match a skinned dialog (see below).
10. If the dialog contains the Windows 2000 style white banner, delete this control (it usually has a resource ID of 52)
11. Rearrange dialog controls to be spaced out in relation to a bigger dialog.
12. Select File > Save.
13. Reinsert the updated _IsUser.dll into the Professional project:
1. Select the Setup Files tab > Language Independent > OS Independent.
2. Right-click in the right pane and select Import Files.
3. Browse to your file and click Open.
Create a new custom dialog box to be skinned
Create a custom dialog that can be skinned, using a resource editor and the available template.
1. Copy the VC++ 6 Project folder and all its contents and subfolders to a working folder. This working folder is located in \Examples\Custom Dialog\VC++ 6 Project. This keeps your InstallShield folders "clean" and ready for a complete uninstallation should you ever want to uninstall InstallShield and preserves the original files for future custom dialog projects.
2. Open the resource editor.
3. Select File > Open.
4. Open the _IsUser.dsp file in your working VC++ 6 Project folder. If the Project Workspace is not in view, select it from the View menu.
5. Modify the template titled DLG_TEMPLATE3 for a skinned custom dialog.
6. For sample custom dialog script, open \Examples\Custom Dialog\Script Files
میشه بگید که resource editor کجا هستش
اگه براتون امکان داره یه توضیحی در این باره لطف کنید.
منونم
HOWTO: Create a Skinned Custom Dialog
Document ID: Q107767
Last Revised On: Tuesday, February 11, 2003
This article applies to the following:
Product(s):
InstallShield Professional 7.x
Summary
If you want to skin an existing custom dialog box (migrated from a previous version of Professional), there are some changes required to the dialog in order for it to be properly skinned. There is also a template available to help create a custom dialog that will be properly skinned.
Discussion
Modifying an existing custom dialog for skins
Modify the custom dialog resource in _IsUser.dll using a resource editor. For example, Microsoft Visual C++.
1. Open the resource editor (MS VC++).
2. Select File > Open.
3. Set the Open as: field to Resources.
4. Browse to the resource DLL that contains the existing custom dialog ( _IsUser.dll).
5. Select the file and click Open.
6. Expand to the dialog resource under _IsUser.dll\Dialog.
7. Double-click the appropriate Dialog ID to open the dialog for editing.
8. Resize the dialog to 460 x 305.
9. Rearrange the default push buttons to match a skinned dialog (see below).
10. If the dialog contains the Windows 2000 style white banner, delete this control (it usually has a resource ID of 52)
11. Rearrange dialog controls to be spaced out in relation to a bigger dialog.
12. Select File > Save.
13. Reinsert the updated _IsUser.dll into the Professional project:
1. Select the Setup Files tab > Language Independent > OS Independent.
2. Right-click in the right pane and select Import Files.
3. Browse to your file and click Open.
Create a new custom dialog box to be skinned
Create a custom dialog that can be skinned, using a resource editor and the available template.
1. Copy the VC++ 6 Project folder and all its contents and subfolders to a working folder. This working folder is located in \Examples\Custom Dialog\VC++ 6 Project. This keeps your InstallShield folders "clean" and ready for a complete uninstallation should you ever want to uninstall InstallShield and preserves the original files for future custom dialog projects.
2. Open the resource editor.
3. Select File > Open.
4. Open the _IsUser.dsp file in your working VC++ 6 Project folder. If the Project Workspace is not in view, select it from the View menu.
5. Modify the template titled DLG_TEMPLATE3 for a skinned custom dialog.
6. For sample custom dialog script, open \Examples\Custom Dialog\Script Files