What exactly is mouse handling? Do you mean reading mouse input? DirectInput is an expensive solution - there may be some simpler methods in the Win32 API.
mean to say that how i can handl mouse in clicking , drag drop.... and other activities
Right - that's mouse input. You need to be able to know when and in what direction the mouse moves and when buttons are pressed. Like I said - you can use DirectInput.
What OS are you using?
If you are using a GUI, what GUI toolkit are you using?
If you are on Win32 console, you should check out Microsoft's Console Function reference.
Here is an example.
If you are on Linux console, you should check out NCurses, which can do mouse interfacing.
If you are using a GUI, look in your toolkit's documentation.