Pleas give me some idea about screen highlating using mouse.ie,When user dragging the mouse on screen,that much area of screen should be highlite,just like a paint application,picture selecting when dragging with mouse.what and all system function i have to use,& in which handler i should write the code.please help me
If you're talking about your application's windows (you do say, like a paint app') then this example from Petzold's book Programming Windows might help.
(I did Google to see if there was anything else of use, but rubber banding is hard to look for. The key thing is that the basic GDI approach involves mouse moves and the SetROP2 command (see MSDN for details about it.) A more complicated approach is required if you use GDI+ instead or GDI.