Problem with SetWindowExtEx()
-
Hi all, the function SetWindowExtEx() is returning false for me sometimes. I am using MM_ANISOTROPIC mapping mode. GetLastError() is returning error code 50(The request is not supported). This is happening very rarely and only during print operation. Can size may be a problem.
-
Hi all, the function SetWindowExtEx() is returning false for me sometimes. I am using MM_ANISOTROPIC mapping mode. GetLastError() is returning error code 50(The request is not supported). This is happening very rarely and only during print operation. Can size may be a problem.
Hi, I don't know, however what I would do is this: add some code to log all parameter values and the return value and the GetLastError value (only when it failed!) to a file when it succeeds and when it fails. Looking at those numbers is likely to tell you what is going on. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.