Example Image: http://img710.imageshack.us/img710/4310/cropexample.png

I need to make a cropping tool such as the on in Photoshop ( Fig.2 )
So is there a way to do selective area transparency( Fig .1 ) ( I have only done whole window transparency )
Because the only way I can think of doing it so far is to make 4 rectangular windows to wrap around the area( Fig .3 ).

Bumped, Also I am trying to get a process's attached console window. I cant get a function to get a process's HWND from their PID.
Plus using FindWindow() would always find the first console window open, so it could sometimes be stuck on the wrong one.

commented: don' -5
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.