Hi,
I have been busy creating a screen capture function in Java using JNA (java native access).
So far I have been able to do a lot, but I am baffled about some things a bit. The OS is Windows, if you wonder....
I find it easy to capture, for example, a region, or a window, but find it hard to draw over it. The reason for this is the...
I wish to securely delete (not even a trace in memory) anything that user types into a textbox. I wonder if setting it to "" is secure enough.
SetWindowText is a function in Win32 API, in user32.dll.
In the program:
SetWindowText(myHandle, "Hello");
SetWindowText(myHandle, "Goodbye");
//Was the buffer containing chars "Hello" overwrit...
I've calculated the range of projection with given angle, height and velocity. How can you draw a projection curve of that using GDI?
...
Hi. I'm writing a printing application and i having trouble with dmCopies field of DEVMODE structure. This field specifies number of document copies printed. When i print multipage document (two pages and more) - setting up dmCopies works fine, but when one-page document printed dmFields ignored. First i think that problem in my applicat...
While looking for alternatives to replace GDI, I was trying to test Delphi's 2010 TDirect2DCanvas performance in Windows 7.
I tested it by drawing a huge polyline using Direct2D and the result was absurdly slow, even with 500 times less data than the amount I've ran the same test using GDI (and I didn't even use a bitmap as backbuffer i...