如何使用 XAML for GUI 创建 C++(/CX ?) _DESKTOP_ Windows 8 应用程序? [英] How may I create a C++(/CX ?) _DESKTOP_ Windows 8 application using XAML for GUI?

查看:31
本文介绍了如何使用 XAML for GUI 创建 C++(/CX ?) _DESKTOP_ Windows 8 应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 XAML(及其可视化编辑器)为 GUI 创建 C++(可能需要/CX 扩展名)桌面 Windows 8 应用程序?明确地说,不是创建 Windows 商店应用程序,我的意思是类似于使用普通的 C++ 和 Qt(使用 Designer).

how may I create a C++ (maybe requiring /CX extension) desktop Windows 8 application using XAML (and its visual editor) for the GUI? To be explicit NOT creating a Windows store application, I mean, something similar to using plain C++ and Qt (with Designer).

推荐答案

Windows 桌面和 Windows App Store 本质上是不兼容的目标环境.没有适用于 C++ 的桌面 XAML(即 WPF)项目类型.

Windows Desktop and Windows App Store are essentially incompatible target environments. There is no desktop XAML (i.e. WPF) project type for C++.

您的选择是:

  1. 使用 WinForms 与设计师一起创建 C++/CLI 桌面应用
  2. 使用 MFC 与设计师一起创建本机 C++ 桌面应用
  3. 使用本机 Win32 调用创建本机 C++ 桌面应用程序没有设计师

这篇关于如何使用 XAML for GUI 创建 C++(/CX ?) _DESKTOP_ Windows 8 应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆