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
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