Why doesn't Morph's drawOn get called when Main Squeak

Himanshu Garg himanshu.garg at gmail.com
Thu Jun 23 12:34:16 UTC 2005


>Am 21.06.2005 um 18:52 schrieb Himanshu Garg:

>> Hello,
>>
>>       I have subclassed Morph and overridden its drawOn. I found that
>> it doesn't get called when the main Squeak window is maximized >>
after minimization or when it becomes visible after an overlapping >>
window moves away.
>>
>>       What is the function that I must override so that redrawing
>> takes place even on unminimization or movement of overlapping 
>> window.
>>
>>       I am drawing text using an external dll with FFI which directly
>> draws in the Squeak window. Any suggestions/pointers would be a >> great
>> help. It isn't necessary that I use Morphic if it is not possible with
>> it.

>[snipped]

>If you draw yourself via FFI, you also need to get hold of the redraw
>events yourself. There is no support for this in regular Squeak.

>- Bert -

Thanks for your reply. Could you also tell me how to get hold of the
redraw events. In particular what is the event that gets generated
when only some parts of an inactive window get exposed on Windows.

If I do get hold of them somehow will it not affect Squeak's handling
of these events.

The host window stuff might not be for me because I am on Windows.

Thank You,
Himanshu.

P.S. Sorry for starting a new thread. I get daily digests and don't
know how to reply in the same thread.



More information about the Squeak-dev mailing list