最适合GUI书籍程序的语言 [英] Most suitable language for GUI book program

查看:125
本文介绍了最适合GUI书籍程序的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想写一个简单的(没有太花哨的)GUI程序,它从DB读取数据并将其呈现给用户。

用户可以浏览数据,使用子串过滤数据并按下文本中的链接。



所以基本上它应该看起来像一个电话簿。



我开始在带有ListCtrl的MFC上做但是:



1.它的丑陋(大方块)控制台)

2.我在浏览列表中的数据时遇到问题



我的问题是哪种语言最适合这种语言任务?有没有人有类似的书程序我可以作为参考?



非常感谢,

tom。

Hi All,

I want to write a simple (no too fancy) GUI program which reads data from DB and present it to the user.
the user can browse the data , filter data using substrings and press links in the text.

So basically it should look like a "phonebook".

I started to do it on MFC with ListCtrl but :

1. Its ugly (big square console)
2. I'm having trouble browsing the data in the list

My question is what language is most suitable for this kind of task ? does anyone have a similar "book" program I can use as reference ?

thanks a lot,
tom.

推荐答案

语言取决于你:你知道什么?如果你从来没有使用它,那么建议WPF没有意义,因为学习曲线太陡,无法在合理的时间范围内使项目可行,尽管事实上它可能是漂亮方面的最佳。



所以真的,我们无法回答:如果你只知道C ++ / MFC那么你就是这样 - 除非你准备投资 很多 学习新语言和工作环境的时间和精力 - 没有任何替代方案与MFC的工作方式有任何相似之处!
"Language" depends on you: what do you know? There is not point in suggesting WPF if you have never used it as the learning curve is too steep to make it viable for the project in a reasonable time frame, despite the fact that it's probably the "Best" in terms of "prettiness".

So really, we can't answer: If you only know C++/MFC then that is what you go for - unless you are prepared to invest a lot of time and effort in learning a new language and working environment - none of the alternatives are in any way similar to how MFC works!


你问题的关键部分是简单和不太花哨。其他人可能不同意我,但如果是我,我会使用VB6。它仍然广泛用于此类任务,并且互联网上提供了大量信息。



如果这对你来说太旧了,那么请检查.Net,如果我必须使用那些东西,我更喜欢VB.Net,因为我以前的经历但它并不是真的最后的问题(C#,vb等)。我通过编写一个小型数据库工具学习了VB.Net,这很好(虽然新的数据访问对象与原始的ADO相比很糟糕)。



我个人更喜欢MFC和ADO用于数据库前端,但正如上面所述的OrigionalGriff,需要花费大量时间来学习。



您可以轻松地使.Net前端看起来不错,但最终它看起来总是像.Net应用程序。股票MFC列表控件看起来确实很糟糕,但是当你自己绘制它时,最终结果可能非常好,但是再次回到合理的时间范围。



祝你好运
The key parts of your question were "simple" and "no too fancy". Other people may disagree with me but if it was me I would use VB6. It is still widely used for such tasks and there is a wealth of information available on the internet.

If that is too old for you then check into .Net, if I have to use that stuff I prefer VB.Net because of my previous experiences but it doesnt really matter in the end (C#, vb, etc). I learned VB.Net by writing a small DB tool and it was nice (although the new data access objects suck compared to the original ADO).

I personally prefer MFC w ADO for database front ends but as OrigionalGriff stated above, it will take allot of time to learn.

You can make .Net front ends look decent with little effort but in the end it will always look like a .Net application. The stock MFC list control does look horrible but when you draw it yourself the end result can be very nice, but again, back to "reasonable time frame".

good luck


据我所知,最合适的语言是C ++。



它的丑陋(大方形控制台) - 你可以使用功能区,如果你想给你的应用程序看一下。

参考: Windows 7 Goodies in C ++:功能区简介 [ ^ ] br />
C ++功能区,第1部分:简介到Windows功能区框架 [ ^ ]



我在浏览列表中的数据时遇到问题 - 你可以使用以下l isted controls

网格控制 [ ^ ]

SuperGrid - 又一个listview控件 [ ^ ]
According to me most suitable language is C++.

Its ugly (big square console) - You can use Ribbon, if want to give fancy look to your application.
Ref : Windows 7 Goodies in C++: Introduction to the Ribbon[^]
Ribbon with C++, Part 1: Introduction to the Windows Ribbon Framework[^]

I'm having trouble browsing the data in the list - You can use following listed controls
The Grid Control[^]
SuperGrid - Yet Another listview control[^]


这篇关于最适合GUI书籍程序的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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