I (Luc Le Blanc) wrote earlier: > Michal Seliga wrote:
> > thats probably because t3 runs in 8bpp mode by default > > try to set mode to 16bpp when your application starts > > (all colour devices support it i think) > I redrew my bitmap in 8-bit/256 colors with Constructor, but it > still appears in B+W (and OK in Constructor :( > I must be in 8-bit color because when my app pops up the OS Color > Picker, > it displays a 256-color palette. I checked and stepped through my code. Upon stating my app, and only once, I call UInt32 width = 160, height = 160, depth = 8; Boolean color = true; gError = WinScreenMode( winScreenModeSet, &width, &height, &depth, &color ); and the returned value is 0. Here's a view of my form (POSE emulating a m505): http://www.cooptel.qc.ca/~lleblanc/depthen.gif with the Rainbow button in B+W at the bottom right corner. Yet, if I tap on a color picker, the OS dialog I get with UIPickColor has 256 indexed colors. Go figure... Luc Le Blanc -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
