Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Urgent RTM Bug: MDI child forms activate event

0 views
Skip to first unread message

Paul Czywczynski

unread,
Jan 30, 2002, 12:51:43 PM1/30/02
to
Summary
Multiple child MDI forms fail to fire the Activated event. Once the
child forms are open, clicking on them fails to fire the Activated event
also. If the forms are opened as SDIs they activate properly.

Systems used to produce error:
OS: Win XP Pro
.NET Framework Versions: Final Release
Visual Studio Versions: Final Release

Usage:
Running the program opens Form1, which contains two buttons. Code in the
Enter and Activated events of the forms writes to this textbox indicating
that the events fired. Clicking the top button opens Form2 and Form3 as an
MDI child of Form1. Form3 fails to fire the Activated event. Both Form2
and Form3 fail to activate when the focus is set by clicking the forms
themselves. Clicking the bottom button, Form2 and Form3 open as SDIs. The
activate event works as expected and documented.

Example:
http://www.tempworks.com/ActivatedBug2.exe

Paul Czywczynski, Chief Technology Architect
TempWorks Software, Inc.
3140 Neil Armstrong Blv. #205
Eagan, MN 55121
O: 612-452-0366
F: 612-452-0362
C: 651-336-9388
E: pa...@tempworks.com


Shawn Burke [MSFT]

unread,
Jan 30, 2002, 4:43:43 PM1/30/02
to
This is actually by design. See the Form.MdiChildActivated event.

--

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.


"Paul Czywczynski" <paul at tempworks dot com> wrote in message
news:#vmQKbbqBHA.2304@tkmsftngp07...

0 new messages