CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    How to use CProgressCtrl?

    I am now doing a project about Neural Networks using VC++ and got a problem when using the progress control. I want to use this
    control to show the progress of training. Is there anybody can help me?



  2. #2
    Join Date
    Apr 1999
    Location
    Davenport, Iowa, USA
    Posts
    158

    Re: How to use CProgressCtrl?

    Hello,

    First you need to assign a variable to the progress control. For example: m_progress.

    Then Set the range as follows:
    m_progress.SetRange(0,200);

    Then set the position as follows:
    m_progress.SetPos(10);

    Hope this helps.

    Matt


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