Thread: Splash screen in borland C++ builder

  1. #1
    Registered User
    Join Date
    Apr 2006
    Posts
    22

    Question Splash screen in borland C++ builder

    Well guys,


    i've been working for days in a project, for the college, it's a solitaire game(klondike, like the windows famou card game), but i'm confused now, how should I congratulate the player of his victory?


    I thought in show a splash screen, but i don't know how to make them.

    Can you suggest me, ou give me an example of a splash screen?

    I'm C programmer, my project is in C++, becaus the teacher did the graphical interface using chai3d(an API that uses C++), and we, the students, did the "dirty-work" in C.

    So please, be patiente, I'm newbie in C++.

    Thkx for the help, and sorry about my poor english.

    Paulo.Vitor.BAL

  2. #2
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Mayhaps instead of a splash screen, a message box instead?
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    >a message box instead?

    Code:
    MessageBox(NULL, "C O N G R A T U L A T I O N S!", "YOU WIN",
              MB_ICONEXCLAMATION | MB_OK);
    One simple example of a message box
    Double Helix STL

  4. #4
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    Assuming you're using win32.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  5. #5
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    >Assuming you're using win32.

    I went on that assumtion, but you never know he may be.
    Double Helix STL

  6. #6
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I assumed you assumed he was, but in case that assumption was wrong, I wanted to tell him
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  7. #7
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Ok, you win. You can tell him
    Double Helix STL

  8. #8
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I'll wait until he tells us if he is using Win32. If not, to provide anything I'll need a platform.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  9. #9
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Yes, but the vast majority of people use WIN32 anyway. But you are right, it is best to find out from the OP before any real help can be offered
    Double Helix STL

  10. #10
    Registered User
    Join Date
    Dec 2005
    Location
    Canada
    Posts
    267
    if he's new to C++, wouldn't he be doing console programs?

  11. #11
    Registered User
    Join Date
    May 2006
    Posts
    903
    He didn't say he was new to C though. The Win32 API is written in C.

  12. #12
    Registered User
    Join Date
    Apr 2006
    Posts
    22
    well, sorry, i'm usin win32, because this is the only one, that supports chai3D perfectly.


    It works perfectly, thx!

    thx to show me another way to congrat the player!



    thx a lot


    Paulo.Vitor.BAL
    Fiat Voluntas Tua

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with splash screen
    By h3ro in forum Windows Programming
    Replies: 13
    Last Post: 08-31-2008, 10:16 AM
  2. Feedback: Functional Specification Wording
    By Ragsdale85 in forum C++ Programming
    Replies: 0
    Last Post: 01-18-2006, 04:56 PM
  3. char copy
    By variable in forum C Programming
    Replies: 8
    Last Post: 02-06-2005, 10:18 PM
  4. i am not able to figure ot the starting point of this
    By youngashish in forum C++ Programming
    Replies: 7
    Last Post: 10-07-2004, 02:41 AM
  5. Splash Screen not centered
    By BianConiglio in forum Windows Programming
    Replies: 5
    Last Post: 04-11-2004, 01:41 PM