CreateWindow function requires an application handle in it's hWndParent paramter. How can i opbtain this handle using some API call?