Re: Re: RFE #833097

"Jerzy Kaczorowski" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.devel
Message-ID <[email protected]>
Hiroaki,

>You mean, like this?
>=============================================
>void CMainFrame::OnActivate(UINT nState, CWnd* pWndOther, BOOL
>bMinimized)
> (snip...)

Yes, something to that effect.

>I prefer ignoring completely...because modal is modal.
>Assuming people who are just writting commit logs,
>are they interest in file changes?

OK, let's replace a simple flag that marks foreground/background with
enumerated states:
enum{
    kAppBackground,
    kAppForeground,
    kAppModalLoop
}

Then we can see which way it working best and we can later add more states,
e.g. to temporarily stop refreshes using a menu option which was also
requested by someone...

>Though I have no experience using ReadDirectoryChangesW,
>if we can detect more details of changes when using it,
>it sounds ideal.

The problem with it is that it doesn't work on Win9x, so we will have to
keep the old watcher and the new one and run them depending on the OS type.
But if we have precise information about changes then it would not matter
that much whether we stop refresh because we could update individual files
instead of re-reading all files.

Best Regards,
Jerzy


 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/cvsgui-dev/

To unsubscribe from this group, send an email to:
 [email protected]

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.