non-standard font alignment

2007-11-05 Thread JSeb
Hi Palm developpers and gurus. I’m pretty sure this has already been answered somewhere, but I couldn’t find it. I’m using PilRC to construct my forms. I noticed that when I don’t use the standard font set on my palm (e.g., through fontsmoother), the font alignment on my forms is broken

Re: non-standard font alignment

2007-11-05 Thread JSeb
Thank you for your answer, Michal. So what you say is, build the forms programmaticaly? That's what I was afraid of. I guess that's one reason why most static forms I can find seem to be left-aligned. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Re: Icons and Bitmaps

2007-10-12 Thread JSeb
I agree with Phreak: as I wrote in the original post, there is no way I will including TWICE the same .BMP in my resources (maybe I'm not so radical anymore). I now expect that the only remaining solution is to do the conversion from icon to bitmap programmatically. That I was able to do (find

Re: Icons and Bitmaps

2007-10-12 Thread JSeb
Okay, but when I use CtlSetGraphics(pMyGraphicButton, kMY_BMP, NULL); it works fine (kMY_BMP is the resource ID of some bitmap). But if I use instead kMY_ICON, the resource ID for my application icon (1000), it doesn't work --- nor did I expect it to. I don't get my icon in the graphical

Re: Icons and Bitmaps

2007-10-11 Thread JSeb
Thanks for the help. I like the idea. Maybe I'm missing something, but it seems CtlSetGraphics accepts only Tbmp resources. I cannot put an icon (tAIB) resource in there... Thanks! -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

Icons and Bitmaps

2007-10-10 Thread JSeb
Hi, newbie here. I want to display the application icon on my about form. Wait! Read on! I'm not _that_ a newbie! I am able to do that programmatically: find the application icon's handler, get a pointer to a bitmap from that, and WinDrawBitmap the bitmap (I don't have the code handy, so