Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

Changing the cursor to wait cursor

$
0
0

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


Viewing all articles
Browse latest Browse all 15302

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>