MFC group上一个有意思的讨论

原创 hamo  2007-03-20 17:38  阅读 1,999 views 次

今天看了一个比较有意思的灌水,好玩。

1. 某君提了一个问题,归纳一下就说,我的程序有问题(具体有价值的材料没有),怎么解决呢?

ermutarra Mar 20, 4:00 am

Newsgroups: microsoft.public.vc.mfc

Subject: Can't change content of edit box !?

Hi all,

I have a dialog window for the user to enter some data and then the program goes and does something with it. The edit controls used for the data are initialised to some default values but then I don't seem to be able to change the value (these have NOT been disabled and are NOT read-only). Can anybody tell me what's going on and how to fix it so that I can change the values?

Thank you very much in advance.

Noelia

2. 这样的问题肯定是没法回答的,不过一位MVP这样RE的

AliR (VC++ MVP) Mar 20, 4:05 am

Newsgroups: microsoft.public.vc.mfc

Subject: Re: Can't change content of edit box !?

This reminds me, my toaster stopped working this morning, and just doesn't
toast anymore, any ideas?

AliR.

3. 然后lz说问题解决了,原来是..

ermutarra Mar 20, 4:23 am

Newsgroups: microsoft.public.vc.mfc

Subject: Re: Can't change content of edit box !?

Fixed it. It was because the member variable attached to it was of integer type instead of CEdit.

4. 然后,AliR回答说..

AliR (VC++ MVP) Mar 20, 4:27 am

Newsgroups: microsoft.public.vc.mfc

Subject: Re: Can't change content of edit box !?

> Fixed it. It was because the member variable attached to it was of
> integer type instead of CEdit.

Me too, I forgot to plug in my toaster.

AliR.

本文地址:https://www.satwe.com/archives/164.html
关注我们:请关注一下我们的微信公众号:扫描二维码哈默博客的公众号,公众号:aiboke112
版权声明:本文为原创文章,版权归 hamo 所有,欢迎分享本文,转载请保留出处!

发表评论


表情