Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEloadpartial

BOOL PEloadpartial (hObject, lphGlobal)

 

HWND 

hObject

The handle returned from PEcreate.

HGLOBAL* 

lphGlobal

Handle to global memory containing data.

 

This function reloads an objects data (except data property arrays) from binary form located in a global memory object. This is useful if you just want to store the chart's visual characteristics rather than all its data.

 

Parameter

Description

lphGlobal

Pointer to a global memory handle. This memory object holds binary information which was stored with the PEstorepartial function.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

This function does not load the objects data held in the following properties: XData, YData, ZData, XDataII, YDataII, PointLabels, SubsetLabels, DataPointLabels, and PointColors.

 

Call the PEreinitialize and PEresetimage functions to complete the objects transformation. OCX developers set PEactions = 0, and VCL developers set PEactions := xReinitAndReset after calling PEloadpartial.

 

Use PEstorepartial to initially store the object's information into the binary format.

 

See Also: PEload, PEstore, PEstorepartial, PEloadfromfile, and PEsavetofile.

 

Chapter 5 of the manual has a section on serialization which provides examples on how to use this function.