When I render something on my window and call XpStartPage all the rendered stuff is gone, I only get a white, empty paper. What is going wrong here ?
Remember the rule that “only those drawings are printed on the paper which were rendered between XpStartPage and XpEndPage”. XpStartPage clears the window you passed as argument, e.g. it creates a new, blank sheet of paper where you can do your rendering stuff on. XpEndpage then pushes the “paper sheet” to the stash of papers from the document in process.