Click here to Skip to main content
16,016,301 members
Home / Discussions / C#
   

C#

 
AnswerRe: Video File Manipulation Pin
jphuphilly11-Oct-05 11:24
jphuphilly11-Oct-05 11:24 
QuestionGet Previous Window Handle? Pin
Kasdoffe10-Oct-05 11:24
Kasdoffe10-Oct-05 11:24 
AnswerRe: Get Previous Window Handle? Pin
S. Senthil Kumar10-Oct-05 15:25
S. Senthil Kumar10-Oct-05 15:25 
GeneralRe: Get Previous Window Handle? Pin
Kasdoffe11-Oct-05 2:16
Kasdoffe11-Oct-05 2:16 
GeneralRe: Get Previous Window Handle? Pin
Dave Kreskowiak11-Oct-05 4:47
mveDave Kreskowiak11-Oct-05 4:47 
GeneralRe: Get Previous Window Handle? Pin
12-Oct-05 3:08
suss12-Oct-05 3:08 
GeneralRe: Get Previous Window Handle? Pin
Dave Kreskowiak12-Oct-05 11:51
mveDave Kreskowiak12-Oct-05 11:51 
GeneralRe: Get Previous Window Handle? Pin
Kasdoffe13-Oct-05 5:47
Kasdoffe13-Oct-05 5:47 
I couldn't seem to get that to work.

However, I did find another solution. I found a class that receives all mouse and keyboard events from the system.

I hooked up a couple events and now my program is told when someone clicks the mouse or presses a key. Then I just GetForeGroundWindow to get the active window and change the IntPtr my program is using to know what has focus.

Works great!
QuestionPerformance of Win service process with multiple services Pin
Eugenio Lysei Junior10-Oct-05 10:12
Eugenio Lysei Junior10-Oct-05 10:12 
GeneralRe: Performance of Win service process with multiple services Pin
Andy Brummer10-Oct-05 11:09
sitebuilderAndy Brummer10-Oct-05 11:09 
QuestionDisplay a image on a Button with button.FlatStyle = FlatStyle.System Pin
miah alom10-Oct-05 10:09
miah alom10-Oct-05 10:09 
AnswerRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
XRaheemX10-Oct-05 10:12
XRaheemX10-Oct-05 10:12 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
miah alom10-Oct-05 10:15
miah alom10-Oct-05 10:15 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
XRaheemX10-Oct-05 11:30
XRaheemX10-Oct-05 11:30 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
miah alom11-Oct-05 3:30
miah alom11-Oct-05 3:30 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
XRaheemX11-Oct-05 3:40
XRaheemX11-Oct-05 3:40 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
miah alom11-Oct-05 3:46
miah alom11-Oct-05 3:46 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
XRaheemX11-Oct-05 3:51
XRaheemX11-Oct-05 3:51 
AnswerRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
Andy Moore10-Oct-05 16:01
Andy Moore10-Oct-05 16:01 
GeneralRe: Display a image on a Button with button.FlatStyle = FlatStyle.System Pin
miah alom11-Oct-05 3:29
miah alom11-Oct-05 3:29 
QuestionSimple Data Binding Pin
budidharma10-Oct-05 8:51
budidharma10-Oct-05 8:51 
AnswerRe: Simple Data Binding Pin
XRaheemX10-Oct-05 8:57
XRaheemX10-Oct-05 8:57 
AnswerRe: Simple Data Binding Pin
S. Senthil Kumar10-Oct-05 15:27
S. Senthil Kumar10-Oct-05 15:27 
QuestionDynamic DropDownList C# ASP.NET Pin
TheMajorRager10-Oct-05 8:36
TheMajorRager10-Oct-05 8:36 
AnswerRe: Dynamic DropDownList C# ASP.NET Pin
Christian Graus10-Oct-05 8:39
protectorChristian Graus10-Oct-05 8:39 

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.