>If there is no Palm-supplied method for changing the display depth, then I
>think my second assumption should be valid (i.e., Is it reasonable to
>assume that the new color devices will always be in 8-bit mode and current
>devices will always be in 1-bit mode unless your application purposely
>sets the display to a different color depth?). Users of non-color devices
>would not be able to activate display depths beyond 1-bit without using an
>add-on.
I don't think this assumption is safe at all. It'd take about 5 minutes
for a developer to whip up an app that let a user change the default depth,
as you realize, and so you've got to have your app work right (or fail
gracefully) in any depth. Add-ons are extremely popular!
Besides, what if a device came out that just supported 4-bit? Don't paint
yourself into a corner...
>(Dear Palm gurus: I still haven't been able to find any information about
>specifying the depths of windows created by WinCreateOffscreenWindow and
>WinCreateBitmapWindow.
WinCreateBitmapWindow just uses the depth of the bitmap that you gave it.
You're just layering a window object over your bitmap; it isn't modifying
your bitmap.
WinCreateOffscreenWindow uses the depth of the display window, i.e. the screen.
-David Fedor
Palm Developer Support