HELP NEEDED FOR GRAPHICS LIBRARY!!!
-
i'm in the midst of a mini project and i would like to know the library for graphics for Visual C. library as like example: #include is for the standard input and output. I would like to those who know to help me as i'm desperate! Thank you! :confused: Jan
-
i'm in the midst of a mini project and i would like to know the library for graphics for Visual C. library as like example: #include is for the standard input and output. I would like to those who know to help me as i'm desperate! Thank you! :confused: Jan
What do you want this library to do ? What form does your project take (MFC/Win32/ATL/etc ) ? GDI is there as standard, GDI+ requires you to install the platform SDK and distribute a DLL, it also does not work with Windows 95. You need GDI+ or an external library like CXImage to load and save images, but other than that I can't help unless you provide more info on what it is you need. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
What do you want this library to do ? What form does your project take (MFC/Win32/ATL/etc ) ? GDI is there as standard, GDI+ requires you to install the platform SDK and distribute a DLL, it also does not work with Windows 95. You need GDI+ or an external library like CXImage to load and save images, but other than that I can't help unless you provide more info on what it is you need. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
thanks for replying! i want to draw boxes with my own dimensions and maybe something like give the boxes a depression feel when the options entered from the key board.
the function is something like that: void draw_menu(char na[]) { settextjustify(0,0); setcolor(LIGHTGREEN); //{ settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(180,70,"Airlines"); //top inrroduction text settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(280,440,"Information"); //} setcolor(15);//border rectangle(0,0,639,479); BOX(55,167,291,223,0,na[0],14,1,7,12); //display schedule function box BOX(55,247,291,303,0,na[1],2,1,7,15); //display reserve function box BOX(55,327,291,383,0,na[2],15,1,7,13); //display available function box BOX(353,167,589,223,0,na[3],4,1,7,10); //display cancel function box BOX(353,247,589,303,0,na[4],1,1,7,14); //display list function box BOX(353,327,589,383,0,na[5],15,1,7,7); //display quit and save function box return; }
-
thanks for replying! i want to draw boxes with my own dimensions and maybe something like give the boxes a depression feel when the options entered from the key board.
the function is something like that: void draw_menu(char na[]) { settextjustify(0,0); setcolor(LIGHTGREEN); //{ settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(180,70,"Airlines"); //top inrroduction text settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(280,440,"Information"); //} setcolor(15);//border rectangle(0,0,639,479); BOX(55,167,291,223,0,na[0],14,1,7,12); //display schedule function box BOX(55,247,291,303,0,na[1],2,1,7,15); //display reserve function box BOX(55,327,291,383,0,na[2],15,1,7,13); //display available function box BOX(353,167,589,223,0,na[3],4,1,7,10); //display cancel function box BOX(353,247,589,303,0,na[4],1,1,7,14); //display list function box BOX(353,327,589,383,0,na[5],15,1,7,7); //display quit and save function box return; } and i am executing the program in dos mode.
-
the function is something like that: void draw_menu(char na[]) { settextjustify(0,0); setcolor(LIGHTGREEN); //{ settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(180,70,"Airlines"); //top inrroduction text settextstyle(TRIPLEX_FONT, HORIZ_DIR, 5); outtextxy(280,440,"Information"); //} setcolor(15);//border rectangle(0,0,639,479); BOX(55,167,291,223,0,na[0],14,1,7,12); //display schedule function box BOX(55,247,291,303,0,na[1],2,1,7,15); //display reserve function box BOX(55,327,291,383,0,na[2],15,1,7,13); //display available function box BOX(353,167,589,223,0,na[3],4,1,7,10); //display cancel function box BOX(353,247,589,303,0,na[4],1,1,7,14); //display list function box BOX(353,327,589,383,0,na[5],15,1,7,7); //display quit and save function box return; } and i am executing the program in dos mode.
A quick search of MSDN confirmed what I was pretty sure of - you're using functionality provided by your prior compiler. VC is not going to compile this code, and to be honest I have no idea how to draw boxes and so on in DOS mode. Why does your program have to be a DOS program ? How old is it ? Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
A quick search of MSDN confirmed what I was pretty sure of - you're using functionality provided by your prior compiler. VC is not going to compile this code, and to be honest I have no idea how to draw boxes and so on in DOS mode. Why does your program have to be a DOS program ? How old is it ? Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
honestly, using this VC, it was implemented by my institue and the C language is in Windows u know like a browser kind and the program is executed in dos.......it's always in dos mode i suppose, but i know we can execute the program in windows mode but i neednt go to that yet for my project. Jan.
-
honestly, using this VC, it was implemented by my institue and the C language is in Windows u know like a browser kind and the program is executed in dos.......it's always in dos mode i suppose, but i know we can execute the program in windows mode but i neednt go to that yet for my project. Jan.
Is this a dos program or a console application. What version of VC are you using? If it is Version 2 or greater I'd say you had a console application. Or is it using some kind of EasyWin library? Michael :-)
-
What do you want this library to do ? What form does your project take (MFC/Win32/ATL/etc ) ? GDI is there as standard, GDI+ requires you to install the platform SDK and distribute a DLL, it also does not work with Windows 95. You need GDI+ or an external library like CXImage to load and save images, but other than that I can't help unless you provide more info on what it is you need. Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.
-
This is the only console/graphic library article I'm aware of. http://support.microsoft.com/support/kb/articles/Q104/0/94.asp Hope it helps, Michael :-)
-
This is the only console/graphic library article I'm aware of. http://support.microsoft.com/support/kb/articles/Q104/0/94.asp Hope it helps, Michael :-)
Just to add another lib: PDCurses is a free curses library (console "graphics", and windows...) that also works for Win32.