[Mono-winforms-list] [BUMP] ToolStripDropDown + UserControl

Jonathan Pobst monkey at jpobst.com
Wed Mar 18 10:47:05 EDT 2009


Committed in r129699.  Thanks for your patch!

Jonathan


Alex Shulgin wrote:
> Alex Shulgin wrote:
>> Jonathan Pobst wrote:
>>> I committed the less risky parts of this, hopefully it will fix your 
>>> issues.
>>
>> Hi,
>>
>> It's me again.
>>
>>
>> Thanks for your support last time!  However, my issue is not resolved 
>> yet...
>>
>> I've tried your patch on Mac OS and it works correctly there too.  But 
>> there's another problem: when trying to resize the control displayed 
>> in the drop down, the popup window is first moved some pixels down.  
>> This is unwanted behavior.
>>
>> This happens only on Mac OS and not on Linux or Windows.
> 
> OK, I think I've located the problem. :)
> 
> Please review the attached patch to see if it's OK.
> 
> I'm adjusting XplatUICarbon.SetWindowPos in analogy with CreateWindow 
> method where the check for WS_POPUP style is used for correct initial 
> window placement.
> 
> This fixes things for me.  I'll try to run tests on Mac when I manage to 
> compile mono on Mac box.  However, I believe this patch is fairly safe 
> and doesn't break anything as far as I can see.
> 
> I'm waiting for your answer and hope this patch can be committed soon. :)
> 
> -- 
> Regards,
> Alex
> PS: sorry for weird formatting in my last message--this happens from 
> time to time when you edit a file in 3 different editors on two 
> machines. :)
> 



More information about the Mono-winforms-list mailing list