aglUpdate

Re-synchronizes Array Visualizer's view of the array data with the actual data values.

int aglUpdate(
  pvoid array
  );

Parameters

array
Pointer to the array to be updated.

Return Value

Returns the value 0 if the call is successful; any other value indicates failure.

Remarks

If your application has modified the values in Array since the last aglUpdate or aglShow call, and you want Array Visualizer to reflect the new data values, you can do so by calling aglUpdate. aglUpdate can be used with arrays created with aglAlloc.

If the Array Viewer instance associated with array was created by using the CAViewer class, rather than aglShow, this routine will have no effect. Use the CAViewer::Update method instead.

See Also

aglAlloc, aglShow