Skip to main content
GameDev.net gamedev.net
🔒 Locked

Dialog based windows app

Started by TheBlackJester Dec 13, 2002 at 3:04 PM 1 replies 250+ views
Original Post
TheBlackJester
TheBlackJester
Hey, The map editor I''m building is mostly dialog based, in that uses dialog windows for all the tools. Here''s my problem. I have controls in the dialog obviouls. Also, I have 4 keys used to scroll the map. If I click on a control in one of the dialogs while i''m holding down a scroll key, the map keeps scrolling even when I let off the control. I can''t figure out whats up. I''ve tried a bunch of different things with setting the window focus back to the main window and everything, but it seems like the child dialags shouldn''t even be taking focus if they are children of the same window anyways.


"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I''m reaching up and reaching out. I''m reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one''s been. We''ll ride the spiral to the end and may just go where no one''s been." - Maynard James Keenan
Name: TheBlackJester Team: Wildfire Studios
Projects O A.D. The Last Alliance

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan <
TheBlackJester
TheBlackJester
omg folks, please?



"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I''m reaching up and reaching out. I''m reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one''s been. We''ll ride the spiral to the end and may just go where no one''s been." - Maynard James Keenan
Name: TheBlackJester
Team: Wildfire Studios

Projects
O A.D.
The Last Alliance

"With my feet upon the ground I lose myself between the sounds and open wide to suck it in, I feel it move across my skin. I'm reaching up and reaching out. I'm reaching for the random or what ever will bewilder me, what ever will bewilder me. And following our will and wind we may just go where no one's been. We'll ride the spiral to the end and may just go where no one's been." - Maynard James Keenan <
zackriggle
zackriggle
How about, in the switch statement, where the window receives the message to scroll, first determine if the window is in focus or not. If so, then scroll. If not, then do nothing...

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.