In a non-modal form, I handle the frmOpenEvent to perform various UI controls initializations before calling FrmDrawForm. Now that I must also perform a WinRGBToIndex among these initializations, POSE tells me I have not established a valid draw window prior to calling this window API. I can indeed call FrmDrawForm before the WinRGBToIndex API, but that means refreshing controls after the window is already drawn. Is there a way to avoid this?
-- Luc Le Blanc -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
