Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEchangeresources

BOOL PEchangeresources (pszFilename, nNewCharSet, bUpdateCharSet, bUpdateAllCharts)

 

WCHAR* 

lpszFilename

Pointer to a null-terminated string naming file.

Int 

nNewCharSet

New CharSet value related to resources.

Int 

bUpdateCharSet

TRUE updates all controls in memory with new nNewCharSet value.

Int 

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

.NET developers, see PeFunction.ChangeResources

 

OCX developers, see the ChangeResources method.

 

VCL developers, use PEchangeresources as defined in PEGRPAPI.PAS.