Coder Social home page Coder Social logo

lorenzck / windowsformsaero Goto Github PK

View Code? Open in Web Editor NEW
60.0 8.0 14.0 929 KB

A Windows Forms library that provides common controls with many of the modern features introduced with Vista and more recent Windows versions.

License: Other

C# 100.00%
windows-forms windows-vista windows-7 dotnet

windowsformsaero's Introduction

WindowsFormsAero logo

WindowsFormsAero

WindowsFormsAero is a Windows Forms library that provides native controls with many of the modern features introduced with Windows Vista and more recent Windows versions. Many controls—such as buttons, command buttons, and textboxes—support the functional and stylistic features introduced with “Aero”. For instance shield icons, cue banners, and so on.

WindowsFormsAero was started by Marco Minerva in January 2007 and was initially hosted on Codeplex.

The WindowsFormsAero icon has been kindly provided by Enner Pérez.

Download

NuGet

Get the latest version through NuGet:

Install-Package Windows-Forms-Aero

Version history

3.1.1

3.1

  • Add support for additional DWM window attributes (DWMWA_CLOAKED and DWMWA_FREEZE_REPRESENTATION).
  • Add support for public Virtual Desktop APIs (Windows 10).

3.0.1

  • Add simple StoreAppHelper.IsRunningAsStoreApp() helper to check whether a program is running as a packaged Windows Store app.
  • Add .NET 4.0 support.
  • Add XML documentation to NuGet.

3.0

First release after migration to GitHub.

  • Breaking changes from v2.*.
  • Major code refactoring and clean up.
  • Minor memory leaks fixed.
  • Progress bars now correctly change state.

Contributors

windowsformsaero's People

Contributors

blakepell avatar lorenzck avatar magicandre1981 avatar marcominerva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

windowsformsaero's Issues

Add Vista common dialogs

It would be nice to have an easy way to access the new Vista common dialogs.
Ookii.org has a very nice implementation that automatically chooses a compatible version of the dialog to show (even on non-Vista systems).

Change message WParam and LParam properties to IntPtr for x64 support

Hello,
First, I'd like to thank you for your library. I've been using it for some time with great success.

Recently I changed all of my WinForms applications to 64-bit versions.
After that TaskDialogs stopped working.
Showing of a simple dialog still works, but you can't change any of the properties of a dialog that is already shown. Application is failing with System.OverflowException.

I tracked the problem to windows message loop procedure and message class itself.
Currently Message class has WParam and LParam properties defined as int (32bit) and that is causing problems.

Setting a new property value actually sends new windows message, so for example:
There is a Message class constructor that takes string as a parameter.
It uses Marshal runtime to get a pointer (IntPtr) to character data and it tries to assing that value to LParam - which is 32bit int. That results in an overflow exception.

It seems that the problem is easily solved by changing type of WParam and LParam properties to IntPtr - a type whose size is platform dependent, just like the underlying WPARAM and LPARAM types from WinAPI.

Please take a look at the following changes that I made:
https://github.com/pziezio/WindowsFormsAero/commit/0a4cef194d40760f58e10427e1bb8b41c5b0d854#diff-3d7d9b2fdd0df5be3ed6890538248201

I could submit a pull request for this change, but I don't have any experience with creating configuration for multi-platform NuGet packages and I don't know how a new package configuration should look.

Best regards
Piotr Zięzio

Provide a TaskDialog fallback for XP

TaskDialog calls should be redirected to a custom class that mimics the behavior and appearance of Vista’s Task Dialogs for previous Windows versions (and/or other OSs).

.NetCore 3.1 support

Can you please add .net core 3.1 support, I get this warning:

warning NU1701: Package 'Windows-Forms-Aero 3.1.1' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

I noticed that ContextMenu is not available for .net core 3.1 which is used in SplitButton and needs to be removed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.