01-11-2009, 10:48 PM
I currently do this by appending the window name with the string i want to keep associated to this window, but if the window name changes, I lose my value.
The value I am storing is a variable, so using GetProp or FindTaggedWindow I was unable to find the value because it varies. (previous window dimensions)
I played around a bit with global variables but didn't like it.
Is there an alternative method to store a value associated with a window(string) inside the window itself so that it is obtainable on the next run?
****
Edit: I am pretty sure i can use RegWinPos and get this to work.
****
Edit2: Code removed, contained error
The value I am storing is a variable, so using GetProp or FindTaggedWindow I was unable to find the value because it varies. (previous window dimensions)
I played around a bit with global variables but didn't like it.
Is there an alternative method to store a value associated with a window(string) inside the window itself so that it is obtainable on the next run?
****
Edit: I am pretty sure i can use RegWinPos and get this to work.
****
Edit2: Code removed, contained error