Drag and Drop Sample code

2002-03-07 Thread Matt Disher
i.e. I'm looking for some. I used to have the original LaunchPad sources way back in the day and can't find that. Looking for a simple framework that would support dragging some elements around the screen. If anyone has anything I'd appreciate it, but I suspect I'll be grinding it out the hardw

RE: Request for Drag and Drop code example

2001-08-09 Thread Marcelo Gorini
Palm Developer Forum Subject: Request for Drag and Drop code example I'm trying to implement a simple drag and drop interface into an application. I'm using CodeWarrior. Does anyone have any code examples of implementing drag and drop? I'm only wanting to drag a bitmap (family) aroun

Request for Drag and Drop code example

2001-08-09 Thread Robertson, Paul
I'm trying to implement a simple drag and drop interface into an application. I'm using CodeWarrior. Does anyone have any code examples of implementing drag and drop? I'm only wanting to drag a bitmap (family) around the form and leave it in the final position dragged to. Th

Re: Drag and drop

2000-05-18 Thread Peter Epstein
At 09:42 AM 5/18/2000, Richard Hartman wrote: >Actually, if all we're talking about is a "rubber band" box, XOR is just >fine even on a color device. It is simple, fast, and guaranteed to be >visible regardless of what the background is. Agreed. Long live XOR! The ni

Re: Drag and drop

2000-05-18 Thread Richard Hartman
Peter Epstein wrote in message <11904@palm-dev-forum>... > XOR works fine on black and white devices. If you want to work with color, you probably want to use a more sophisticated technique to get good performance and good appearance. You can use WinScreenLock/Unlock, but you want to avoid co

Re: Drag and drop

2000-05-17 Thread Steve Sabram
;t much in the OS for this. Remember your "rule of seven". > > > Redrawing the whole image each time the pen moves seems kind of > slow. There must be an easier way. Anyone? It is a single screen with not much in selective buffering. You should rethink you UI if you f

RE: Drag and drop

2000-05-17 Thread Knobbe, Roger
: Palm Developer Forum Subject: Drag and drop Problem: Say, you touch the screen with the pen; drag the pen to a new location; then lift the pen. You also want a visible box to show the selected area. You want the box to be erased and redrawn as the pen is moved but erased when the pen is

Re: Drag and drop

2000-05-17 Thread Peter Epstein
XOR works fine on black and white devices. If you want to work with color, you probably want to use a more sophisticated technique to get good performance and good appearance. You can use WinScreenLock/Unlock, but you want to avoid copying the entire screen every time, and that's hard to do. I'

Re: Drag and drop

2000-05-17 Thread Richard Hartman
Michael S. Davis wrote in message <11881@palm-dev-forum>... > > >The problem is that, as the pen moves and the box erased and redrawn, >the image beneath it is also erased. What is the technique used to do >this and not destroy any underlying image? XOR -- -Richard M. Hartman [EMAIL PROTECTED

Drag and drop

2000-05-17 Thread Michael S. Davis
Problem: Say, you touch the screen with the pen; drag the pen to a new location; then lift the pen. You also want a visible box to show the selected area. You want the box to be erased and redrawn as the pen is moved but erased when the pen is lifted. The problem is that, as the pen moves and