Click here to Skip to main content
15,884,933 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionI want to attach my window to the parent window so that on resizing or minimizing the parent window, the child window should be resized and moved appropriately Pin
manoharbalu23-Dec-09 18:30
manoharbalu23-Dec-09 18:30 
AnswerRe: I want to attach my window to the parent window so that on resizing or minimizing the parent window, the child window should be resized and moved appropriately Pin
Richard MacCutchan23-Dec-09 22:20
mveRichard MacCutchan23-Dec-09 22:20 
Questionhow to disable keyboard accelerators temporarily in a mdi application Pin
Prasann Mayekar23-Dec-09 17:04
Prasann Mayekar23-Dec-09 17:04 
AnswerRe: how to disable keyboard accelerators temporarily in a mdi application Pin
Adam Roderick J23-Dec-09 17:23
Adam Roderick J23-Dec-09 17:23 
QuestionFindFirstChangeNotification Pin
Still learning how to code23-Dec-09 11:20
Still learning how to code23-Dec-09 11:20 
AnswerRe: FindFirstChangeNotification Pin
Garth J Lancaster23-Dec-09 13:19
professionalGarth J Lancaster23-Dec-09 13:19 
GeneralRe: FindFirstChangeNotification Pin
Still learning how to code23-Dec-09 22:23
Still learning how to code23-Dec-09 22:23 
GeneralRe: FindFirstChangeNotification Pin
Garth J Lancaster23-Dec-09 22:38
professionalGarth J Lancaster23-Dec-09 22:38 
I thought of 2 possibilities 'a bit better' than comparing ftp listings

Both really depend on how many files/events you are looking for - one might work for instance with creation of a particular file or a 'low volume' change system than the other - what about :-

1) use FindFirstChangeNotification on the machine you are watching, but add the [possibly filtered] events to a log file ... everytime you ftp from the 'monitoring machine', you grab the log file and erase it

2) use a tcp pub/sub system, the monitored machine publishes [again, possibly filtered] events from FindFirstChangeNotification to subscriber(s) - the monitor machine(s) 'subscribe' to particular events composing of {source machine name, add/change/delete, file(s)} for example - a lot more work, but extensible and applicable to multiple machines you might want to monitor from

not much I know

'g'
AnswerRe: FindFirstChangeNotification Pin
Garth J Lancaster23-Dec-09 23:02
professionalGarth J Lancaster23-Dec-09 23:02 
GeneralRe: FindFirstChangeNotification Pin
Still learning how to code24-Dec-09 3:49
Still learning how to code24-Dec-09 3:49 
GeneralRe: FindFirstChangeNotification Pin
Garth J Lancaster24-Dec-09 11:04
professionalGarth J Lancaster24-Dec-09 11:04 
GeneralRe: FindFirstChangeNotification Pin
Still learning how to code24-Dec-09 20:27
Still learning how to code24-Dec-09 20:27 
QuestionWindows coordinate system different in US and European version Pin
Denny10123-Dec-09 11:02
Denny10123-Dec-09 11:02 
AnswerRe: Windows coordinate system different in US and European version Pin
Nelek23-Dec-09 23:30
protectorNelek23-Dec-09 23:30 
GeneralRe: Windows coordinate system different in US and European version Pin
Denny10125-Dec-09 9:45
Denny10125-Dec-09 9:45 
GeneralRe: Windows coordinate system different in US and European version Pin
Nelek27-Dec-09 22:16
protectorNelek27-Dec-09 22:16 
GeneralRe: Windows coordinate system different in US and European version Pin
Denny1013-Jan-10 10:22
Denny1013-Jan-10 10:22 
GeneralRe: Windows coordinate system different in US and European version Pin
Nelek3-Jan-10 21:19
protectorNelek3-Jan-10 21:19 
Questionfstream quirkiness using various open modes Pin
Alan Kurlansky23-Dec-09 8:56
Alan Kurlansky23-Dec-09 8:56 
AnswerRe: fstream quirkiness using various open modes Pin
rp_suman23-Dec-09 9:56
rp_suman23-Dec-09 9:56 
Questioncombobox notification before changing selection Pin
rp_suman23-Dec-09 8:20
rp_suman23-Dec-09 8:20 
AnswerRe: combobox notification before changing selection Pin
Abhi Lahare23-Dec-09 10:26
Abhi Lahare23-Dec-09 10:26 
QuestionHow to enable DefaultIcon immediately after setting in Registry? Pin
hawkgao012923-Dec-09 5:14
hawkgao012923-Dec-09 5:14 
AnswerRe: How to enable DefaultIcon immediately after setting in Registry? Pin
Abhi Lahare23-Dec-09 7:23
Abhi Lahare23-Dec-09 7:23 
AnswerRe: How to enable DefaultIcon immediately after setting in Registry? Pin
hawkgao012923-Dec-09 18:11
hawkgao012923-Dec-09 18:11 

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.