M
mbarb5ne
I have created a c# application where I have successfully created a
System.Diagnostics.Process and set the parent to be a GUI Control so
the process is embedded in the panel and looks like part of my
software application.
I would like to be able to have a smaller version of the process shown
and click on it and have it bring up the full-screen. I have the
process so it can be shown and when a button is clicked, resized to
fullscreen, but whenever the process itself is clicked on, the process
is activated and the system tries to go in and use the process.
To overcome this, I have tried to deactivate the control (which works,
now clicking on the external software process does nothing), but I
can't overwrite the onClick command.
I tried to put a blank panel on top of the panel including the process
in order to catch the onClick event there, but regardless of my
efforts to BringToFront or SendToBack the process (change the z-
order), it does not display on top and clicking only clicks on the
external process.
Does anyone have any ideas for how I could achieve this effect so that
when it isn't full screen, clicking on it would make it full screen,
and the process would be active and behave as it currently does only
when it is full-sized?
Thanks!
System.Diagnostics.Process and set the parent to be a GUI Control so
the process is embedded in the panel and looks like part of my
software application.
I would like to be able to have a smaller version of the process shown
and click on it and have it bring up the full-screen. I have the
process so it can be shown and when a button is clicked, resized to
fullscreen, but whenever the process itself is clicked on, the process
is activated and the system tries to go in and use the process.
To overcome this, I have tried to deactivate the control (which works,
now clicking on the external software process does nothing), but I
can't overwrite the onClick command.
I tried to put a blank panel on top of the panel including the process
in order to catch the onClick event there, but regardless of my
efforts to BringToFront or SendToBack the process (change the z-
order), it does not display on top and clicking only clicks on the
external process.
Does anyone have any ideas for how I could achieve this effect so that
when it isn't full screen, clicking on it would make it full screen,
and the process would be active and behave as it currently does only
when it is full-sized?
Thanks!