Sample C++ source prevents window from being moved.