Click to See Complete Forum and Search --> : How to put wait cursor while connecting to database
junpin Li
May 17th, 1999, 09:48 PM
I use SDI for ODBC application and create my own login dialog. When running the application, the login dialog shows up first, then I tried to put wait cursor (CWaitCursor) before I called CDatabase.Open()(in document) but failed to get waitcursor. Can someone tell me why? Thanks.
Dan Haddix
May 18th, 1999, 12:58 AM
Look into BeginWaitCursor() and EndWaitCursor()
Rajaraman
May 18th, 1999, 04:02 AM
I wold create the CWaitCursor in my view class,
at the beginning of OnInitialUpdate()
Rajaraman
junpin Li
May 19th, 1999, 09:40 PM
I tried to use BeginWaitCursorand EndWaitCursor. It seemed not working. However I do find that the I-beam cursor appears while accesing database (even when I use CWaitCursor). Maybe the CDatabase.Open() forces the cursor to be I-beam. I don't have any clue. Thanks anyway.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.