|
-
May 17th, 1999, 09:48 PM
#1
How to put wait cursor while connecting to database
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.
-
May 18th, 1999, 12:58 AM
#2
Re: How to put wait cursor while connecting to database
Look into BeginWaitCursor() and EndWaitCursor()
-
May 18th, 1999, 04:02 AM
#3
Re: How to put wait cursor while connecting to database
I wold create the CWaitCursor in my view class,
at the beginning of OnInitialUpdate()
Rajaraman
-
May 19th, 1999, 09:40 PM
#4
Re: How to put wait cursor while connecting to database
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|