Thread: Update

  1. #1
    Registered User
    Join Date
    May 2003
    Posts
    44

    Exclamation Update

    Things still aren't working so well...

    but I've assigned the button a command ID as you said, and I got the daft error about the bracket thing...

    SO

    I swapped the ID...whatever with just a number so I had:

    MyButton.idCommand=50000; (40000 ones are took...I checked)

    and then

    hMyButton=GetDlgItem(hMyButton,50000);
    if(hMyButton==NULL){
    cout<<"failed on the handle\n";
    }

    But it keeps failling there...

  2. #2
    Registered User
    Join Date
    May 2003
    Posts
    44
    hrm....this was meant to be a reply in my previous post... ...so sorry for that!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Polymorphism; Update functions and accessibility
    By CaptainMaxxPow in forum C# Programming
    Replies: 2
    Last Post: 04-23-2009, 08:48 AM
  2. SQLite not performing update
    By OnionKnight in forum C Programming
    Replies: 0
    Last Post: 01-21-2009, 04:21 PM
  3. July 9 2008 MS XP Update
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 07-18-2008, 05:14 AM
  4. CProgramming.com should update their tutorials.
    By PorkyChop in forum C++ Programming
    Replies: 17
    Last Post: 09-19-2004, 10:51 PM
  5. array update
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 03-12-2002, 04:52 PM