最新消息:

MFC group上一个有意思的讨论

快乐每一天 hamo 1636浏览 0评论

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

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.

转载请注明:哈默博客 » MFC group上一个有意思的讨论

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址