Drag/Drop causes PageSetup dialog to come up

D

David Thielen

Hi;

I have an IDataObject that use to implement Drag/Drop from my AddIn to
word (dragging from my AddIn, copy to Word on a drop).

Occasionally when dragging (before the drop) the Page Setup window
comes up and Word is then locked up - we have to kill it.

The only format I return is RTF.

I do call RangeFromPoint() in the Word API to determine what text I
can return as well as doing a Find() on the text at that location.

Any ideas what is going on and what I can do to avoid it?

thanks - dave

david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
J

\Ji Zhou [MSFT]\

Hello Dave,

I have a test in my side but cannot reproduce the issue. Would you like to
elaborate some more background information?

1.Does this problem occur on every machine occasionally or it only happens
on some machines occasionally?
2.What is the problematical environment's os version?
3.What is the version of the Office?

If you can share a mini project without the confidential data, that will be
very helpful for the future investigation. Please feel free to contact me
via (e-mail address removed)

Have a good day!

Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

Cindy M.

Hi David,
I have an IDataObject that use to implement Drag/Drop from my AddIn to
word (dragging from my AddIn, copy to Word on a drop).

Occasionally when dragging (before the drop) the Page Setup window
comes up and Word is then locked up - we have to kill it.

The only format I return is RTF.

I do call RangeFromPoint() in the Word API to determine what text I
can return as well as doing a Find() on the text at that location.

Any ideas what is going on and what I can do to avoid it?
Which version of Word?

When the horizontal RULER is double-clicked the Page Setup dialog box
will display. In earlier versions I think there were additional "hot
spots". Any chance the drag could be triggering one of those?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 
D

David Thielen

The problem is it's totally random and occurs rarely. We are trying to
get it to happen on a system where we are running under the debugger
so we can look at the call stack - no luck yet.

Word 2007.

thanks - dave


Hello Dave,

I have a test in my side but cannot reproduce the issue. Would you like to
elaborate some more background information?

1.Does this problem occur on every machine occasionally or it only happens
on some machines occasionally?
2.What is the problematical environment's os version?
3.What is the version of the Office?

If you can share a mini project without the confidential data, that will be
very helpful for the future investigation. Please feel free to contact me
via (e-mail address removed)

Have a good day!

Best regards,
Ji Zhou ([email protected], remove 'online.')
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
D

David Thielen

We'll try that. It's random and rare - I hate bugs like this.

thanks - dave

ps - Word 2007, latest service packs.


Hi David,

Which version of Word?

When the horizontal RULER is double-clicked the Page Setup dialog box
will display. In earlier versions I think there were additional "hot
spots". Any chance the drag could be triggering one of those?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top