Thread: using borland c++ builder 6

  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    3

    using borland c++ builder 6

    Hello,

    I am just starting to use borland c++ builder and I am not familiar with using the visual stuff. I've done c++ programming and I was wondering if someone who is familiar with borland could explain how to show an image after I run a function and it completes correctly. I already have a program running and I click a button and it runs a function. I want it to check if the function ran correctly and then display an image for correct and for not correct. I figure that someone who knows what they are doing in borland could tell me quickly "oh click this and this" and be done rather than me dig through manuals for hours.

    Thanks

  2. #2
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    Wouldn't a call to MessageBox() or similar be an easier solution?

  3. #3
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    It's been a few years since I used any sort of borland builder but I think a TPicture or TImage control may be what you're looking for.

    >>me dig through manuals for hours<<

    It would be advisable for you to begin this sooner rather than later.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  4. #4
    Registered User
    Join Date
    Aug 2006
    Posts
    3
    would it? see i am not very familiar with what the best thing to do here is. does a call to a message box just open up a message box saying it completed correctly? if so, then yes that will work. could you explain how to do that with in borland? in the function definition, after it completes, can i just put something like if(completes) MessageBox() or something? please elaborate on how to do this.

    thanks

  5. #5
    Registered User
    Join Date
    Aug 2006
    Posts
    3
    well this is really just a one time project sort of thing. i don't plan on programming too much more but this just kind of got thrown on me. i didn't write the original program but i am just trying to modify it so its more user friendly as far as feedback goes.

  6. #6
    Registered User OnionKnight's Avatar
    Join Date
    Jan 2005
    Posts
    555
    Code:
    #include <windows>
    
    if (completed)
    	MessageBox(NULL, "", "Function finished successfully.", MB_OK);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 11:23 PM
  2. Converting from Borland Builder -> MSVC++ guide?
    By _Elixia_ in forum Windows Programming
    Replies: 4
    Last Post: 08-02-2003, 09:00 AM
  3. TAutoObject: Builder 1.0 vs. 6.0
    By pimming in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2003, 10:47 PM
  4. Dynamically programme in C++ Builder..Help
    By Gugge in forum C++ Programming
    Replies: 2
    Last Post: 08-01-2002, 12:14 PM
  5. borland c++ builder 6 trial
    By Klinerr1 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2002, 11:59 PM