<< I may be wrong, but I believe that using the standard file routines will
send
the notification for you. It could be they don't but that the
GenDocumentControl object does. Of that I'm sure.
>>
After talking to Cami, he sent me on this track also. Apparently I was
overlooking the obvious and trying to overcomplicate the code.
Actually I was changing Geos Extended attributes, and when you use
FileSetPathExtAttributes, it does not send out a notification. This is when
I thought I needed how to use MSG_NOTIFY_FILE_CHANGE. Also I was trying to
learn how to use GCNs.
Anyways I've since found a way to cheat and force a message.
FileRename(name, name);
As both names are the same, nothing gets changed,. But Presto, Magico, it
sends out my needed notification to force programs to rescan.
...Sometimes you have to ask the question before the light turns on in the
head. :)