Linked Questions

2 votes
1 answer
3k views

How can I restore a window of a program minimized into tray [duplicate]

Possible Duplicate: Restore a minimized window of another application I want to restore (show and give focus) to an external program. The problem is that if it is on the tray the ...
Pedro77's user avatar
  • 5,284
1 vote
0 answers
105 views

Bringing wpf App to Foreground which is running in background? [duplicate]

I have created a WPF app. On closing Window (By Clicking on X at Title bar), I am hiding the App and we can relaunch or exit the App from tray icon. NotifyIcon notifyIcon = new NotifyIcon(); ...
subham's user avatar
  • 164
20 votes
3 answers
37k views

How to minimize/maximize opened Applications

I have list of open Applications. To get this list i have used following code internal static class NativeMethods { public static readonly Int32 GWL_STYLE = -16; public static readonly ...
sandeep.gosavi's user avatar
8 votes
3 answers
4k views

Passing argument to another instance of the same application

I'm having a seriously problem with my little application; basically it's very easy to understand: My software, when opened, do it's things. I want to focus to opening another instance (And I mean ...
Alex DG's user avatar
  • 107
-1 votes
3 answers
2k views

Make minimized/system tray application gui visible from c#

I have a windows form application that opens another vendor's application. If the vendor's application is not running, my code opens it and it becomes visible as expected. However, if the vendor's ...
Heinrich's user avatar
  • 1,731
2 votes
2 answers
1k views

After hiding the windows form not able to show it back

Below is my code. Here you can see that i am using constant for hide/show the window. Hide the other application from the another application in C#.net. private const int SW_HIDE = 0; private ...
Ankit Upadhyay's user avatar
1 vote
2 answers
1k views

How to pass IntPtr between process/apps

I have got 2 application. One of them is a WPF app and another is sys tray app. The first one should somehow pass to another one his window pointer IntPtr IntPtr thisWindowHandle = (new ...
NoWar's user avatar
  • 37.1k
0 votes
0 answers
391 views

How can I bring the word application window is minisized to the front using C#?

I'm developing a addin for office word using vsto. I'm trying to bring the word window that is minisized rebringing it to the front.I try to use winapi function SwitchToThisWindow、SetForegroundWindow, ...
asa9891's user avatar
1 vote
0 answers
154 views

VB - How to restore a minimized Notepad from the taskbar

I have used StackOverFLow a few times to steal snippets. This time I have a question since my thievery skills seem to have diminished. I'm using VB.NET. I have a NoteButton in MyApp. The first time ...
GregValiant's user avatar
0 votes
0 answers
50 views

C# bring unassociated app to foreground

I've been searching all over the net for answers to get a program to the foreground. I've been doing it the ghetto way by sending alt-tab keystrokes with SendKeys. I've tried this and it doesn't ...
Bobby Strickland's user avatar