A dialog is a kind of a window and so are text boxes, labels, listboxes and buttons. Each window can have child windows, child window means that life time of the child window is dependent on the parent window and child window can be placed anywhere on the parent window. Assume that a dialog has few controls like listbox, etc on it, you need to depict this relationship using…my symbols(or UML)…on a piece of paper
–If I want to go over all the controls and blink them, suggest me a way to do it. Blink can be achieved by just show-hide-show but think about how to iterate over the controls, if you are not using STL or any other standard container classes
To iterate should create iterator class to move through the collection of windows.
ReplyDelete