Click here to Skip to main content
15,920,503 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Removing Items From A Listbox Pin
Tom Archer23-May-05 2:58
Tom Archer23-May-05 2:58 
GeneralRe: Removing Items From A Listbox Pin
ThatsAlok23-May-05 3:03
ThatsAlok23-May-05 3:03 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 3:08
[d3m0n]23-May-05 3:08 
GeneralRe: Removing Items From A Listbox Pin
lynchspawn23-May-05 4:11
lynchspawn23-May-05 4:11 
GeneralRe: Removing Items From A Listbox Pin
Jack Puppy23-May-05 4:06
Jack Puppy23-May-05 4:06 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 4:23
[d3m0n]23-May-05 4:23 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 4:43
David Crow23-May-05 4:43 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 4:46
[d3m0n]23-May-05 4:46 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 5:03
David Crow23-May-05 5:03 
GeneralRe: Removing Items From A Listbox Pin
[d3m0n]23-May-05 5:07
[d3m0n]23-May-05 5:07 
GeneralRe: Removing Items From A Listbox Pin
David Crow23-May-05 5:27
David Crow23-May-05 5:27 
GeneralReceiving SMS on PocketPC Pin
anevemkz23-May-05 2:21
anevemkz23-May-05 2:21 
Generalsockets vs file-dropoff Pin
Tom Archer23-May-05 1:38
Tom Archer23-May-05 1:38 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:00
ThatsAlok23-May-05 2:00 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 2:05
Tom Archer23-May-05 2:05 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:22
ThatsAlok23-May-05 2:22 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 2:30
Tom Archer23-May-05 2:30 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 2:36
ThatsAlok23-May-05 2:36 
GeneralRe: sockets vs file-dropoff Pin
Ryan Binns23-May-05 4:06
Ryan Binns23-May-05 4:06 
Tom Archer wrote:
I know this works with .NET, but have never tried it with native code

It's a bit different but not too difficult. The main difference is that the FindFirstChangeNotification() function returns a handle that can be waited on with WaitForSingleObject() or WaitForMultipleObjects(). When the handle is signalled, you call ReadDirectoryChanges() to get the changes that have been made. Generally you would run this in a separate thread and signal your main thread when a change has been made.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 13:38
Tom Archer23-May-05 13:38 
GeneralRe: sockets vs file-dropoff Pin
ThatsAlok23-May-05 17:33
ThatsAlok23-May-05 17:33 
GeneralRe: sockets vs file-dropoff Pin
Ryan Binns23-May-05 4:12
Ryan Binns23-May-05 4:12 
GeneralRe: sockets vs file-dropoff Pin
Tom Archer23-May-05 13:37
Tom Archer23-May-05 13:37 
GeneralUse Enter key in Edit box Pin
suncertification23-May-05 1:22
susssuncertification23-May-05 1:22 
GeneralRe: Use Enter key in Edit box Pin
toxcct23-May-05 1:27
toxcct23-May-05 1: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.