Hi!
I’m building a tool to make bezier-surfaces. I’m doing this
with my Delphi rad-tool, because I need some Windows-stuff like
panels, trackbars and so on. I use two panels to get two rendering-
contexts. (The first panel is to have a look at the surface with rotation,
texturing and stuff, and the second panel is the view from above on the
surface with some GL_POINTS on it, on which can be clicked to modify
the control points.)
The problem is, that I have a second window in use, which offers some
trackbars to modify colour and lighting. When this (tool-)window is
shown, the first panel (with rendering context) isn’t updated anymore, and
the whole application seems to become strange. Sometimes the second
panel (with rendering c.) seems to have become both rendering contextes
(because on this panel both scenes are shown, they’re just switching
continuosly between each other…)
I have the suggestion, that this behaviour is caused in the windowclass-parameter
CS_OWNDC that I use, when I create the window without delphi…
any suggestions?
thanks!
mathias_123