Click here to Skip to main content
15,886,689 members
Home / Discussions / C#
   

C#

 
GeneralRe: Find Internet Server IP address Pin
harold aptroot17-Jul-09 3:33
harold aptroot17-Jul-09 3:33 
GeneralRe: Find Internet Server IP address Pin
Mirko198017-Jul-09 3:59
Mirko198017-Jul-09 3:59 
GeneralRe: Find Internet Server IP address Pin
harold aptroot17-Jul-09 4:22
harold aptroot17-Jul-09 4:22 
AnswerRe: Find Internet Server IP address Pin
harold aptroot17-Jul-09 2:49
harold aptroot17-Jul-09 2:49 
QuestionHow to bring a window to foreground on Vista? Pin
verence33317-Jul-09 0:38
verence33317-Jul-09 0:38 
AnswerRe: How to bring a window to foreground on Vista? Pin
musefan17-Jul-09 1:20
musefan17-Jul-09 1:20 
GeneralRe: How to bring a window to foreground on Vista? Pin
verence33317-Jul-09 1:45
verence33317-Jul-09 1:45 
AnswerRe: How to bring a window to foreground on Vista? Pin
Simon P Stevens17-Jul-09 1:24
Simon P Stevens17-Jul-09 1:24 
The thing you have to remember is that the user should always be in control of the PC. In the good old days of windows 95, any app could bring itself to the front to alert the user. After a while this created all kinds of problems because you would be typing away and other apps would be grabbing focus all over the place and interrupting your typing, (often catching your key presses and causing unexpected behaviour)

The powers that be realised that this was wrong and decided to fix it. So they changed things so apps couldn't bring them selves to the front, and instead just flashed the toolbar.

this is great except there are some people that still want to slam their apps to the foreground, so these people started working out ways round the restrictions (like the one you have used). Microsoft take note of these hacks and fix the problem for the next version.

The short story is that you should never be forcefully taking focus from what the user is doing. That is why vista doesn't support it. Instead you should flash the toolbar and wait for the user to respond to your app.


Simon

GeneralRe: How to bring a window to foreground on Vista? Pin
verence33317-Jul-09 1:58
verence33317-Jul-09 1:58 
AnswerRe: How to bring a window to foreground on Vista? Pin
Luc Pattyn17-Jul-09 1:33
sitebuilderLuc Pattyn17-Jul-09 1:33 
GeneralRe: How to bring a window to foreground on Vista? Pin
verence33317-Jul-09 2:01
verence33317-Jul-09 2:01 
AnswerRe: How to bring a window to foreground on Vista? Pin
verence33319-Jul-09 20:09
verence33319-Jul-09 20:09 
QuestionError Pin
john563217-Jul-09 0:32
john563217-Jul-09 0:32 
AnswerRe: Error Pin
0x3c017-Jul-09 0:35
0x3c017-Jul-09 0:35 
GeneralRe: Error Pin
john563217-Jul-09 0:55
john563217-Jul-09 0:55 
GeneralRe: Error Pin
0x3c017-Jul-09 1:05
0x3c017-Jul-09 1:05 
GeneralRe: Error Pin
john563217-Jul-09 1:35
john563217-Jul-09 1:35 
GeneralRe: Error Pin
0x3c017-Jul-09 1:44
0x3c017-Jul-09 1:44 
GeneralRe: Error Pin
john563217-Jul-09 2:33
john563217-Jul-09 2:33 
QuestionC# compression Pin
GauravKP17-Jul-09 0:05
professionalGauravKP17-Jul-09 0:05 
AnswerRe: C# compression Pin
Luc Pattyn17-Jul-09 0:20
sitebuilderLuc Pattyn17-Jul-09 0:20 
AnswerRe: C# compression Pin
Alan Balkany17-Jul-09 3:53
Alan Balkany17-Jul-09 3:53 
QuestionHow to make a pipe continuously availble for other C# application. Pin
svt gdwl16-Jul-09 23:55
svt gdwl16-Jul-09 23:55 
QuestionErrr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
Baeltazor16-Jul-09 23:44
Baeltazor16-Jul-09 23:44 
AnswerRe: Errr..... Plugin Architecture in Visual C# (kind of a rant, but more of a question, really...No wait, actually... It's just a question.) Pin
HuntingWabbits16-Jul-09 23:58
HuntingWabbits16-Jul-09 23:58 

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.