This is a migrated thread and some comments may be shown as answers.

Not showing a Shaped form contents while dragging

3 Answers 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Scott Gross
Top achievements
Rank 1
Scott Gross asked on 21 May 2007, 08:52 PM
I am using a shaped form for a multimedia application where I do not want to show the window's content while dragging.  Is there a way to do this?  I have it turned off in the desktop properties and only a form with RadControls will still show its contents while I'm dragging the form around the desktop.  Also is there an event in the form or .NET it self to detect when the form has finished moving, like "onMoved".

Please let me know how to turn "Show window contents while draging" off.

Thank you

3 Answers, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 22 May 2007, 05:39 PM
Hi Scott,

Thank you for your question.

The problem most probably comes from the fact that you are using RadTitleBar which uses some custom methods to control the form. To use the default windows methods, it needs the form to be of specific kind, but in this case the RadTitleBar would break our form. We will attempt to fix that problem for the next release.

In the current version we do not have an event like OnMoved. We will discuss the idea and will post our thoughts in the Forums.
 

Sincerely yours,
Evtim
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Scott Gross
Top achievements
Rank 1
answered on 23 May 2007, 12:55 AM
Is there there any possible way for me to use the RadTitleBar in my application in this mannor?  Do I need to override the WinProc function? I am currently doing this to resize and it works correctly (not showing contents while resizing). I have been trying to find the correct value of the messege recieved from the WinProc message.

Thank you.
0
Jack
Telerik team
answered on 23 May 2007, 08:44 PM
Hello Scott,

Unfortunately there is no simple solution for this problem. Overriding the WndProc will not work. The problem is that RadTitleBar moves its owner form trough Form.Location property. This behavior can't be changed in our current version. We will correct this in the next service pack.

Kind regards,
Jack
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Scott Gross
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Scott Gross
Top achievements
Rank 1
Jack
Telerik team
Share this question
or