CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 1999
    Posts
    17

    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.


  2. #2
    Join Date
    May 1999
    Posts
    82

    Re: How to put wait cursor while connecting to database

    Look into BeginWaitCursor() and EndWaitCursor()


  3. #3
    Join Date
    Apr 1999
    Location
    Delhi, India
    Posts
    32

    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

  4. #4
    Join Date
    May 1999
    Posts
    17

    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
  •  





Click Here to Expand Forum to Full Width

Featured