By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,423 Members | 1,294 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,423 IT Pros & Developers. It's quick & easy.

Make floating control activate, but stop the parent form becoming active?

P: 1
I'd like to know if it is possible to stop the parent application of a floating form becoming active when the controls on the floating form are clicked?

I've got a large application, with multiple embedded controls. Some of the controls can be detached on effectively floating forms, which can be dragged about the screen. Not using MDI type stuff, just forms.

The app is on our traders' desktops, and they have many applications open (Reuters, excel...). So they don't want "background" apps jumping to the front - even though they want this floating form to be useable at the front.

When I click on a contorl of one of the floating forms, the "parent" application also becomes active and jumps in front of their other apps, and is very annoying.

Is it possible to stop an event on the floating form feeding back to the parent application? I guess the event I want to capture is "Activated", but I don't know what to do to stop this activating the parent app.

Hope this makes sense.
Thanks
Aug 10 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.