Application Developer Guide > Localizing PV-WAVE Applications > Localizing the PV-WAVE Print Dialog Box
  

Localizing the PV-WAVE Print Dialog Box
The Print dialog is only used in the Microsoft Windows versions of PV‑WAVE when the WIN32_PICK_PRINTER command is run. For more information on this command, see the description of the Windows Metafile (WMF) Driver in Appendix B of the PV‑WAVE Reference.
View the Resources
1. Open the Microsoft Visual C++ Developer Studio.
 
note
The current version of MSVC used to build PV-WAVE and its resource files can be found in the Release_Notes.pdf file in the <RW_DIR>. Other MSVC versions or other resource editors may work, but have not been tested.
2. From the File menu, select Open. From the Open dialog box, locate the Open As option, then select Resources from the option list.
3. Open the file vnigraph.dll, located in <RW_DIR>\wave\bin\<OS>, where <OS> is the directory that matches your PV-WAVE installation, bin.i386nt for 32-bit and bin.win64 for 64-bit.
The resources for vnigraph.dll now appear in a window.
Localize Your Resources
After the PV‑WAVE Print dialog resources are displayed, you can edit them to suit your particular locale.
This section presents an example procedure for modifying a PV‑WAVE Print dialog resource. Copies of all resources are made prior to localizing them to preserve the English language resources.
1. Double-click on the vnigraph.dll folder so all its subfolders are displayed.
2. Double-click on the Dialog folder so its resource ID displays (in this case, 1538).
3. Click the right mouse button on the resource ID (in this case, 1538) and select Insert Copy from the pop-up menu.
4. Select the name of your locale from the list of languages and click the OK button.
5. Double-click on the newly created dialog’s resource ID. The PV‑WAVE Print dialog will appear.
6. Double-click on a dialog resource, for example, the Name label. The Text Properties dialog will display.
7. Modify the text in the Caption field.
8. Save the new executable when you are finished modifying the resources.
The modified resource(s) will be used next time the PV‑WAVE Print dialog is selected.
 

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.