You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
' This function generates screen X, Y coordinates that will keep a target Window within the user's visible viewing area, so that the entire window will always be shown,
124
+
' and never cut off.
125
+
'
126
+
' The parameters are the dimensions of the target window to be shown on the user's screen. (GetWindowRect is a good API for getting these)
127
+
'
128
+
' Usage example:
129
+
'
130
+
' Dim intXY() As Integer = GeekDropProps.GenerateScreenCoords(1234, 1234, 1234, 1234)
131
+
'
132
+
' Returns:
133
+
' Integer array. Element 0 = Width (X), Element 1 = Height (Y)
134
+
'
135
+
' Note: Since this function takes KNOWN dimensions of the target window, use care when dealing with non-fixed sized target windows.
136
+
' i.e. Using this to calculate the coords of a fixed size Windows Properties sheet, no problem; using it on a resizable Notepad window, untested so far.
137
+
138
+
' Create an integer array of 2 elements
139
+
DimintCalculated(1)AsInteger
140
+
141
+
' Generate a Random number
142
+
DimmyRandomAsNewRandom()
143
+
144
+
' These two vars take the dimensions of the target window to be displayed on the screen
Copy file name to clipboardExpand all lines: GeekDrop Props/Docs/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,9 @@ The "home page" of GeekDrop Props, is right here, don't be a stranger!: http://g
111
111
112
112
## Changelog ##
113
113
114
+
* Version 1.2
115
+
* Further tweaking to the Properties Sheet location opening(s) introduced in the 1.1 update, so that the Sheet(s) will also always fully be visible on-screen, rather than (potentially) partially off-screen.
116
+
114
117
* Version 1.1
115
118
* In Version 1.0 when opening more than 1 Properties Sheet, they would open directly on top of each other, which got a bit confusing, so now when more than 1 is opened they'll all open in different areas of the screen.
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,9 @@ The "home page" of GeekDrop Props, is right here, don't be a stranger!: http://g
111
111
112
112
## Changelog ##
113
113
114
+
* Version 1.2
115
+
* Further tweaking to the Properties Sheet location opening(s) introduced in the 1.1 update, so that the Sheet(s) will also always fully be visible on-screen, rather than (potentially) partially off-screen.
116
+
114
117
* Version 1.1
115
118
* In Version 1.0 when opening more than 1 Properties Sheet, they would open directly on top of each other, which got a bit confusing, so now when more than 1 is opened they'll all open in different areas of the screen.
0 commit comments