I use a custom item setting for the column and use the following code to
draw the note icon:

 char noteChar;

currFont = FntSetFont(symbolFont);
noteChar = symbolNote;
WinDrawChars(&noteChar, 1, bounds->topLeft.x, bounds->topLeft.y);
FntSetFont(currFont);

----------
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
(972) 602-1835
http://www.JTI.net
http://HandAble.com

----- Original Message -----
From: "Nicolás Zeitlin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 10:12 AM
Subject: Re: WinDrawChars()


> Thanks for the hint, but today I found out what the real problem was. The
> last of the columns was a textWithNoteTableItem. (I did this because I
need
> the Note Item.. I don't really need the text field, so the width of the
> column is narrow enough for the text field to be hidden).
>
> Anyway, when I set the ItemStyle to another style, the problem
disappeared.
> Is there any way to solve this and keeping the note item as well?
>
> Thanks in advance,
>
> Nicolás Zeitlin
>
> -----Original Message-----
> From: Bradly J. Barton <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Date: Wednesday, April 18, 2001 11:46 PM
> Subject: Re: WinDrawChars()
>
>
> >Sounds like the current font may be Symbol.
> >
> >----------
> >Bradly J. Barton - [EMAIL PROTECTED]
> >Jenies Technologies Incorporated
> >(972) 602-1835
> >http://www.JTI.net
> >http://HandAble.com
> >
> >----- Original Message -----
> >From: "Nicolás Zeitlin" <[EMAIL PROTECTED]>
> >To: "Palm Developer Forum" <[EMAIL PROTECTED]>
> >Sent: Tuesday, April 10, 2001 2:11 PM
> >Subject: WinDrawChars()
> >
> >
> >> I have a Table Control on my main form. They have Custom content, and
in
> >the
> >> CustomDrawProcedure I simply use the WinDrawChars() to draw its text.
The
> >> problem is that for some reason, instead of drawing the desired text,
it
> >> draws some little squares.. Something like this: �����������.
> >>
> >> Would anyone know what the mistake might be?
> >>
> >> Thanks in advance,
> >> Nicolas Zeitlin
> >>
> >>
> >> --
> >> For information on using the Palm Developer Forums, or to unsubscribe,
> >please see http://www.palmos.com/dev/tech/support/forums/
> >
> >
> >--
> >For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
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