We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Docking Windows and Threading in 3.2

Thread ID:

Created:

Updated:

Platform:

Replies:

28270 Apr 28,2005 01:00 AM Apr 28,2005 01:51 AM Windows Forms 1
loading
Tags: Tools
Sue Harris
Asked On April 28, 2005 01:00 AM

Hi, I''ve got a control which I add as a docking window. In my main forms Activated Event, I make a call to the control, which then runs off to make an Async call to fill in the control. Prior to moving to the new Syncfusion 3.2 Suite, it worked fine, but now I always get a "Cannot call Invoke or InvokeAsync on a control until the window handle has been created" exception. Presumably, one of the changes in the docking windows was changing/delaying how the docking windows are created, and as a result the docking window hasn''t created the window handle by the time the Activated event occurs. Is there any methods to force/test whether the docking window has been completely created? Thanks, Sue

Sue Harris
Replied On April 28, 2005 01:51 AM

Found that calling the CreateControl method fixes it. Thanks

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;