Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Window placement
#10
with AdjustWindowPos x and y can just be 0 and will move to center

Adjusts window or rectangle coordinates like mes and other QM functions do. If negative, adjusts so that the window would be at the right or bottom of the screen. If 0, adjusts so that the window would be at the center of the screen. Ensures that whole window is in the screen. Ensures that the window will be in the specified monitor.

a few more positions 

center
x=0
y=0

top center
x=0
y=1

bottom center
x=0
y=-1

right center
x=-1
y=0

left center
x=1
y=0


Messages In This Thread
Window placement - by InterestedNewbie - 09-28-2018, 04:41 PM
RE: Window placement - by Kevin - 09-28-2018, 07:07 PM
RE: Window placement - by InterestedNewbie - 09-29-2018, 12:46 AM
RE: Window placement - by Kevin - 09-29-2018, 01:27 AM
RE: Window placement - by InterestedNewbie - 09-29-2018, 02:35 AM
RE: Window placement - by Kevin - 09-29-2018, 02:37 PM
RE: Window placement - by InterestedNewbie - 09-29-2018, 07:43 PM
RE: Window placement - by Kevin - 09-29-2018, 08:09 PM
RE: Window placement - by InterestedNewbie - 09-30-2018, 03:12 PM
RE: Window placement - by Kevin - 09-30-2018, 04:08 PM
RE: Window placement - by InterestedNewbie - 09-30-2018, 06:36 PM
RE: Window placement - by Kevin - 10-01-2018, 01:55 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)