Click here to Skip to main content
16,007,472 members
Home / Discussions / C#
   

C#

 
GeneralSetting keyboard focus Pin
Christian Graus19-Aug-04 11:54
protectorChristian Graus19-Aug-04 11:54 
GeneralRe: Setting keyboard focus Pin
leppie19-Aug-04 13:09
leppie19-Aug-04 13:09 
GeneralRe: Setting keyboard focus Pin
Christian Graus19-Aug-04 13:12
protectorChristian Graus19-Aug-04 13:12 
GeneralRe: Setting keyboard focus Pin
progload19-Aug-04 13:16
progload19-Aug-04 13:16 
GeneralRe: Setting keyboard focus Pin
Christian Graus19-Aug-04 13:21
protectorChristian Graus19-Aug-04 13:21 
GeneralRe: Setting keyboard focus Pin
progload19-Aug-04 13:51
progload19-Aug-04 13:51 
GeneralRe: Setting keyboard focus Pin
Christian Graus19-Aug-04 13:54
protectorChristian Graus19-Aug-04 13:54 
GeneralRe: Setting keyboard focus Pin
progload19-Aug-04 18:14
progload19-Aug-04 18:14 
Christian,

I'll take another try at this, and it's just a theory at the moment, and I could be wrong, but if you get both window handles (your window handle, and the desktop handle), you could set your window's parent to the desktop.

Problem is I'm not exactly sure where the focus is going to go, as I haven't tested the idea.


[DllImport("USER32.DLL")]
private static extern IntPtr SetParent(
IntPtr hWndChild, // handle to window
IntPtr hWndNewParent // new parent window
);


Progload
GeneralRe: Setting keyboard focus Pin
Christian Graus22-Aug-04 10:30
protectorChristian Graus22-Aug-04 10:30 
GeneralAdd a variable to URL Pin
eggie519-Aug-04 11:45
eggie519-Aug-04 11:45 
GeneralRe: Add a variable to ie's path Pin
Christian Graus19-Aug-04 11:51
protectorChristian Graus19-Aug-04 11:51 
QuestionWindows Forms (Not ASP) DataGrid or ListView Hyperlink ??? Pin
gman4419-Aug-04 11:00
gman4419-Aug-04 11:00 
AnswerRe: Windows Forms (Not ASP) DataGrid or ListView Hyperlink ??? Pin
leppie19-Aug-04 11:11
leppie19-Aug-04 11:11 
GeneralRe: Windows Forms (Not ASP) DataGrid or ListView Hyperlink ??? Pin
gman4419-Aug-04 12:46
gman4419-Aug-04 12:46 
GeneralRe: Windows Forms (Not ASP) DataGrid or ListView Hyperlink ??? Pin
leppie19-Aug-04 13:03
leppie19-Aug-04 13:03 
GeneralRe: Windows Forms (Not ASP) DataGrid or ListView Hyperlink ??? Pin
Nick Parker19-Aug-04 13:51
protectorNick Parker19-Aug-04 13:51 
Generalc# disassembly Pin
...---...19-Aug-04 9:11
...---...19-Aug-04 9:11 
GeneralRe: c# disassembly Pin
leppie19-Aug-04 11:13
leppie19-Aug-04 11:13 
GeneralRe: c# disassembly Pin
Anonymous19-Aug-04 11:39
Anonymous19-Aug-04 11:39 
GeneralRe: c# disassembly Pin
Nick Parker19-Aug-04 12:52
protectorNick Parker19-Aug-04 12:52 
GeneralRe: c# disassembly Pin
Christian Graus19-Aug-04 12:57
protectorChristian Graus19-Aug-04 12:57 
GeneralGantt Chart Control Pin
ppp00119-Aug-04 8:31
ppp00119-Aug-04 8:31 
GeneralRe: Gantt Chart Control Pin
sreejith ss nair19-Aug-04 19:04
sreejith ss nair19-Aug-04 19:04 
Generalmulti-column tree control Pin
ppp00119-Aug-04 8:22
ppp00119-Aug-04 8:22 
GeneralRe: multi-column tree control Pin
Jay Shankar19-Aug-04 21:05
Jay Shankar19-Aug-04 21:05 

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.