Home » Category » Microsoft Visual C & C++

Microsoft Visual C & C++: print selected region

202| Thu, 07 Feb 2008 21:49:00 GMT| phruby| Comments (2)
I've writen a drawing program. I want the user to be able to lasso a region and print only what is inside that region and not what is outside that region also. Any thoughts about how to go about doing this?

Keywords & Tags: print, selected, region, microsoft, visual c++, vc

URL: http://www.7prog.com/visual-c-c++/235693/
 
«« Prev - Next »» 2 helpful answers below.
catch WM_MOUSEMOVE, check the buttons and if it press - paint the lasso

Other way. catch WM_LBUTTONDOWN and save the state. In WM_MOUSEMOVE check the state and if it true - paint the lasso.

On WM_LBUTTONUP - set state to false.

alexey_1979 | Sat, 10 Nov 2007 08:38:00 GMT |

Ok. I know how to lasso the region. Now how do I print that region only?

phruby | Sat, 10 Nov 2007 08:39:00 GMT |

Microsoft Visual C & C++ Hot Answers

Microsoft Visual C & C++ New questions

Microsoft Visual C & C++ Related Categories