Hi 

 

I think the console position problem stems from line 9785 in console.cs

 

case "console_left":

  num = Int32.Parse(val);

  if((num < 0) || (num > Screen.PrimaryScreen.Bounds.Width &&
Screen.AllScreens.Length == 1))

    num = 0;

  this.Left = num;

  break;

 

As you can see from the code the number is not allowed to be negative but
when I place PowerSDR on my second monitor the left co-ord

is -1283, this number is then set to zero by the if statement and PowerSDR
is placed at the left of my Primary Monitor

The reason my left position is negative is that my secondary monitor is
placed to the left of my primary monitor and since the windows virtual
co-ordinate system's x axis origin is at pos 0 on my primary monitor then
all x co-ords on my secondary will be negative.

A solution would be to swap your primary monitor to always be the left hand
monitor. Or to change the above code to interate through all monitor bounds
to create the full logical co-ordinate bounds in use across all monitors,
you can have more that 2 if your lucky!

Regards,

 

Bob Ashmore.

EI6GDB

 

 

_______________________________________________
FlexRadio Systems Mailing List
FlexRadio@flex-radio.biz
http://mail.flex-radio.biz/mailman/listinfo/flexradio_flex-radio.biz
Archives: http://www.mail-archive.com/flexradio%40flex-radio.biz/
Knowledge Base: http://kb.flex-radio.com/  Homepage: http://www.flex-radio.com/

Reply via email to