CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Guest

    Disabling a Button, and executing other progs...

    I'm having 2 major problems right now. First, I need to find out how to disable a button(stop laughing, I'm new). I also need to know how to Winexec something and after that's done, Winexec something else. Please help.


  2. #2
    Join Date
    May 1999
    Posts
    82

    Re: Disabling a Button, and executing other progs...

    I don't know about the second question (I still pretty new at this too), but I do know the first one. Just use something like this...

    CButton* pB = (CButton*)GetDlgItem(IDC_BUTTONNAME);
    pB->EnableWindow(FALSE);


  3. #3
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: Disabling a Button, and executing other progs...

    Try ShellExecute() or ShellExecuteEx()

    Sally


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