On 6/30/07 5:20 AM, "Tim Jones" <tjmac at tolisgroup dot com> wrote:
> I've examined doing this with a scrollable canvas, but 'm concerned
> with the flicker that I witness on Windows and Linux. This led me to
> a container control as the host control, but I'm lost as to how to
> implement the vertical scroll operation.
>
> Anyone using container controls for a similar function or have ideas
> of how to implement this?
Have you thought about just using a single canvas and creating the image on
the fly and drawing it as needed?
Simply create an image when you need to draw that contains all the buttons
you need where you need them placed and draw that image to the canvas. You
can use the mouse down/up events and their X, Y parameters to determine if a
button was clicked and even update the image to provide button feedback.
I've done this before and it worked quite well and was much less frustrating
that canvas scrolling.
Sincerely,
Scott
--
SearchWare Solutions
Simply Great Software
http://www.searchwaresolutions.com
Webthoughts: http://www.searchwaresolutions.com/other/weblog/
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|