vb.NET Screen Location -


i'm working multi monitor setup. know can screen.allscreens(x) specific screen, there way identify screen in position?

i.e.

screen 0 on right, screen 1 on left, screen 2 in middle

i'm trying position 1 form @ top left of each screen, , way can think

me.location = new point(-screen.allscreens(1).bounds.width, screen.allscreens(1).bounds.top) 

(that assuming screen 1 on left)

any help?

wrapping in sort of loop autogenerate forms each screen amazing too, can handle myself. need know how position each 1 @ top left of each screen..

thanks :3

as mentioned on site, if i'm understanding correctly should want:

private sub button1_click(sender object, e eventargs) handles button1.click     dim number = 1      each scr in screen.allscreens.orderby(function(s) s.bounds.left)         dim f new form {.text = number.tostring(),                                 .startposition = formstartposition.manual,                                 .location = scr.bounds.location}          f.show()          number += 1     next end sub 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -