除此以外,别无一例外。
UPDATE:
This probem had to do with side by side assemblies: these functions are present only in comctl32.dll version 6, but, for compatibility reasons, Vista will load an earlier version unless you tell it otherwise. The approach most people (including me) have been taking is to use a manifest. This has proven to be tricky, and may not be the right solution anyway, especially if what you re writing is a library: you don t necessarily want to force the entire application to use common controls 6.
正确的解决办法是推动“ 。 启动环境将使用正确版本的编号32.dll,而只剩下其余部分申请,不需要明确。
幸运的是,这很容易做到。 http://support.microsoft.com/kb/830033“rel=“noreferer” MS Knowledgebase。 该条中的法典(KB 830033)是trick的。
Alternative Managed API:
A full wrapper for Vista s TaskDialog & TaskDialogIndirect can be found here:
http://code.msdn.icrosoft.com/WindowsAPICodePack
供世界森林论坛使用:
页: 1 一旦下载,该项目就会开放,然后加以建设(如果你想通过所有法典来审查图书馆或Interop文件夹中的档案)。 您现在可以从VistaBridgeindebug中拿到DL,并在你的项目中添加提及该DL的内容,而且你还必须用VistaBridge各单元的发言添加一个内容。 例:
利用Microsoft.SDK.Samples.VistaBridge.Interop或 .Library or .Properties or . Services - 视你们的需要而定。
VistaBridge项目包括许多其他Vistaites(如特工、Vista OpenFile和S SaveFile Dialogs,以及当然还有Aero玻璃效应)的APICS,以尝试这些节目,管理VistaBridge项目。