MFC登录对话框问题 [英] MFC Login Dialog Problem

查看:75
本文介绍了MFC登录对话框问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Visual c ++的新手,我正在使用Visual c ++ 6.0,请帮助我为我的视频会议程序生成一个登录对话框...

有人可以帮我吗?

视频会议系统是我的4个论文的课题...

我别无选择,只能这样做,否则我将无法毕业...
:(

i''m new to visual c++ and i''m using visual c++ 6.0 pls help me to generate a login dialog box for my video conference program...

can someone help me?

video conference system is the project given o me 4 my thesis...

i have no choice but to do it otherwise i won''t graduate...
:(

推荐答案

如果您尝试尝试,并对所遇到的问题发表评论,将会获得更多帮助.

使用编辑器和向导可以很容易地创建对话框.做一个,插入2编辑框进行数据输入,并单击一个按钮进行登录.在编辑框中应该有一个标记,以隐藏带有星号的输入(用于密码).
将成员变量与编辑框和按钮相关联,然后在消息OnButtonClick内实现您的验证代码.

您应该先尝试使用固定的通行证,然后在使前一个通行证正常工作时将其复杂化.
You will have more help if you put what you try and a comment about the problem you are getting.

Dialogs are very easy to create using the editor and the wizard. Do one, insert 2 editbox for data-input and a button for the login. There should be a flag in the edit boxes to hide the input with stars (for the password).
Associate member variables with the editboxes and the button and then implement your validation code inside the message OnButtonClick.

You should start trying with a fixed pass, then complicate it more and more when you get the previous one working correctly.


写道:

我是Visual c ++的新手,我是使用Visual c ++ 6.0的人

i''m new to visual c++ and i''m using visual c++ 6.0



这是一个愚蠢的主意. VC6非常不符合C ++标准.您会读很多书,然后发现VC6的工作方式有所不同.从更高版本的VC ++重新开始.



That''s a dumb idea. VC6 was very non compliant with the C++ standard. You''ll read a lot of books and then find that VC6 works differently. Start again with a later version of VC++.

写道:​​

请帮助我为我的视频会议程序生成一个登录对话框...

pls help me to generate a login dialog box for my video conference program...



如果您不熟悉VC ++,这是您要执行的疯狂任务.您为什么要尝试这样做?



If you''re new to VC++, this is an insane task for you to do. Why are you trying to do this ?


1-请不要添加答案"以询问更多问题,请编辑您的帖子
2-如果您要这样做是为了毕业,我看不出窃取别人的代码并进行一些更改在远程上是有效的
3-如果您对C ++有所了解,那么您应该能够在有效的C ++编译器环境中移动项目并解决错误.当然,如果您使用的是VC6代码,则没有理由这样做,除非您需要访问某些较新的MFC类来执行您想做的事情.
4-如果您对编程非常了解,那么您将不知道如何回答您的问题.我们不知道您要如何登录,您要针对什么进行验证等.如果您想要的不仅仅是一个简单的内置硬编码密码,我们就需要这些详细信息,并且如果您只想要一个简单的硬编码密码,不会与服务器通信,如果您从网络上复制了一些代码并且无法弄清楚如何添加代码,那么您就不应该通过.
5-总体问题是您复制了一些代码并希望我们写最后一点,但您打算成为一名毕业的人,事实是,我们不能基于)您提供的信息,即使我们想帮助您欺骗自己的毕业之路

您怎么可能即将毕业,对C ++还是陌生的,但是却被要求为您的论文"用C ++编写视频会议程序?
1 - please don''t add ''answers'' to ask more questions, edit your post
2 - if you''re doing this for graduation, I don''t see how stealing someone elses code and making a few changes is remotely valid
3 - if you know anything about C++ you should be able to move the project and work through the errors in a valid C++ compiler environment. Of course, there''s no reason to do this, if you''re using VC6 code, unless you need access to some of the newer MFC classes to do what you want to do.
4 - if you knew much about programming, you''d appreciate how your question is impossible to answer. We don''t know how you want to login, what you want to validate against, etc. If you want more than a simple built in hard coded password, we need those details, and if you just want a simple hard coded password that does not talk to a server, you do not deserve to pass if you copied some code off the web and cannot figure out how to add that.
5 - while the overall issue is that you''ve copied some code and hope for us to write the last little bit, and yet you intend to be the one who graduates, the fact is, we cannot help based on the (lack of) information you''ve provided, even if we wanted to help you cheat your way to graduation

How is it possible that you''re on the verge of graduating, you''re new to C++, but you''ve been asked to write a video conferencing program in C++ for your ''thesis'' ?


这篇关于MFC登录对话框问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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