Thread: Borland graphics |embarrased|

  1. #1
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265

    Borland graphics |embarrased|

    how do I set my BGI window into full screen mode?
    (and please don't tell me "google" cuz trust me that I have tried searching there)
    (humm and don't kill me for using this kind of graphics, I tend to be lazy O: )

    thanks (:
    Last edited by gavra; 08-25-2008 at 12:44 PM.
    gavra.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Press ALT-Enter.

    There is no way that Borland Graphics itslef can do that, since it doesn't know how to call any of the Windows functions that would potentially be able to do that. It is a DOS compiler, and DOS compilers do not have capacity to call Windows.

    [It's also worth noting that the Windows DOS box emulator is running as a separate process from your actual application, and the console output is performed by this second application on behalf of your appliction].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    XD (it works only for the console window)
    and I have created a full screen function for this and all I had to do is "ALT ENTER" XD

    Ok, I understand (event though it seems to be weird cause once I saw the BGI window in full screen O_o).

    and about that seperate processes how do I make the console to be unseen?

    thank you (:
    gavra.

  4. #4
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by gavra View Post
    XD (it works only for the console window)
    and I have created a full screen function for this and all I had to do is "ALT ENTER" XD

    Ok, I understand (event though it seems to be weird cause once I saw the BGI window in full screen O_o).

    and about that seperate processes how do I make the console to be unseen?
    Not quite sure how you mean - do you mean minimized? Again, it's a message from Windows to the process that handles the console IO.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #5
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    humm no I mean that the program will be running at the background
    gavra.

  6. #6
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    If I understand you correctly:

    1) Make a shortcut to Turbo C

    2) Right click on that shortcut and select "Properties"

    3) Edit the graphics portion of those properties to make it full-screen, whatever.

    4) Click Apply and Save, and exit.

    Start it using the shortcut.

    That's all I did, and it's full screen for me.

  7. #7
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by gavra View Post
    humm no I mean that the program will be running at the background
    You mean with no window at all? In that case you need to use FreeConsole. Of course, again, it only works in Windows, not in real-mode DOS.

    --
    Mats
    Last edited by matsp; 08-26-2008 at 02:18 AM.
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  8. #8
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    Adak thanks but I'm not using turbo C (or any ader ancient compiler).

    yea that's what I meant, (you seem to be a little bit surprised) is that "freeconsole" is complicated? O:

    thank you both (:
    gavra.

  9. #9
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    The subject is Borland Graphics - I wasn't aware you could use that with any other compiler than old Borland ones... So you are either contradicting yourself, or you are asking questions about two completely different problems in the same thread.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  10. #10
    Registered User gavra's Avatar
    Join Date
    Jun 2008
    Posts
    265
    Ok sorry don't get angry please, I'll open a new thread for the ader problem.
    And ofcurse you may use graphics.h with DEV all you need is to put the header on the include folder and add extern lib (.a) and a few parameters for your linker.
    ohh see this link: http://www.uniqueness-template.com/devcpp/
    or this one: http://www.onecore.net/dev-c-graphics.htm
    there you got everything you need.
    gavra.

Popular pages Recent additions subscribe to a feed