what is myName (in the call for the function)?


Is it the window caption ?