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.
Am 23.06.2005 um 14:34 schrieb Himanshu Garg:
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.
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.
See http://msdn.microsoft.com/ Sorry, don't know any details.
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.
impara did the Windows port back in January. It's in the SVN repository:
http://squeak.hpl.hp.com/cgi-bin/viewcvs.cgi?rev=941&view=rev
P.S. Sorry for starting a new thread. I get daily digests and don't know how to reply in the same thread.
Use a mail client that breaks digests into separate messages.
- Bert -
squeak-dev@lists.squeakfoundation.org