PDA

View Full Version : problem with form focus



dlswimmer
05-18-2004, 06:17 AM
I have a form and a picture box in which I put my opengl display. My problem is that when the form loads, the painting overlays the rendering until I click and render it again, but then when I loose focus from the picture box, the opengl goes away again. Is there some way for me to keep focus or some other kindof object to put the opengl in to keep it from doing this? Thank you anyone for your help.

WondeRu
06-03-2004, 09:23 PM
I think, that U draw on wm_paint message (?). try to draw at timer event. Did I understand U rightly? :)