Hi All,
My application is Client/Server based. In Client application, I have to change the cursor to wait cursor when the control enters into function1() till the execution of function 2() completes. function1() is a button click event of an atl dialog and function 2() is a normal method which is called by an asynchronous call back function which is called by server application.
function 1 ()
{
m_pWinApp->BeginWaitCursor();
.........do some process.............
}
function 2()
{
---------do some process.........
m_pWinApp->EndWaitCursor();
}
Please help me to achieve this. Thanks in advance!!
Nalini