In a message dated 9/17/00 8:36:43 AM Mountain Daylight Time, Grounderyoyo22 
writes:

> 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 Palm Developer Forums, or to unsubscribe, 
> please see http://www.palmos.com/dev/tech/support/forums/
> 


But the cell contains a narrowTextTableItem. I want the icons in the space 
reserved @ the right side of the cell. I know the left bound is 140, but the 
top bound poses problems. I cannot be sure what row of the table we are on, 
so I can't know the top bound. Or can I?


( }#^} Ritz

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to