CAViewer::SetUseHex

CAViewer class

Sets a value that determines whether to display integer data in hexadecimal or decimal format in the Data View window.

BOOL SetUseHex(
  BOOL use
  );

Parameters

use
If set to TRUE, integer data is displayed in hexadecimal format; if set to FALSE, the data is displayed in decimal format.

Return Value

Returns TRUE if the operation was successful; otherwise, FALSE.

Remarks

The value passed to SetUseHex is ignored when displaying floating-point data, or if UseDefaultFormat has been set to TRUE.

See Also

CAViewer::GetUseDefaultFormat, CAViewer::GetUseHex