I need to set a current page so that its client size is altered to (w, h). I've seen lots of examples that set the overall window size but I need to take into account the non-client area dimension.

Thanks
Andrew