Try to preview your interface xml file by using
MP! Interface tester and see if you can preview your window correctly (if not so, you'll get an error message telling you why the window couldn't be loaded). Also, make sure you're calling the MsgPlus.CreateWnd function correctly. ;-)