Thread: passing value from one dlg to another

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    There are several options:

    1. Create the search object on the heap and retrieve the values from it later.
    2. Store the results in class members after the search dialog is done. Then when it goes out of scope you will have saved the important data you may need for later.

  2. #2
    Registered User
    Join Date
    Nov 2007
    Posts
    74
    Quote Originally Posted by Bubba View Post
    There are several options:

    1. Create the search object on the heap and retrieve the values from it later.
    2. Store the results in class members after the search dialog is done. Then when it goes out of scope you will have saved the important data you may need for later.
    thank you for your suggestion, but i dun know how to use heap, is it a must to use heap or is there any other way? thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newb Question on Passing Objects as Parameters
    By Mariano L Gappa in forum C++ Programming
    Replies: 12
    Last Post: 11-29-2006, 01:08 PM
  2. Replies: 7
    Last Post: 04-19-2006, 11:17 AM
  3. Passing by reference not always the best
    By franziss in forum C++ Programming
    Replies: 3
    Last Post: 10-26-2005, 07:08 PM
  4. passing by address vs passing by reference
    By lambs4 in forum C++ Programming
    Replies: 16
    Last Post: 01-09-2003, 01:25 AM