Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Store a value associated with a window?
#1
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)