[lazarus] GTK team: please specify!

Marc Weustink marc at dommelstein.net
Sun Nov 2 11:21:06 EST 2003


At 17:10 2-11-2003, Micha Nelissen wrote:
>Mattias Gaertner wrote:
>
>>On Sun, 02 Nov 2003 14:29:01 +0100
>>Micha Nelissen <M.Nelissen at student.tue.nl> wrote:
>>>
>>>The WinAPI specifies that GetDC(GetDesktopWindow()) should return a 
>>>device context of the screen. We can use this DC to draw on.
>>
>>Very funny. ;)
>>What has the winapi to do with the gtk?
>
>The interface to gtk is implemented using the winapi, right? I just want 
>to know whether the GetDesktopWindow call can be implemented.

My first reaction would be: It can't.

How strange this may sound, but gtk has no desktop. The windowmanager has 
(I guess). But since the window manager has access to the desktop, why cant we.

So to answer your question, it probably is possible, but don't expect it 
implemented soon.

Marc


>Micha.
>
>
>_________________________________________________________________
>     To unsubscribe: mail lazarus-request at miraclec.com with
>                "unsubscribe" as the Subject
>   archives at http://www.lazarus.freepascal.org/mailarchives






More information about the Lazarus mailing list