I created DIBPATTERN pens with ExtCreatePen API for custom pattern pens. It sucessfully draws desired lines on Windows XP,
what is the easiest way to drag an image ( or text)i开发者_JAVA百科n a wx window ? i need steps or a small example on how to do that.
I have a Process Control system. It has a huge 2D workspace where all the logic is laid out. The 2D workspace is a coordinate system.
I am doing sort of a limited graphics editor in a desktop applic开发者_如何学运维ation in c# 3.5 GDI. the user first selects an image which is shown in a picturebox control which is smaller in size so
I\'m adding SVG export support to an old application built with MFC and using plain old GDI. As SVG 1.1 doesn\'t support text wrapping, I am forced to do this manually.
How can I programmatically detect if a thread has windows handles on it for a given process? spy++ gives me this information but I need to do it programmatically.
Summary Using Windows GDI to convert 24-bit color to indexed color, it seems GDI chooses colors which are \"close enough\" even though there are exact matches in the supplied palette.
These days, I tries to create a hiden WebBrowser control in my program, and Using the IViewObject interface draw to my custom DC.
I\'ve got a problem with my MFC app. When I\'m trying to deserialize CBitmap from the archive and create new CBitmap, it doesn\'t properly load CBitmap\'s bits.
I want to implement a rubber function just li开发者_如何学Goke photoshop, but I hope the rubber just to erase the shapes that drawed on background without modifying the background. Now the background