Overloaded function for namedWindow()

Is there a way to create an overloaded function for namedWindow()? The namedWindow() function works perfectly but I would like to be able to change window style and add a child window. I’m having trouble finding where namedWindow() function definition is. I want to know if namedWindow() calls CreateWindow and if it does change some of the parameters. Thanks in advance!

take a look at the related source code

Thank you @sturkmen , this is just what I was looking for! If you don’t mind how did you go about finding this? All I had was “namedWindow()” is included in “highgui.hpp” , I went to that document and could not find it. If I remember correctly I did not find anything in “highgui.hpp” that guided me into looking at “window_w32.cpp”.