[Cuis-dev] sticky SystemWindow

Mark Volkmann r.mark.volkmann at gmail.com
Mon Mar 31 07:19:05 PDT 2025


When I create a subclass of SystemWindow that handles mouse events, I lose
the ability to drag the window. It becomes sticky. I want to listen for
right-click events. How can I retain the ability to drag the window? Here's
simple code that demonstrates the issue:

SystemWindow subclass: #MyWindow
    instanceVariableNames: ''
    classVariableNames: ''
    poolDictionaries: ''
    category: 'Demo'

handlesMouseDown: aMouseEvent
    ^ true

MyWindow new openInWorld

-- 
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250331/33aa4446/attachment.htm>


More information about the Cuis-dev mailing list