: How do I create buttons in ms-dos using C? : You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation.
: : How do I create buttons in ms-dos using C? : : : You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation. : : Walt : : : Hi, I Build a Graphic lib for the VESA mode 0x118 (1024x768x24Bit) here. I will upload it as soon as Posible to my website. You can download my assembler and compile a file named Pmode2, there is a sample code how to made a button, you have to Run it from MS-DOS realmode since it entering to Pmode. http://city.boleh.com/~vampire_strikes/DownLoad/DownLoad.htm.
Pharabee, VBE 2.0+ doesn't require OEMs to support the pre-defined mode resolutions so you'd have to search for them at runtime using the API for maximum compatibility. I'm writing a 16-bit Pascal SVGA library that uses 386 instructions and sadly it's not as easy anymore as setting up mode 13h and drawing to one segment, but it allows for a great many resolutions without them having to be initially defined by VESA. This is my reference: http://www.vesa.org/vbe3.pdf
Comments
:
[blue]You don't. You need a graphics OS for that, like Windows[/blue]
:
You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation.
Walt
: :
: You have to draw/create the buttons within your program using graphic calls for lines, rectangles, colors. I have a DOS program at http://wpattinson.com/bombsrch.zip you can download to see this technique in operation.
:
: Walt
:
:
:
Hi, I Build a Graphic lib for the VESA mode 0x118 (1024x768x24Bit) here. I will upload it as soon as Posible to my website. You can download my assembler and compile a file named Pmode2, there is a sample code how to made a button, you have to Run it from MS-DOS realmode since it entering to Pmode. http://city.boleh.com/~vampire_strikes/DownLoad/DownLoad.htm.