You may want to send mail to the author of PalmTheme,
he seems to have somehow intercepted the draw requests
for most of the controls in the system so that they 
can be customized.  If he can tell you where he hooked
into the system, you could create your own owner-draw
buttons.

http://shin.nu/~FocV/PalmTheme/index-e.html
Nori Kanazawa [[EMAIL PROTECTED]]

-- 
-Richard M. Hartman
[EMAIL PROTECTED]

186,000 mi./sec ... not just a good idea, it's the LAW!


> -----Original Message-----
> From: Lou Krieg [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 07, 1999 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Bitmap (or Buttons) tip needed
> 
> 
> On 12/7/99 12:34 PM, Michael S. Davis at [EMAIL PROTECTED] wrote:
> 
> > I have an application where I want to have some
> > buttons that are dark with light text.
> > 
> > I know I can just create bitmaps for the buttons but my 
> problem is that
> > I need to change the text.  I cannot have bitmaps for every
> > possible text value.  Also, the text is not known at compile time.
> > The user can change the text on the buttons.
> > 
> > This is rather easy for standard light with dark text.  But I need
> > some suggestions how to create dark buttons with light text, where
> > the text can be changed.
> > 
> > Any ideas?
> > 
> 
> Take a look at the function "WinDrawInvertedChars" .. you 
> might be able to
> just draw the text in place on black buttons with a bit of 
> calculating for
> the position.
> 
> HTH,
> 
>   -- Lou
> _________________________________________________________________
> Lou Krieg, President                          Tel: (802) 865-2728
> Green Mountain Software Corporation           Fax: (802) 865-2468
> 85 Prim Road - Suite 302, PO Box 700       Internet: [EMAIL PROTECTED]
> Colchester, Vermont 05446-0700                http://www.GMSW.com
> 
> 
> 

Reply via email to