PDA

View Full Version : Scrollbar



PawelK
02-06-2003, 02:47 AM
Does somebody know how to destroy the scroll bar in a dos program and make it like in edit.com

Carlos
02-06-2003, 09:42 AM
Hi!

If I understand you right - please correct me if I'm wrong - you are trying to make DOS command prompt window's scrollbar(which runs under Windows!) look like DOS's edit?

You are probably mixing up some terms.

You have to change the windows style, but if you run your DOS prog in a command prompt window - and not fullscreen - there's no way to realize what you want to.

You should decide:
- build up a Windows app, and customize your UI as desired
- run your app under "pure" DOS

Besides (if I get you right), this has nothing to do with DOS programming -> it is a Windows programming issue.

Waldo2k2
02-06-2003, 09:30 PM
he's right, it's a windows question

but i have an answer for you, NO.
There's nothing you can do, not in a million years can you do anythying programmatically to get rid of that scroll bar. This is simply cause it's coded into the program, you can't just go and edit the bits of command.com (or in this case i think it's cmd.exe, you're running xp right??)
....well technically you COULD do it with a disassembler, but you'd need to know ASM, plus it's illegal.
anyhow, no, you can't do it.