MFC dialog application - how to update two windows

This is a discussion on MFC dialog application - how to update two windows within the Windows Programming forums, part of the Platform Specific Boards category; I'm trying to create a dialog application that has a main window that is always up (dialog1) and another dialog ...

  1. #1
    Unregistered
    Guest

    MFC dialog application - how to update two windows

    I'm trying to create a dialog application that has a main window that is always up (dialog1) and another dialog that can be one of many others as selected from dialog1.

    Problem is I want to keep both windows updating as I want display data from another computer via Ethernet.

    Any help or discussion on this topic would be much appriciated.

    Thanks.

  2. #2
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,854
    Try MDI, multiple document interface to have all the windows inside the main frame.

    Or just use the resource editor to add more dialogs.
    When the user clicks the control create and display the one they want. Another way is to create ALL the dialogs at start and hide the ones that are not needed until they are.

    My programs use info downloaded from a server and displayed on other dialogs selected from the main menu.

    As long as you can get the HWND of the dialog you want no problem.
    I always end up with paint on me though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows, MFC, .NET, C++ ???
    By alpha in forum Windows Programming
    Replies: 8
    Last Post: 08-07-2006, 02:31 PM
  2. Virtual keys
    By Arkanos in forum Windows Programming
    Replies: 4
    Last Post: 12-12-2005, 09:00 AM
  3. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  4. Creating a Dialog Based Application without MFC
    By MitchellH in forum C++ Programming
    Replies: 8
    Last Post: 05-21-2005, 10:02 AM
  5. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 01:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21