They way I did it was to use a custom table drawing callback.
So, in the call back, what you do is this:

satic void YourCallback(tableP, row, column, boundsP)
{
..... //do whatever stuff you want
  oldFont = FntSetFont(symbolFont); // change to the font set with the
note symbol
  WinDrawChar(symbolNote, boundsP->topLeft.x, boundsP->topLeft.y); //
draw the symbol
  FntSetFont(oldFont); // change the font set back to the previous one.
}

Look up Chars.h for other symbols.

[EMAIL PROTECTED] wrote:
> 
> Hi there, I have a problem. In my application, I have a table. One of the
> items is a "narrowTextTableItem". I want to use the pixel space saved to draw
> a character from the font 'symbolFont', a note icon (found in the built-in
> Datebook and ToDo). The documentation says to change the font with FntSetFont
> before I call WinDrawChars. So then what? How do I tell it which character I
> want to draw? I know the Decimal, Octal, and Hex values for the note icon. Is
> there a simpler way to do this? What am I missing? Thanx in advance!
> 
> #-} Ritz
> Alternate address:
> [EMAIL PROTECTED]


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to