Click here to Skip to main content
15,908,675 members
Home / Discussions / C#
   

C#

 
AnswerRe: yahoo messenger component ... Pin
Vasudevan Deepak Kumar5-Apr-07 5:41
Vasudevan Deepak Kumar5-Apr-07 5:41 
Questionhow to know if someone visited my site? Pin
Nekshan4-Apr-07 23:45
Nekshan4-Apr-07 23:45 
AnswerRe: how to know if someone visited my site? Pin
Christian Graus5-Apr-07 0:13
protectorChristian Graus5-Apr-07 0:13 
Questionusing directives for a new file / class Pin
peterchen4-Apr-07 23:37
peterchen4-Apr-07 23:37 
AnswerRe: using directives for a new file / class Pin
Christian Graus5-Apr-07 0:07
protectorChristian Graus5-Apr-07 0:07 
AnswerRe: using directives for a new file / class Pin
DavidNohejl5-Apr-07 0:15
DavidNohejl5-Apr-07 0:15 
GeneralRe: using directives for a new file / class Pin
peterchen5-Apr-07 8:15
peterchen5-Apr-07 8:15 
Questionlienentre deux logiciels Pin
nayoula4-Apr-07 23:28
nayoula4-Apr-07 23:28 
AnswerRe: lienentre deux logiciels Pin
Christian Graus4-Apr-07 23:40
protectorChristian Graus4-Apr-07 23:40 
QuestionRow select on DataGridView Pin
waddie14-Apr-07 23:07
waddie14-Apr-07 23:07 
AnswerRe: Row select on DataGridView Pin
joon vh.4-Apr-07 23:20
joon vh.4-Apr-07 23:20 
QuestionRe: Row select on DataGridView Pin
waddie14-Apr-07 23:31
waddie14-Apr-07 23:31 
AnswerRe: Row select on DataGridView Pin
joon vh.4-Apr-07 23:50
joon vh.4-Apr-07 23:50 
GeneralRe: Row select on DataGridView Pin
waddie15-Apr-07 0:00
waddie15-Apr-07 0:00 
QuestionMinimize all open programs Pin
anderslundsgard4-Apr-07 22:42
anderslundsgard4-Apr-07 22:42 
AnswerRe: Minimize all open programs Pin
originSH5-Apr-07 0:47
originSH5-Apr-07 0:47 
GeneralRe: Minimize all open programs Pin
anderslundsgard5-Apr-07 0:50
anderslundsgard5-Apr-07 0:50 
When I start my application it comes behind all others.
Know it's not the best solution to make all others minimize but I have not found any other solution.

I found this:

[System.Runtime.InteropServices.DllImport("user32.dll")]<br />
public static extern void keybd_event(byte bVk, byte bScan, Int32 dwFlags, Int32 dwExtraInfo);<br />
<br />
public void MinimizeAll()<br />
{<br />
 keybd_event(91, 0, 0, 0);<br />
 keybd_event(77, 0, 0, 0);<br />
 keybd_event(91, 0, 2, 0);<br />
}


_____________________________

...and justice for all

APe

GeneralRe: Minimize all open programs Pin
originSH5-Apr-07 2:15
originSH5-Apr-07 2:15 
GeneralRe: Minimize all open programs Pin
anderslundsgard5-Apr-07 2:28
anderslundsgard5-Apr-07 2:28 
GeneralRe: Minimize all open programs Pin
originSH5-Apr-07 4:14
originSH5-Apr-07 4:14 
Questionhow to listen a connection from a specific IP address? Pin
F.E.L.I.X.4-Apr-07 22:16
F.E.L.I.X.4-Apr-07 22:16 
QuestionSome vb to c# Pin
akkram4-Apr-07 21:30
akkram4-Apr-07 21:30 
AnswerRe: Some vb to c# Pin
akkram4-Apr-07 22:18
akkram4-Apr-07 22:18 
AnswerRe: Some vb to c# Pin
Dave Doknjas5-Apr-07 12:50
Dave Doknjas5-Apr-07 12:50 
Questionhow to overcome this exception --in ClickonceDeployment INVALIDDEPLOYMENTEXEPTION, --"Application in not installed" Pin
pashitech4-Apr-07 21:21
pashitech4-Apr-07 21:21 

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.