Advertisement Jump to content
Sign in to follow this  
yuppies

Need help with my Editor pls

This topic is 4906 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi like most of u guys im also building an engine for a hobby and right now im building my editor at the same time heres a screen shots for the early stages of my editor at http://geocities.com/ruellm/1.zip the terrain is implemented using Geomipmapping and the model is in DX X Mesh. However I got a slight problem in my editor that is -->processing mouse events i ONLY want to handle the events like mouse click(for picking) or mouse move when the mouse is INSIDE the RENDERING area( the DARK GRAY ONE ), right now im catching the events thrown at the CALLBACK PROC of my dialog and process it whenever Mouse events move eventhough the the mouse is not inside the Rendering Window. This problem causes some bugs in manipulating the scene(Navigate Camera) and Specially in picking objects. PS. The Rendering Window is a button control thanks

Share this post


Link to post
Share on other sites
Advertisement
The easiest way would be to just check the mouse position and work out if it is in the area. It must also be possible to make your button handle mouse messages rather than its parent but I am not sure how you go about doing that.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!