Article ID: 262441 - Last Review: January 11, 2001 - Revision: 1.0 PRB: Run-Time Error Message '400' : Form Already Displayed ; Can't Show Modally
This article was previously published under Q262441 On This PageSYMPTOMS
When you try to display a modal dialog box window in the Click event of a TabStrip control from Microsoft Windows Common Controls 6.0 Service Pack 3 (SP3), you receive the following error message:
Run-time error '400' : Form already displayed ; can't show modally. CAUSE
This behavior occurs because the mouse capture is not released, so all of the mouse inputs still go to the TabStrip control window instead of the modal window.
RESOLUTION
Make a call to the ReleaseCapture API function before displaying the modal form. This releases the mouse capture from the TabStrip control window and restores normal mouse input processing.
MORE INFORMATIONSteps to Reproduce Behavior
Workaround
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
