Why do you want to make your desktop application "web-based", instead of using a framework that renders without the need of a browser?
These features are not easy to achieve without using the native toolkit for each platform, or bundling a monolithic cross-platform framework.