简体   繁体   English

Windows Mobile GUI选项

[英]Windows Mobile GUI Options

I'm new to WinMo, and want to write a GUI application for a Windows Mobile Touch device. 我是WinMo的新手,并且想为Windows Mobile Touch设备编写GUI应用程序。

I'm familiar with C#/C++, although not with any GUI development, and am writing a GUI for an application with a large C++ codebase which I've already ported to the platform successfully. 我不熟悉C#/ C ++,尽管不熟悉任何GUI开发,并且正在为具有大型C ++代码库的应用程序编写GUI,而我已经将该库成功移植到了平台上。

What would you reccomend for someone who is familiar with ObjectiveC/Cocoa to ease the transition to Windows GUI development? 您对熟悉ObjectiveC / Cocoa的人有什么建议,以简化向Windows GUI开发的过渡?

Specifically: 1) What are the options? 具体来说:1)有哪些选择? Langauages/Frameworks/Toolkits + Pro's/Con's. 语言/框架/工具包+专业版/专业版。

2) What are the conventions? 2)有哪些约定? I guess I'm looking for something like the apple human interface guidelines for the iPhone. 我想我正在寻找类似iPhone的苹果人机界面指南。

3) Whats the best way to interface managed C# with unmanaged C++, pInvoke I assume? 3)我认为,将托管C#与非托管C ++接口的最佳方法是pInvoke?

Thanks 谢谢

I've used the WTL to create applications for a Smart Phone, as you end up with a small EXE with few (if any) dependencies. 我使用WTL为智能手机创建应用程序,因为您最终得到一个带有很少(如果有)依赖项的小型EXE。 Worth a look. 值得一看。

如果您的目标Windows移动设备具有opengl支持,请查看silvermoon

Regarding 2, http://msdn.microsoft.com/en-us/library/bb158602.aspx 关于2, http://msdn.microsoft.com/en-us/library/bb158602.aspx

I've not done too much with different frameworks on WinMob, so I'm not in the best position to comment on the other questions... 我在WinMob上使用不同的框架并没有做太多的事情,因此我无法在其他问题上发表评论。

1) For GUI design you can choose between C++/MFC and the .NET Compact Framework. 1)对于GUI设计,您可以在C ++ / MFC和.NET Compact Framework之间进行选择。 The recommended way of doing the UI (especially for a newcomer) is the .NET Compact Framework using C#. 推荐的执行UI的方法(特别是对于新手而言)是使用C#的.NET Compact Framework。 IDE support is great, the language and framework are very mature. IDE支持很棒,语言和框架都非常成熟。 It is almost like coding for a regular .NET platform. 几乎就像为常规.NET平台编码一样。

If you want to do an enterprise application .NET is fine for you. 如果您想做一个企业应用程序,那么.NET就适合您。 But to do an application for the mass market with quick response I don't think .NET could do it. 但是要快速响应为大众市场应用程序,我认为.NET无法做到。 I've seen some applications first done in .NET and then re-write in C++ because of performance issues. 由于性能问题,我已经看到一些应用程序首先在.NET中完成,然后在C ++中重新编写。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM