Couple of questions on VC++


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Couple of questions on VC++

  1. #1
    curious Guest

    Couple of questions on VC++


    In Microsoft Visual C++ V.5
    How do I prevent dialog based program from exiting when I have a EDIT BOX
    and
    press a Carriage Return?

    How do I access a variable a entered in one dialog box, from another dialog
    box.

    thanks for help

  2. #2
    eejay Guest

    Re: Couple of questions on VC++


    "curious" <piot_rek@yahoo.com> wrote:
    >
    >In Microsoft Visual C++ V.5
    >How do I prevent dialog based program from exiting when I have a EDIT BOX
    >and
    >press a Carriage Return?


    Hold down the Ctrl button when you press enter.

    >
    >How do I access a variable a entered in one dialog box, from another dialog
    >box.
    >


    Give dialog box1 and two a distinct variable name thru the class wizard.
    In your code, do an assignment.

    m_sBox1 = m_sBox2;



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center