Visit Gigasoft's Web Site
 ProEssentials v9 Help

ChangeResources

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public int PeFunction.ChangeResources ( string fileName, int nNewCharSet, bool bUpdateCharSet, bool bUpdateAllCharts)

Parameter

Description

fileName

Name of file to load as resources.

nNewCharSet

New CharSet value related to resources.

bUpdateCharSet

TRUE updates all controls in memory with new nNewCharSet value.

bUpdateAllCharts

TRUE refreshes all controls in memory by calling PEreinitialize, PEresetimage, and InvalidateRect. Causes menus and dialogs to be updated as well as any date/time strings within image.

 

Call this function to change resources (international localization) to the specified file.

 

ProEssentials resources can be found in Chapter 6. To change resources between several files, rename the PEGRC32D.DLL files as needed and use this function to force an immediate switch in language. All controls in memory will use the new resource DLL.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

PeFunction.ChangeResources members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction