Moving subwindows in curses does not seem to work

I am attempting to learn curses programming and in the process have
created a small curses ui program. I am currently working on the code
which is handling resizing the terminal window.
As part of the resizing of the terminal window, I have to resize and
move some of the subwindows in my ui.
However, it doesn't seem to be working (the following is printed out
by my program into a logfile):

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!