Scrollbar In Dos Window

This is a discussion on Scrollbar In Dos Window within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Im wondering if someone could tell me how you enable a scrollbar in a DOS window as I need one ...

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    13

    Unhappy Scrollbar In Dos Window

    Im wondering if someone could tell me how you enable a scrollbar in a DOS window as I need one but can't figure out how you get it.

    Also, is there updated versions of DOS that you are able to download from somewhere?

    Thanks for any help in advance!

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    No idea of how to place scroll bars in Dos. Now if you talking about MS-DOS (which I'm willing to bet) its been dead for all tease and purposes since Dos 6.22. Hell with XP Microsoft said goodbye to the dos prompt all together.

  3. #3
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Unless you have areally good graphics framework/class library, you'll have to do this manually. Creat the bars of color, buttons, and the tab. The position of the tab you would calculate with a function that calculates the ratio of lines prior, and lines to come, and convert that to a number divisible in the scroll bar (My ISCL Library (Information Storage Class Library) sounds perfect for this - contact me by email!). Then, hopefully you have an event-handler system in place. When the scrollbar is clicked, perform the appropriate action. Hope this helps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WM_CAPTION causing CreateWindowEx() to fail.
    By Necrofear in forum Windows Programming
    Replies: 8
    Last Post: 04-06-2007, 08:23 AM
  2. 6 measly errors
    By beene in forum Game Programming
    Replies: 11
    Last Post: 11-14-2006, 10:06 AM
  3. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 10:17 AM
  4. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21