You need to log in to create posts and topics.
Buttons drawn wrong
77,940 Posts
#1 · November 13, 1997, 4:51 pm
Quote from Forum Archives on November 13, 1997, 4:51 pmPosted 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
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?
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
Click for thumbs down.0Click for thumbs up.0