Hello,
I'm trying to make small floating windows to drag over the screen and place on top of other window. They are without anything special, just basic squares with a color. Making this kind of window and dragging them over the screen was rather easy, but now I run into trouble trying to have every window respond differently.
Every instance of the window class seems to utilize the same window proc, therefore sharing static variables. For my purposes, this is not good: the different windows should have their unique set of variables, including pointers, so as to be able to read data from arrays that belong to the parent window.
Is there a way to do this? Some other method to transfer unique information to each seperate instance of a window class, in order (for example) to paint them all in a unique way?
Any help appreciated!
Menno