|Re: CDateTime and Multiple Monitors [message #583463 is a reply to message #37188]
||Wed, 11 July 2007 13:23
Originally posted by: msoori.lggi.com|
Thanks Mike. I will give that a try.
Mike Evans wrote:
> Hi Mahesh,
> I have had something similar in my general RCP work.
> It seems to be that sometimes Shells are not assigned to the same
> Monitor as their parent. I have not been able to cure this problem
> but I have been able to address the symptom.
> Unfortunately I do not have a multiple monitor set-up available so
> cannot submit tested code but I suggest you try something on the lines
> 1. In the AbstractCombo.setOpen() method ...
> 2. Compare the Monitors of 'contentShell' and 'positionControl'
> (using getMonitor())
> 3. If not equal() apply an offset to the Point 'location' derived by
> comparing the Monitors' getBounds() values.
> Hope this works - and if it does I suggest you submit it as a fix.
> Mike E.
> On Tue, 03 Jul 2007 10:05:03 -0400, Mahesh Soori <email@example.com>
>> I am using CDateTime and its poping up on the primary screen, even when
>> I have the dialog which contains the CDateTime component on the
>> secondary monitor. Any workarounds to fix this?
Powered by FUDForum
. Page generated in 0.02464 seconds