@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> Howdie, anyway to open a form without giving it focus? I'm making a popup out of a form, and it takes focus from my main window which I dont want.



<1> not the best of solutions, but.. can't you refocus your main window afterwards?
<0> I may have another window focused...
<1> well, i dont know how this works with winforms, but in regular win32 i guess you could do GetForegroundWindow prior to the call, and the SetForegroundWindow afterwards
<1> there might be some equivalents for WinForm windows, but im not quite there yet :)
<2> there aint
<1> there's no way of telling which winforms window is showing ?
<1> or topmost whatnot



<2> no
<2> not without p/invoke
<1> oh well
<1> sometimes knowing win32 makes it all too tempty to use pinvoke :p
<1> which is why it feels like LEGO at times :p
<1> of course that is the case with Java also, but atleast there it's not as easy to do "pinvoke"-ish stuff


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #csharp
or
Go to some related logs:

hunting pistols, longslide
#hardware
palir basar
#politics
xp Disable Automatic Restart repair console
citebeur torrent
#politics
black joke holocaust
#visualbasic
#debian



Home  |  disclaimer  |  contact  |  submit quotes