Progress_Write

 

Write a line of text in the progress window.

 

 

 

Syntax

 

void  Progress_Write(

          void *p_block,

          char *format, ...

) ;

 

 

Parameters

 

p_block

Pointer to the progress window (as returned by Progress_Init).

 

format, ...

          This method use the same parameter syntax as the printf function..

 

 

Return value

 

This function does not return a value.

 

 

Remarks

 

When writing text to the window, some ASCII values are reserved for font and color controls:

 

 

0x01

0x02

0x03

0x04

0x05

0x06

Blue text

Black text

White text

Red text

Yellow text

Green text

 

0xF0

0xF1

0xF2

Normal text

Bold text

Italic text

          

ex:

Progress_Write( progress, "Text: \01 Blue, \02 Black, \03 White \04 Red, \05 Yellow, \06 Green" ) ;

Progress_Write( progress, "Text: \xF0 Normal, \xF1 Bold, \xF2 Italic" ) ;

 

 

 

Requirements

 

Header:

          TomoVision_Util.hpp

          TomoVision_Tools.hpp

          progress.hpp

 

Library:

          TomoVision_Util.lib

          TomoVision_Tools.lib

          progress.lib

 

 

Example

 

 

 

 

 

See also