argumentum Posted 10 hours ago Posted 10 hours ago what I meant by "Local Const $PW_RENDERFULLCONTENT = 0x2 ; this will go to where it should 😃" is that we need to add $PW_RENDERFULLCONTENT, PW_CLIENTONLY and PW_CLIENTGoFigure to the constants script. PW_CLIENTONLY used to be true/false. After Win8.1 PW_RENDERFULLCONTENT came along, and are now BitOR values. Given that is not documented, declaring PW_CLIENTONLY = 1 but we ( at least myself ) don't have a const. name for ZERO. PW_RENDERFULLCONTENT + PW_CLIENTONLY = 3, and works as such. We ( well, you @mLipok ) have to come with proper naming. Good luck Jim If you don't find a name, I'll look around and invent a proper sounding one Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted 10 hours ago Posted 10 hours ago The doc says "By default, the entire window is copied." So if you set 0, PW_CLIENTONLY is not set and PrintWindow calls GetWindowRect instead of GetClientRect PW_WINDOW = 0x0. ( uses GetWindowRect ) PW_CLIENTONLY = 0x1 ( uses GetClientRect ) PW_RENDERFULLCONTENT = 0x2 ( uses Windows.Graphics.Capture API ) ( am working.. at work, so I can't give it more attention right now ) Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now