Re: Any smart way to handle options for all the different device

2005-03-18 Thread Cory Pratt
For my programs, I created an abstraction layer. For example, say you want to draw a color line. I've wrapped the device-specific line drawing routines in my own routine (MyWinPaintLine). If the device supports color, WinPaintLine is called. If not, WinDrawLine is called. It's a little more

Any smart way to handle options for all the different device

2005-03-17 Thread Nigel Grant
Hi Guys I was wondering if any of you have come up with a smart way of handling options for the various devices. I current have a case statement that performs different processing for the various devices. Pseudo code Case PalmV . . . break Case PalmVx . . . break Case M505 . . . break Case