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

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


Missing keystrokes in edit control of CTreeCtrl

Roger Lamb RAS+ 95 -- rasplus@lambsoftware.com
Wednesday, January 03, 1996

I have a CSplitterWnd which contains a CView which contains a CTreeCtrl.

While editing the item in the CTreeCtrl, the DEL key does not work, but it
is delivered to the CTreeCtrl (I can capture it there).  I think the
splitter is screwing something up in the delivery of the DEL key to the edit
box because the thing works fine in examples without a splitter and in a
CTreeView.

Any ideas?

Sincerely,
Roger C. Lamb Jr.

Lamb Software, RAS+ 95
Email: rasplus@lambsoftware.com
Upates: http://www.lambsoftware.com




Mario Contestabile -- Mario_Contestabile.UOS__MTL@UOSMTL2.universal.com
Thursday, January 04, 1996

CTreeView in place of CSplitterWnd will solve the problem and make things 
considerably easier.

mcontest@universal.com




Roger Lamb RAS+ 95 -- rasplus@lambsoftware.com
Tuesday, January 09, 1996

I am reposting this question as Mario's idea to simply use a CTreeView won't
work because I need to derive from the CTreeCtrl for my own processing and
fuctionality.  Can someone verify that this is a problem or not?  Is there a
way to have the CTreeView use my derived CTreeCtrl class.

I have a CSplitterWnd which contains a CView which contains a CTreeCtrl.

While editing the item in the CTreeCtrl, the DEL key does not work, but it
is delivered to the CTreeCtrl (I can capture it there).  I think the
splitter is screwing something up in the delivery of the DEL key to the edit
box because the thing works fine in examples without a splitter and in a
CTreeView.

Any ideas?

Sincerely,
Roger C. Lamb Jr.

Lamb Software, RAS+ 95
Email: rasplus@lambsoftware.com
Upates: http://www.lambsoftware.com





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