then there is a window proc function .this is a window procedure.

in this we firstly create all the controls whatever we want.

you can find the creation of all the controls in the create control block.