Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
GeneralRe: MethodInfo Invoke, bad performance? Pin
STW26-Jul-03 23:37
STW26-Jul-03 23:37 
GeneralRe: MethodInfo Invoke, bad performance? Pin
Eric Gunnerson (msft)27-Jul-03 5:23
Eric Gunnerson (msft)27-Jul-03 5:23 
GeneralRe: MethodInfo Invoke, bad performance? Pin
STW27-Jul-03 8:48
STW27-Jul-03 8:48 
AnswerRe: MethodInfo Invoke, bad performance? Pin
Daniel Turini23-Jul-03 11:31
Daniel Turini23-Jul-03 11:31 
GeneralRe: MethodInfo Invoke, bad performance? Pin
STW26-Jul-03 23:41
STW26-Jul-03 23:41 
GeneralAccessing Functions Pin
ppathan23-Jul-03 6:08
ppathan23-Jul-03 6:08 
GeneralRe: Accessing Functions Pin
Rocky Moore23-Jul-03 12:39
Rocky Moore23-Jul-03 12:39 
QuestionHow to birng to top an application? Pin
Ivan Fernandez23-Jul-03 3:51
Ivan Fernandez23-Jul-03 3:51 
Hello,
I'm trying to bring to top an application. I followed several examples that I've founded but it doesn't work.
I have the instance of my application registered in the computer and I have access to it via Remoting. I've got a method (ShowMyWindow) that I want to call to show the main window of my application:
public void ShowMyWindow()
{
if (IsIconic(hWnd))
{
ShowWindowAsync(hWnd, 3);
}
SetForegroundWindow(hWnd);
}

Now, for example, I've got a instance of my application running in my computer and I try to execute another one from the console. I obtain the already running instance and execute the ShowMyWindow method. The problem is that the result of this is I've got the console window on top and the icon of my application flashing in the task bar (I want to show it a the top of my screen!!!!!Mad | :mad: ) Instead, if my application is minimized, it works.... Any suggestion???
Thanks,

Iván Fernández
AnswerRe: How to birng to top an application? Pin
Valeria Bogdevich23-Jul-03 9:44
Valeria Bogdevich23-Jul-03 9:44 
GeneralRe: How to birng to top an application? Pin
Ivan Fernandez23-Jul-03 21:41
Ivan Fernandez23-Jul-03 21:41 
GeneralRe: How to birng to top an application? Pin
Valeria Bogdevich23-Jul-03 22:05
Valeria Bogdevich23-Jul-03 22:05 
GeneralReflector Pin
monrobot1323-Jul-03 3:22
monrobot1323-Jul-03 3:22 
GeneralRe: Reflector Pin
Nathan Blomquist23-Jul-03 4:55
Nathan Blomquist23-Jul-03 4:55 
GeneralRe: Reflector Pin
Erick Sgarbi23-Jul-03 17:41
Erick Sgarbi23-Jul-03 17:41 
GeneralRe: Reflector Pin
Ista24-Jul-03 5:54
Ista24-Jul-03 5:54 
GeneralRe: Reflector Pin
Arun Bhalla24-Jul-03 12:00
Arun Bhalla24-Jul-03 12:00 
GeneralRegEx Pin
Iulian Serban23-Jul-03 2:11
Iulian Serban23-Jul-03 2:11 
GeneralRe: RegEx Pin
Rein Hillmann23-Jul-03 5:55
Rein Hillmann23-Jul-03 5:55 
GeneralRe: RegEx Pin
Iulian Serban23-Jul-03 7:08
Iulian Serban23-Jul-03 7:08 
QuestionListViewItem drag drop example? Pin
azusakt22-Jul-03 23:41
azusakt22-Jul-03 23:41 
AnswerRe: ListViewItem drag drop example? Pin
Rocky Moore23-Jul-03 1:36
Rocky Moore23-Jul-03 1:36 
GeneralRe: ListViewItem drag drop example? Pin
azusakt23-Jul-03 15:41
azusakt23-Jul-03 15:41 
Generalwrite code behind Pin
KETUINHA22-Jul-03 23:05
KETUINHA22-Jul-03 23:05 
GeneralTurn off dynamic versioning Pin
eggie522-Jul-03 22:19
eggie522-Jul-03 22:19 
GeneralRe: Turn off dynamic versioning Pin
freshthinking22-Jul-03 22:40
freshthinking22-Jul-03 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.