Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: 3 way byte merge Pin
jkohler23-Sep-10 7:40
jkohler23-Sep-10 7:40 
AnswerRe: 3 way byte merge Pin
englebart23-Sep-10 7:32
professionalenglebart23-Sep-10 7:32 
AnswerRe: 3 way byte merge Pin
JesperMadsen12323-Sep-10 8:32
JesperMadsen12323-Sep-10 8:32 
AnswerRe: 3 way byte merge Pin
starmerak23-Sep-10 20:47
starmerak23-Sep-10 20:47 
AnswerRe: 3 way byte merge Pin
oggenok6423-Sep-10 21:11
oggenok6423-Sep-10 21:11 
AnswerRe: 3 way byte merge Pin
englebart24-Sep-10 8:11
professionalenglebart24-Sep-10 8:11 
AnswerRe: 3 way byte merge Pin
Tim Yen26-Sep-10 14:35
Tim Yen26-Sep-10 14:35 
QuestionInstalling low level mouse hook in background thread Pin
PrefinMafin22-Sep-10 3:10
PrefinMafin22-Sep-10 3:10 
I'm using a low level mouse hook to track mouse movement and clicks.

Main window installs the hook on it's thread and everything works until that window has to do more demanding tasks (it can be emulated with Thread.Sleep(1000) ) which causes the mouse to freeze for the duration of the process.

I thought to fix this by initialising the hook on different thread.
MSDN ( http://msdn.microsoft.com/en-us/library/ms644986(VS.85).aspx ) says "This hook is called in the context of the thread that installed it. The call is made by sending a message to the thread that installed the hook. Therefore, the thread that installed the hook must have a message loop."

The problem is I don't know how to set up a callback loop on the background thread.

Any help is appreciated.
AnswerRe: Installing low level mouse hook in background thread Pin
Luc Pattyn22-Sep-10 3:22
sitebuilderLuc Pattyn22-Sep-10 3:22 
GeneralRe: Installing low level mouse hook in background thread Pin
PrefinMafin22-Sep-10 3:47
PrefinMafin22-Sep-10 3:47 
QuestionHow to enable in old application icon for windows 7 taskbar Pin
Chesnokov Yuriy22-Sep-10 2:37
professionalChesnokov Yuriy22-Sep-10 2:37 
AnswerRe: How to enable in old application icon for windows 7 taskbar Pin
Eddy Vluggen22-Sep-10 8:47
professionalEddy Vluggen22-Sep-10 8:47 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Chesnokov Yuriy22-Sep-10 9:43
professionalChesnokov Yuriy22-Sep-10 9:43 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Eddy Vluggen22-Sep-10 10:03
professionalEddy Vluggen22-Sep-10 10:03 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Chesnokov Yuriy22-Sep-10 19:11
professionalChesnokov Yuriy22-Sep-10 19:11 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Eddy Vluggen23-Sep-10 11:51
professionalEddy Vluggen23-Sep-10 11:51 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Chesnokov Yuriy23-Sep-10 19:06
professionalChesnokov Yuriy23-Sep-10 19:06 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Eddy Vluggen23-Sep-10 20:34
professionalEddy Vluggen23-Sep-10 20:34 
GeneralRe: How to enable in old application icon for windows 7 taskbar Pin
Chesnokov Yuriy23-Sep-10 20:45
professionalChesnokov Yuriy23-Sep-10 20:45 
QuestionKeeping track of classes and namespaces Pin
Smon the Vidd22-Sep-10 2:33
Smon the Vidd22-Sep-10 2:33 
AnswerRe: Keeping track of classes and namespaces Pin
Luc Pattyn22-Sep-10 2:59
sitebuilderLuc Pattyn22-Sep-10 2:59 
AnswerRe: Keeping track of classes and namespaces Pin
T M Gray22-Sep-10 4:43
T M Gray22-Sep-10 4:43 
AnswerRe: Keeping track of classes and namespaces Pin
Abhinav S22-Sep-10 6:37
Abhinav S22-Sep-10 6:37 
AnswerRe: Keeping track of classes and namespaces Pin
Eddy Vluggen22-Sep-10 8:45
professionalEddy Vluggen22-Sep-10 8:45 
Questionin C# databinding with windows control Pin
trivedijignesh22-Sep-10 2:27
trivedijignesh22-Sep-10 2:27 

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.