Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: I need a component with FullRepaint and OnMouseWheel event



Permlink Replies: 1 - Last Post: Jun 8, 2016 11:43 AM Last Post By: Carl Olsen
Stefano Gamberoni

Posts: 5
Registered: 4/22/13
I need a component with FullRepaint and OnMouseWheel event
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 18, 2016 1:10 AM
Hi all,
I'm developing an application with OpenGL.
My problem is that when I resize the window (and the object on which the drawing is expanding with it) the image created by the OpenGL process alternates with a blank image (flickering). I solved the problem by using a tpanel as an object of dell'opengl destination and putting FullRepaint property to false. But with tpanel I can not use OnMouseWhell events? Alternatives?
Carl Olsen

Posts: 124
Registered: 3/29/00
Re: I need a component with FullRepaint and OnMouseWheel event
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 8, 2016 11:43 AM   in response to: Stefano Gamberoni in response to: Stefano Gamberoni
You could roll your own mouse wheel handler capturing the Parent Forms MouseWheel event, for example, and then calling whatever routine you need for it.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02