Sign in to follow this  

Few MFC questions.

This topic is 4546 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

There are a few things in my program that I can't seem to fix, one of which is the spin control. What I'm trying to do is have a number box for selecting the right size of a texture mask, it works nicely however there isn't an event on the spin for an 'off click' so if I clicked all the way up to 100 and use the event UDN_DELTAPOS it only registers 99 until the even is over. When another box is edited and all boxes refresh again then it goes to the value it should be, but the box I currently edited is still one higher or lower then it should be. The second little problem is with the tree control, I have it so the user can create sequences then under the sequences they can create frames (it's a sprite animation program). However, the buttons are a little screwed up. If I click on frame1 under action1 and then right click I get the Edit, Del, etc. But when I right click on action1 without clicking it before hand I'll get the HTREEITEM of the frame1 instead. So in order to select Action1 after selecting Frame1, I have to do a left click then a right click to gain access to its menu. (Pretty much it won't refresh the current selected tree item unless it's done a left click)

Share this post


Link to post
Share on other sites

This topic is 4546 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this