CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    20

    variables problem

    hello.


    i have a problem with using a variable that delecared in my main file.
    this is my main file look like
    this is the file startdlg.h

    class CStartDlg : public CDialog
    {
    // Construction
    public:
    CStartDlg(CWnd* pParent = NULL);

    // Dialog Data
    //{{AFX_DATA(CStartDlg)
    enum { IDD = IDD_START_DIALOG};
    BOOL m_automatisch;
    CString m_iResult;





    i wanna get the value off m_automatisch in a other Class how can i assign the m_automatisch for use in my other class.




  2. #2
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Re: variables problem

    Hiya there..
    if i understood you currectly
    you need to get its value from ANOTHER class??
    is it dialog based app?
    as i see the name of the H file it the first dialog that loaded?

    im lil confused.. ;-)

    kishk91




    [email protected]
    http://www.path.co.il
    ICQ: 13610258

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