2011-11-30 40 views
1

你會發現TortoiseSVN的1.7.0(在Windows 7)顯示了這樣一個窗口:TortoiseSVN使用DirectUIHWND?

TortoiseSVN 

(!) Upgrade working copy 

    This will upgrade your working copy to the new 1.7 format and make it unusable for older clients. 

    -> Upgrade the working copy 
    to the new 1.7 format. 

    -> Cancel 
    keep the current format. 

,或者恢復被刪除的文件:

TortoiseSVN 

(!) Confirm revert 

    Do you want to revert 'AboutDlg.cpp'? 

    All changes since the last update will be lost! 

    -> Revert 
     All changes will be lost. 

    -> Cancel 
     Leave all changes. 

微軟間諜++說,這是子窗口類是DirectUIHWND!這不是一個無證的祕密技術嗎?

我在哪裏可以找到TortoiseSVN源代碼集中DirectUIHWND的代碼/用法?

注:

我發現.POT文件中的文本。 msgstr「上次更新後的所有更改都將丟失!」#:。msgstr「上次更新後的所有更改都將丟失!」#:。

http://tortoisesvn.googlecode.com/svn/trunk/Languages/TortoiseUI.pot

他們如何使用?

回答

0

CTaskDialog可以做到這一點,因此檢查MSDN參考:

http://msdn.microsoft.com/en-us/library/dd293651.aspx

CTaskDialog似乎Microsoft基礎類的Visual Studio 2010的一部分。

CTaskDialog使用率在WcUpgradeCommand.h發現。

http://tortoisesvn.googlecode.com/svn/trunk/src/TortoiseProc/Commands/WcUpgradeCommand.h

EDITED:錯誤的鏈接

+0

[TaskDialog其實功能](http://msdn.microsoft.com/en-us/library/windows/desktop/bb760540(V = VS.85)。 aspx)將會執行CTaskDialog。因此,DirectUIHWND仍然是祕密技術! – kenjiuno