> First of all, happy Easter everybody, Jesus lives!
> 
> Now that nobody is reading anymore, 

  hehe :)) 

> I am trying to write a program almost exactly the same as the 
> contrast slider bar program
> on the palmV.  Now I want to have mulitple sliders on the "slider"
> bar, when the sliders come close together their bitmaps will overlap
> and the "white edges' will over wirte each other.  I am wondering if 
> their is some way to "clip" the bitmap drawing process so that only 
> a desired slice of the bitmap resource is acutally drawn to the screen.

  store your bitmap in an offscreen window and then use WinCopyRectangle()
  to blit it to the screen. you can specify the type of copying method
  in the call (such as winPaint, winInvert, winMask, winOverlay etc)

  if you only want it running on os 3.5, then you can probably use 
  WinPaintBitmap() (double check the method name, no API here right now)
  - which does the same thing.. but ONLY under os 3.5

  cheers.

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to