Forum Navigation
You need to log in to create posts and topics.

Buttons drawn wrong

Posted by: mcrm <mcrm@...>

Hello. I am using a custom CDEF (which I did not write) to draw some 3D
buttons (Jim's CDEFs to be exact). The window I am using uses a gray
ppat that is drawn on raw (not FB) _updatEvt messages. The buttons draw
initially fine. But when I switch out of my program (not using PG) and
go back into it, the buttons draw themselves with a white background.
The window redraws the rest of the background that needs to be updated
but the controls that need to be updated make a white background in
their controlRect. I am not sure what I have to do - intercept the
update event and call DrawControls on my own or something else. Anyone
have any help?

TIA

Ryan