Hello,
I'm having trouble bringing a window to the front of all windows in an
application I'm building. Actually, it's two applications that communicate
via .NET Remoting. I'm trying to get the client remoting app to tell the
server remoting app to bring itself to the front of all windows and it just
doesn't seem to be working. I've tried the following methods to make this
happen.
If the server app (it's an exe that accepts messages from the client exe),
I've tried two different API calls and to intrinsic form methods:
API's:
BringWindowToTo p(mWnd.ToInt32)
ShowWindow(mWnd .ToInt32, SW_SHOW)
Intrinsic methods:
Form.TopMost
Form.TopLevel
Can someone help me with how to get this form to the front? I have to have
it there to get a picture of it and save it as a jpg.
Thanks
S
I'm having trouble bringing a window to the front of all windows in an
application I'm building. Actually, it's two applications that communicate
via .NET Remoting. I'm trying to get the client remoting app to tell the
server remoting app to bring itself to the front of all windows and it just
doesn't seem to be working. I've tried the following methods to make this
happen.
If the server app (it's an exe that accepts messages from the client exe),
I've tried two different API calls and to intrinsic form methods:
API's:
BringWindowToTo p(mWnd.ToInt32)
ShowWindow(mWnd .ToInt32, SW_SHOW)
Intrinsic methods:
Form.TopMost
Form.TopLevel
Can someone help me with how to get this form to the front? I have to have
it there to get a picture of it and save it as a jpg.
Thanks
S