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

    displaying DIBs onto a dialog box

    Hi Gurus ,
    I've displayed DIB onto a dialog box . I want to display another DIB
    onto same dialog box , after some button (next) is pressed .
    Even i'm invoking invalidate() in function like OnNextButton().
    I am getting some run-time error .
    Where I am wrong ?
    Or , is there any additional methods to achieve this ?


  2. #2
    Join Date
    Apr 1999
    Posts
    12

    Re: I've solved it but ...

    Hallo everybody ,

    i've solved that problem . What I(with one friend) tried is very funny .
    Actually we found no error in our program as we went thr' logical
    perspective of VC .

    Actually our class name & listing name was Select2Type.h & Select2Type.cpp
    Some days ago i've installed ie4 (active desktop) after that these 2 names
    were changed to Select~1.h & Select~2.cpp . I was puzzled at that time only .
    Then i tried opening those files having names Select2Type.h & Select2Type.cpp
    from project workspace . At that time VC environment told me that there are
    no such files , do u want to create it . Then i deleted those 2 files from
    project workspace , & added those 2 files named Select~1.h & Select~1.cpp
    into the project workspace . Then after that i made some changes in my code
    & then during execution i faced such problem of runtime error .

    Yesterday we simply made a new class having having small file names , with
    merely same code as previous , then it worked .


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