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

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


Edit Control misbehaving in CFormView

Kevin_Maisano@dublin.sterling.com
Wednesday, January 17, 1996

Hi!

I have a MDI application (16-bit) that is composed of different
CFormViews.  Embedded within these views are single and multi-line edit
controls.  When displaying multiple views, if the user clicks on the
edit control of an inactive view, the view containing this control does
not become active.  Clicking on the frame of the window or another
control in the view (i.e. - listbox) makes the inactive view active.
Is there something special I need to do so that the edit control
behaves in a similar manner?

Thanks in advance,
Kev.

kmaisano@dublin.sterling.com



Don.Irvine@net-tel.co.uk
Friday, January 19, 1996

> I have a MDI application (16-bit) that is composed of different
> CFormViews.  Embedded within these views are single and multi-line edit
> controls.  When displaying multiple views, if the user clicks on the
> edit control of an inactive view, the view containing this control does
> not become active.  Clicking on the frame of the window or another
> control in the view (i.e. - listbox) makes the inactive view active.
> Is there something special I need to do so that the edit control
> behaves in a similar manner?

I have just dealt with a similar problem. The problem was caused by the edit
control having the WS_EX_NOPARENTNOTIFY style. With this style removed, the
view was activated properly.

This problem was only occuring for us when our 16-Bit application was running
under 95 (Windows 3.1 was OK).


Don Irvine




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