Desktop Functions: Smart Device Functions:
|
DwmExtendFrameIntoClientArea (dwmapi)
C# Signature:
[DllImport("dwmapi.dll")] VB.NET Signature:
<DllImport("dwmapi.dll")> _ User-Defined Types:VB.NET Signature:
<DllImport("dwmapi.dll")> _ Notes:Use the DwmIsCompositionEnabled function to determine whether Aero is enabled. User-Defined Types:Alternative Managed API:Download the 'VistaBridge Sample Library' from http://code.msdn.microsoft.com/VistaBridge once downloaded, open the project and then build it (if you want to look through all the code, examine the files in the \Library or \Interop folders). You can now take the DLL from VistaBridge\bin\debug\ and add a reference to it in your project, as well you must add a using statement for each of the different VistaBridge modules. For Example: using Microsoft.SDK.Samples.VistaBridge.Interop or .Library or .Properties or .Services - Depending on your needs. The VistaBridge project includes API's for many other Vista Features (such as the TaskDialog, Vista OpenFile and SaveFile Dialogs, and of course the Aero Glass Effects) to try these out, run the VistaBridge Project. Notes:Use the DwmIsCompositionEnabled function to determine whether Aero is enabled. Tips & Tricks:Please add some! Alternative Managed API:Download the 'VistaBridge Sample Library' from http://code.msdn.microsoft.com/VistaBridge once downloaded, open the project and then build it (if you want to look through all the code, examine the files in the \Library or \Interop folders). You can now take the DLL from VistaBridge\bin\debug\ and add a reference to it in your project, as well you must add a using statement for each of the different VistaBridge modules. For Example: using Microsoft.SDK.Samples.VistaBridge.Interop or .Library or .Properties or .Services - Depending on your needs. The VistaBridge project includes API's for many other Vista Features (such as the TaskDialog, Vista OpenFile and SaveFile Dialogs, and of course the Aero Glass Effects) to try these out, run the VistaBridge Project. Sample Code:Tips & Tricks:Please add some! Sample Code:Please add some! Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|