Hello.
I have class witch creates a child window, I don`t subclass it, just create new class for that windows, and I wonder if I create window class in class constructor is it good and racional? thank you C ya
Hello.
I have class witch creates a child window, I don`t subclass it, just create new class for that windows, and I wonder if I create window class in class constructor is it good and racional? thank you C ya
Butterfly sweep can make torando in another side of world
You can create the window class in the constructor, but you need to ensure you do it only once for all instances, because you may register a window class only once. As you may create more than one instance of the class (and don't you dare just assume you won't! ), the check is important.
All the buzzt!
CornedBee
"There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
- Flon's Law
Roger that! (:
Butterfly sweep can make torando in another side of world