Le 16/12/2012 12:03, Christian Schmitz a écrit :
> Am 16.12.2012 um 11:52 schrieb fqd <[email protected]>:
>
>> I might be unclear, sorry.
>>
>> I want to have this on Windows OS, avoiding windows parentage.
>>
>> So, how to do it on Windows ?
>
> Well, I tried this, but it doesn't really work here.
>
>    declare function SetParent lib "User32.dll" (w1 as integer, w2 as integer) 
> as integer
>    
>    call setparent self.handle, 0
>    
> Maybe you have more luck.
>
> Greetings
> Christian
>
Hold on, it's a bit more tricky...

I forget some points :
- no implicit instance of any window
- keep a property in App for the floating window
- open the floating window as soon as possible in App.Open, before any 
other window
- make it visible when needed, and don't close it before app is quitting

Otherwise, the floating windon get closed ;(

OMG, window OS suck one more time !

Not sure I will use this king of design, seems weak and risky.

Maybe when you have time to look deeper, Christian, it might be a good 
addition for a WindowMBS class ?





_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to