Using WinAPI functions in C#
I want to get messages posted by a button control using a thread while the program continue the execution of another process.This process should be ended while the user clicks the button.This process is a file reading process.At least process should read the file which is started to be read,but shouldn't read any more files when the button is clicked.
I import the user32.dll and I used WinAPI GetMessage function but it didn't work.Can anyone help me?
Thanks in advance...

spgilmoreRank #1,616 · 964 reputationPosted Dec 22, 2003, 10:21 AM EST
sakyildiz12 reputationPosted Dec 22, 2003, 9:05 PM EST
spgilmoreRank #1,616 · 964 reputationPosted Dec 29, 2003, 12:55 PM EST
sakyildiz12 reputationPosted Dec 31, 2003, 1:25 AM EST
spgilmoreRank #1,616 · 964 reputationPosted Jan 12, 2004, 7:12 AM EST