In a CFormView , I create and display a CToolbarDialog. I use DoModal to display the dialog. A control (in Parent Windows) 's OnKillFocus event is called AFTER the child dialog's OninitDialog. This seems meaningfull to me, but in my Windows 2000 professional machine, child's OninitDialog is called BEFORE parent control's OnKillFocus. What should be done to correct this problem?
"Omer Sahin (Link Bilgisayar)" osahin@linkbilgisayar.com.tr wrote:
In a CFormView , I create and display a CToolbarDialog. I use DoModal to display the dialog. A control (in Parent Windows) 's OnKillFocus event is called AFTER the child dialog's OninitDialog. This seems meaningfull to me, but in my Windows 2000 professional machine, child's OninitDialog is called BEFORE parent control's OnKillFocus. What should be done to correct this problem?
If you could create a really small test case (no MFC, pure Win32 API) and post it here, somebody would have a look.
I solved the problem. The problem is not in Wine. The problem was caused by some of our code. Sorry for disturbing.
From: "Dmitry Timoshkov" dmitry@baikal.ru To: "Omer Sahin (Link Bilgisayar)" osahin@linkbilgisayar.com.tr Cc: wine-devel@winehq.com Sent: Friday, July 25, 2003 6:13 AM Subject: Re: Child's OninitDialog and Parent's OnKillFocus
"Omer Sahin (Link Bilgisayar)" osahin@linkbilgisayar.com.tr wrote:
In a CFormView , I create and display a CToolbarDialog. I use DoModal to display the dialog. A control (in Parent Windows) 's OnKillFocus event is called AFTER the child dialog's OninitDialog. This seems meaningfull to me, but in my Windows 2000 professional
machine,
child's OninitDialog is called BEFORE parent control's OnKillFocus. What should be done to
correct
this problem?
If you could create a really small test case (no MFC, pure Win32 API) and
post
it here, somebody would have a look.
-- Dmitry.