Timeout in Visual C++

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tawanda diza
    New Member
    • Sep 2011
    • 29

    Timeout in Visual C++

    hie

    i am working on a certain project and what I want to do is to make one of my dialogs time out after 5minutes i.e if there is no activity for 5minutes, then it times out to the main menu

    The main menu dialog is called MrmDiagDlg

    Thanks in advance
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    So set a timer on the dialogue for 5 minutes and when it goes off exit the dialogue

    Comment

    • tawanda diza
      New Member
      • Sep 2011
      • 29

      #3
      Hie Banfa

      I am new to Visual C++, may you please help on how to exactly put a timer on a Dialog. This is what i am actually looking for. I don't know how to put a timer.

      Thanks

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        Well that rather depends on how you have developed your dialogue, particularly which of the various Windows libraries (WIN32, MFC, .NET to name the most common ones supplied by Microsoft) but since you have failed to give any actual detail of your project it is hard to say.

        Comment

        Working...