15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


1 MB in a CEdit Control

Byron Hale -- blhale@einfo.com
Sunday, August 18, 1996

Here's my problem:

Environment: VC++ 1.52 source files too be compiled under VC++ 2.2 for Windows 95

I wish to get have a CEdit hold up to 1 MB of data in the above environment.
NAturally, I would prefer to stay within VC++. VC++2.2 would be OK, as I
could use conditional compilation. I believe there was some related
discussion previously.

Thanks
Byron Hale
Effective Information
blhale@einfo.com
(408)358-8064




Niels Ull Jacobsen -- nuj@kruger.dk
Monday, August 26, 1996

At 23:10 18-08-96 -0700, you wrote:
>Here's my problem:
>
>Environment: VC++ 1.52 source files too be compiled under VC++ 2.2 for
Windows 95
>
>I wish to get have a CEdit hold up to 1 MB of data in the above environm=
ent.
>NAturally, I would prefer to stay within VC++. VC++2.2 would be OK, as I
>could use conditional compilation. I believe there was some related
>discussion previously.

I think this is in the FAQ or in the MSVC KnowledgeBase?
Anyway, you can't put more than ~64 Kb in an editbox under Win 3.1
or Win95. In NT, you can, but that probably won't help you.

You'll have to write your own or use a 3rd party control like Magma Edit
(search the web for
details).

You may be able to use a rich edit control instead. I think they support
more than 64 Kb,
but I'm not sure.


>
>Thanks
>Byron Hale
>Effective Information
>blhale@einfo.com
>(408)358-8064
>
>
>
>
Niels Ull Jacobsen, Kr=FCger A/S (nuj@kruger.dk)
Everything stated herein is THE OFFICIAL POLICY of the entire Kruger=20
group and should be taken as legally binding in every respect.=20
Pigs will grow wings and fly.









| Вернуться в корень Архива |