I noticed the ROM page has been updated to show DR4 dates of 12/22/99.
I have those versions for English, so that cannot be my problem. Any
other clues as to why I get the error when I try to change the color
before Drawing my initial form? Or do I just have to wait for other
ROM?
> At 5:39 AM +0100 24-01-00, Mike Davis wrote:
> >1) I am having a little problem with
> >UIColorSetTableEntry(UIFormFill, &MyRGBColor). I have a function
> >that I call that will change the formFill color. When I call the
> >function before I execute FrmDrawForm, in my frmOpenEvent, my
> >application crashes.
>
> That shouldn't happen. I'd love to see the stack trace...
>
> Ah, I see. It's because there is no DrawWindow defined before FrmDrawForm
> is called, and UIColorSetTableEntry uses WinRGBToIndex. In early (beta)
> releases of OS 3.5, WinRGBToIndex required that a DrawWindow be defined.
> In the final OS 3.5 release, this restriction is lifted and WinRGBToIndex
> uses the screen color table if the draw window is currently undefined.
> So, get the latest ROMs!
>
> >2) There is a mention of a Color Table Stack but no mention of how to use
> >it other than providing a push and pop functions. How is this used?
>
> Don't use the color table stack or the PushTable/PopTable functions. It's
> not supported, tested, etc. It will not be mentioned in the final
> documentation.
>
> It turns out that it's not really very useful, because the UI color table
> is reset to the default (or user preference) every time you switch apps.
> So, you don't need to worry about undoing your changes.
>
> >3) When I try functions that use UIColorTableEntryType, I get an
> >undefined 'type' error. I have PalmOs.h included. Where is that
> >type declared? I can't find it in the header files.
>
> You must be using an old set of header files. UIColorTableEntryType is
> private to PalmOS, and does not appear in any public headers. If your
> UIColor.h uses it, then you have an old UIColor.h!
>
>
>
> ---
> You are currently subscribed to palm-dev-forum as: [EMAIL PROTECTED] To
> unsubscribe send a blank email to [EMAIL PROTECTED]
> For more information on the Palm Developer Forum's, see
> <http://www.palm.com/devzone/mailinglists.html>
>
--
-----------------------------------------------------------------
Discussion Group: http://www.halcyon.com/ipscone/wwwboard/
Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------
---
For information on using the Palm Developer Forums, or to unsubscribe, please see
<http://www.palm.com/devzone/mailinglists.html>.