W
wavedave
Hello everyone -
I'm trying to build a .NET application (C#) in which my program acts as
an add-on to another existing application, providing some additional
functionality. The way I want the UI to behave is such that my
application's window will dock itself to the right-hand edge of the
other app's main window (after resizing that app slightly, to make
space), and then will follow the other app when it is
moved/resized/minimized/maximized/etc..
Is there a standard way to do this with .NET? The easiest of all would
be if .NET/win32 had a function that I could call which would tell my
app to continually keep itself positioned on-screen *relative to this
other application*. (maybe that would be too good to be true - you can
tell me if that's the case )
Another (related) question about this - there is mouse and keyboard
interaction that happens on both application windows, and I'm hoping
that I can implement a "focus follows mouse" behavior so that when the
user goes back to the main application window, they don't have to click
once to focus, then again to begin actually interaction. Is there a
good way to do this?
thanks very much,
-David Merrill
p.s. this message also posted to:
microsoft.public.dotnet.framework.windowsforms
microsoft.public.dotnet.csharp.general
I'm trying to build a .NET application (C#) in which my program acts as
an add-on to another existing application, providing some additional
functionality. The way I want the UI to behave is such that my
application's window will dock itself to the right-hand edge of the
other app's main window (after resizing that app slightly, to make
space), and then will follow the other app when it is
moved/resized/minimized/maximized/etc..
Is there a standard way to do this with .NET? The easiest of all would
be if .NET/win32 had a function that I could call which would tell my
app to continually keep itself positioned on-screen *relative to this
other application*. (maybe that would be too good to be true - you can
tell me if that's the case )
Another (related) question about this - there is mouse and keyboard
interaction that happens on both application windows, and I'm hoping
that I can implement a "focus follows mouse" behavior so that when the
user goes back to the main application window, they don't have to click
once to focus, then again to begin actually interaction. Is there a
good way to do this?
thanks very much,
-David Merrill
p.s. this message also posted to:
microsoft.public.dotnet.framework.windowsforms
microsoft.public.dotnet.csharp.general