如何制作一个非常复杂的GUI [英] how to make a very complicated GUI
问题描述
嗨 - 我开始考虑做一些我认为将会非常困难的事情。理想情况下我想在C中这样做,因为那是我最擅长的。我可以处理C ++,但我并不特别喜欢这种语言的b / b
。我在Javascript,HTML,
和CSS方面也有丰富的经验。我曾经做了很多Visual Basic 6,虽然它已经有一段时间了。
这里列出了我希望能够包含所有的内容一个屏幕:
-双向串行通信(使用串口)(绝对
基本功能)
-必须在Windows上工作,Linux会很棒,但不是必需的
-能够在一些
排序的三维领域绘制飞机,点,线等。这不是绝对必要的,但是真的很不错
-在程序中嵌入网页的能力。具体来说,我想
有嵌入在应用程序中的谷歌地图。我还需要完成
谷歌地图和程序之间的一些通信 - 它不会是
静态。
-所有类型的输入的东西 - 按钮,滑动条等。
-文本反馈的数量,图形的能力会很好等等。
我有一个巨大的C编程经验的数量,但我所做的一切
要么从命令行运行,要么在嵌入式系统上运行。
从未使用GUI做过任何事情,除非是我做了一些VB6应用程序。
有关如何完成任何此操作的任何建议吗?如果可能的话我会想要用C语言完成这一切。目前,我在Linux系统上通过SSH或通过Cygwin编译我所有的C $ / b
程序在我的
自己的系统上。因此,据我所知,我从来没有为本机窗口编译一个C $ / $
程序。
谢谢!
-Mike
nl ****** @ gmail.com 写道:
嗨 - 我开始考虑做一些我认为会做的事情这是非常困难的
。理想情况下我想在C中这样做,因为那是我最擅长的。我可以处理C ++,但我并不特别喜欢这种语言的b / b
。我在Javascript,HTML,
和CSS方面也有丰富的经验。我曾经做了很多Visual Basic 6,虽然它是一个
而且。
这里有我要点的清单喜欢能够在一个屏幕中包含所有内容: - 两种方式串行通信(使用串口)(绝对
基本功能)
- 在Windows上工作,Linux会很棒但不是必需的
-在三维字段中绘制飞机,点,线等的能力
排序。这不是绝对必要的,但是真的很不错
-在程序中嵌入网页的能力。具体来说,我希望
将谷歌地图嵌入应用程序中。我还需要
完成谷歌地图和程序之间的一些沟通 -
它不会是静态的。
-所有类型的输入的东西 - 按钮,滑动条等。
-文本反馈的数量,图形的能力会很好等等。
我有一个巨大的C编程经验的数量,但我所做的一切
要么从命令行运行,要么在嵌入式系统上运行。
从未使用GUI做过任何事情,除非是我做了一些VB6应用程序。
有关如何完成任何此操作的任何建议吗?如果可能的话我会想要用C语言完成这一切。目前,我在Linux系统上通过SSH或通过Cygwin编译我所有的C $ / b
程序在我的
自己的系统上。因此,据我所知,我从来没有为本机窗口编译一个C $ / $
程序。
你应该问一下microsoft.public ....不在这里。
您还可以考虑/前端/您在VB中的应用程序然后在C中编写任何需要它的后端内容[编译为DLL]
-
== ============
不是学生
==============
pemo说:
nl **** **@gmail.com 写道:
< snip>
>>
- 必须在Windows上运行,Linux会很棒但不是必需的
< snip>
>>
我有大量的C编程经验,但我所做的一切
可以从命令行运行,也可以在嵌入式系统上运行。
除了我做了一些VB6应用程序之外,从未对GUI做任何事情。
有关如何完成任何操作的任何建议这个?如果可能的话我希望这一切都在C中完成。
< snip>
>
你应该问一下microsoft.public ....不在这里。
不在这里?同意。但为什么是微软集团?
你也可以在VB中考虑/前置/你的应用程序,然后写下任何后端的东西需要它在C [编译为DLL]
哦,天哪没有。特别是如果他希望它也能在Linux上运行(他将这个b $ b提到是一个很好的产品)。
更好的选择:
* GTK +(允许他在C中工作)
* C ++ Builder(在Linux下也称为Kylix)
*哎呀,甚至Qt!
不,我不是反VB,或者可能更准确地说我是
远远少于反VB比大多数反VB的人;对于OP的情况,我认为这是错误的
解决方案。
-
Richard Heathfield
Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk
电子邮件:rjh在上面的域名(但显然放弃了www)
Richard Heathfield写道:
< blockquote class =post_quotes>
pemo说:
> nl ****** @ gmail.com 写道:
< snip>
>>>
- 必须在Windows上运行,Linux会很棒但不是必需的
< snip>
>>>
我有大量的C编程经验,但我所做的一切> do可以从命令行运行,也可以在嵌入式系统上运行。除了我做了一些
VB6应用程序之外,从未使用GUI做任何事情。
关于如何完成任何这些的任何建议?如果可能的话,我希望这一切都在C中完成。
< snip>
>>
你应该问一下microsoft.public ....不在这里。
不在这里?同意。但为什么是微软集团呢?
True - 任何win32 / gdi相关组都适合Windows - 或任何OpenGL
类型的东西,如果'Linux将是很棒''/公司/。
< snip>
-
==== ==========
不是学生
==============
Hi - I am starting to look at doing something that I think will be
amazingly difficult. I ideally would like to do this in C, as that is
what I am best in. I can handle C++ but I am not particuarly fond of
that language. I also have extensive experience with Javascript, HTML,
and CSS. I used to do alot of Visual Basic 6, though it''s been a while.
Here''s a list of what I''d like to be able to include all in one screen:
-two way serial communication (using serial ports) (absolutely
essential feature)
-must work on Windows, Linux would be great but not essential
-ability to graph planes, points, lines, etc. in a 3-D field of some
sort. This isn''t absolutely essential but would be really really nice
-ability to embed a webpage within the program. Specifically, I want to
have google maps embedded in the application. I also need to accomplish
some communication between google maps and the program - it won''t be
static.
-all sorts of input things - buttons, slider bars, etc.
-lots of text feedback, the ability to graph would be great, etc.
I have a huge amount of C programming experience, but everything I do
is either run from a command line or is run on an embedded system.
Never done anything with a GUI except for when I did some VB6 apps.
Any suggestions on how to accomplish any of this? If at all possible I
want to have this all be done in C. Currently, I compile all my C
programs either through SSH on a linux system, or through Cygwin on my
own system. Thus I''ve never even, as far as I know, compiled a C
program for native windows.
Thanks!
-Mike
nl******@gmail.com wrote:Hi - I am starting to look at doing something that I think will be
amazingly difficult. I ideally would like to do this in C, as that is
what I am best in. I can handle C++ but I am not particuarly fond of
that language. I also have extensive experience with Javascript, HTML,
and CSS. I used to do alot of Visual Basic 6, though it''s been a
while.
Here''s a list of what I''d like to be able to include all in one
screen: -two way serial communication (using serial ports) (absolutely
essential feature)
-must work on Windows, Linux would be great but not essential
-ability to graph planes, points, lines, etc. in a 3-D field of some
sort. This isn''t absolutely essential but would be really really nice
-ability to embed a webpage within the program. Specifically, I want
to have google maps embedded in the application. I also need to
accomplish some communication between google maps and the program -
it won''t be static.
-all sorts of input things - buttons, slider bars, etc.
-lots of text feedback, the ability to graph would be great, etc.
I have a huge amount of C programming experience, but everything I do
is either run from a command line or is run on an embedded system.
Never done anything with a GUI except for when I did some VB6 apps.
Any suggestions on how to accomplish any of this? If at all possible I
want to have this all be done in C. Currently, I compile all my C
programs either through SSH on a linux system, or through Cygwin on my
own system. Thus I''ve never even, as far as I know, compiled a C
program for native windows.You should ask in something microsoft.public.... not here.
You could also consider /fronting/ your application in VB and then write any
back-end stuff that requires it in C [compiled as DLLs]
--
==============
Not a pedant
==============
pemo said:
nl******@gmail.com wrote:<snip>
>>
-must work on Windows, Linux would be great but not essential
<snip>
>>
I have a huge amount of C programming experience, but everything I do
is either run from a command line or is run on an embedded system.
Never done anything with a GUI except for when I did some VB6 apps.
Any suggestions on how to accomplish any of this? If at all possible I
want to have this all be done in C.
<snip>
>
You should ask in something microsoft.public.... not here.Not here? Agreed. But why a Microsoft group?
You could also consider /fronting/ your application in VB and then write
any back-end stuff that requires it in C [compiled as DLLs]Oh good heavens no. Especially if he wants it to run on Linux too (which he
mentions as a nice-to-have).
Far better choices:
* GTK+ (which allows him to work in C)
* C++ Builder (aka Kylix when under Linux)
* Heck, even Qt!
No, I''m not anti-VB, or perhaps it would be more accurate to say that I am
far less anti-VB than most anti-VB people; I just think it''s the wrong
solution for the OP''s circumstances.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
Richard Heathfield wrote:pemo said:
>nl******@gmail.com wrote:<snip>
>>>
-must work on Windows, Linux would be great but not essential
<snip>
>>>
I have a huge amount of C programming experience, but everything I
do is either run from a command line or is run on an embedded
system. Never done anything with a GUI except for when I did some
VB6 apps.
Any suggestions on how to accomplish any of this? If at all
possible I want to have this all be done in C.
<snip>
>>
You should ask in something microsoft.public.... not here.
Not here? Agreed. But why a Microsoft group?True - any win32/gdi related group would be good for Windows - or any OpenGL
type thing if the ''Linux would be great'' /firms up/.
<snip>
--
==============
Not a pedant
==============
这篇关于如何制作一个非常复杂的GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!