DisplayGuesses

The DisplayGuesses function writes the guesses returned from the default recognizer. The guesses appear in a column, listed in descending order of confidence. The for loop shown below converts the symbol values to characters, then calls the Windows function TextOut to display the text.

VOID DisplayGuesses( HDC hdc ) // DC handle

{

TEXTMETRIC tm;

int nX, nY; // Text coords

.

.

.

for (i = 0; i < MAX_GUESS; i++)

{

if (vcSyv[i])

{

SymbolToCharacter( (LPSYV) vsyvSymbol[i],

vcSyv[i],

(LPSTR) szText,

(LPINT) &cChar );

TextOut( hdc, nX, nY, (LPSTR) szText, cChar );

nY += tm.tmExternalLeading + tm.tmHeight;

}

}

}

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database