Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » StyledText copy problems (whereas Text copy works fine)
StyledText copy problems (whereas Text copy works fine) [message #445336] Tue, 02 November 2004 17:54
Eclipse UserFriend
Originally posted by:

Bug 17578 ( and the
source code of StyledText mentions 1GDQAVN. Where can I find information
about this "1GDQAVN"? I searched on the eclipse site and I get nothing,
even if I limit my search on "pr" covering the entire site. I google it
and all I get are release notes and the StyledText source code.

The reason I'm looking for it is to figure out why the copy operations on
our StyledText controls are not working. If we use Text controls, they
work, otherwise, they don't.

The StyledText source code claims that the problem is that I'm trying to
write to the clipboard while StyledText is copying. How would I do this?
Is there a background process that does this somehow when there's a
StyledText involved? Again, when I try using Text, the copy operation
works fine.

The Clipboard source code has the following comments:
* Bug in Windows. When a new application takes control
* of the clipboard, other applications may open the
* clipboard to determine if they want to record the
* clipoard updates. When this happens, the clipboard
* can not be flushed until the other aplication is
* finished. To allow other applications to get the
* data, use PeekMessage() to enable cross thread
* message sends.
How can I determine that this is what I'm encountering? Are there known
programs which cause conflicts with SWT's StyledText copy operations? And
why does it work for Text, but not for StyledText?


Previous Topic:Differences of the SWT application under different OS
Next Topic:ScrollBar pageup, pagedown not responding
Goto Forum:

Current Time: Sun Oct 25 09:05:34 GMT 2020

Powered by FUDForum. Page generated in 0.02023 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top