Am Donnerstag, den 28.06.2007, 21:05 +0200 schrieb Felipe Monteiro de
Carvalho:
> To be 100% sure that I am not having problems with lcl or with
> whatever, I created a pure gtk 1 software and tryed to hide it's
> cursor .... but it doesn't work. Any ideas? thanks

Yes, I looked a little further in my code and found I have had the same
problem, look:


        { finally show first window }
        window.show;

        { set the cursor when the window is shown, won't work otherwise }
        gdk_window_set_cursor (pGdkWindow(window.window^.window), cursor);



Easy, if known, but very hard to adapt to LCL me thinks ...

Marc


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to