November 5, 200421 yr These two custom functions will make it easier to determine the dimensions of a new window all you need to do is to make a mental note of the size of your background image or create a rectangle starting at 0 x 0 pixels (upper left) and then size it to fit the area you want. Then the H & W of this rectangle is used when you create a new window via a script. Use the custom functions below in the window h & w fields of the dialog it will take in to consideration the scroll bar/ & title bar and on both platforms. SetWindowHeight (height) height + Case (Get (SystemPlatform) = -1; 37;54) SetWindowWidth (width) width + Case (Get (SystemPlatform) = -1; 15;27)
Create an account or sign in to comment