Philipp Lohmann!

        
        Now I put two windows into the title bar. the left position and  right 
position.
Middle position is original title bar.   It can drag.
        
        Window::SetPosSizePixel not use in drag events. it's slow.

        thanks your help!



>Hi,
>
>You cannot put a button into the title bar. The title bar is not owned
>by OOo and therefore not accessible to it.
>There are system dependent possibilities to achieve such, but at least
>on the X11 platforms it is
>basically impossible.
>
>What you seem to have created is a window at the position of the title
>bar. This now hides the titlebar and
>will get the mouse events that were supposed to go to the title bar if
>it had contained your button. If you want to
>move the frame window, you can use the Window::SetPosSizePixel method or
>the awt toolkit's equivalent
>on the top frame window.
>
>But generally I can only advise against this, you will never get it
>right since your own window will move first
>and then the frame below it will lag visibly behind it.
>
>Just my 2 cents, pl
>
>Carsten Driesner wrote:
>> sdl wrote:
>>> Carsten Driesner 写道:
>>>> zhangyongzhi wrote:
>>>>
>>>>> hello everyone:
>>>>>   
>>>>>   First thanks Carsten Driesner. He helped me last .
>>>>>
>>>>>   I put a window in caption of main window, the main window is not 
>>>>> draging, how to solver it?
>>>>>
>>>> Hi zhangyongzhi,
>>>>
>>>> I don't understand your question. Could you please explain what you want
>>>> to achieve in a more detailed way.
>>>>
>>>> Regards,
>>>> Carsten
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>>
>>> Hi Carsten Driesner
>>>
>>> I want to put some buttons in caption bar , so I create a window. It's
>>> Parent Window is the parent of Top Frame Window. At the same time the
>>> main window does not drag
>>> How to translate my window's drags events to the Parent.
>>
>> Hi zhangyongzhi,
>>
>> Now understand your question, but I think it can be better answered on
>> the gsl developer mailing list. I forwarded your question to their
>> mailing list.
>>
>> Regards,
>> Carsten
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to