GUI,BMP,paint,utility,similar,windows,Accesso
Quick Search for:  in language:    
GUI,BMP,paint,utility,similar,windows,Accesso
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
C/ C++ Stats

 Code: 451,578 lines
 Jobs: 605 postings

 
Sponsored by:

 

You are in:

 
Login



Latest Code Ticker for C/ C++.
Visual Pi Hex
By jo122321323 on 8/25


Click here to see a screenshot of this code!ShortCutSample
By Massimiliano Tomassetti on 8/25

(Screen Shot)

AnPMoneyManager beta
By Anthony Tristan on 8/24


A calculator (english/polish )
By Tom Dziedzic on 8/24


MMC (Mouse Move Counter)
By Laszlo Hegedüs on 8/24


Text-DB
By Jerome A. Simon on 8/24


JDos
By Jerome A. Simon on 8/23


Game 1945X
By Ozgun Harmanci on 8/23


Find hidden "back streamed" files on NTFS partitions. This code is a must for sec consultants.
By Israel B. Bentch on 8/22


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

A Paint Utility to Create BMP - for DOS

Print
Email
 
winzip icon
Submitted on: 2/28/2000
By: Uma Maheshwaran S.  
Level: Intermediate
User Rating: By 11 Users
Compatibility:C, C++ (general)

Users have accessed this code 15750 times.
 
(About the author)
 
     This paint utility is similar to the Paint we have in windows Accessories, but with a limited functions. But this paint can be executed in Dos Environment without the support of Windows. This is not a master piece application in this kind, but I have tried to simulate the windows controls, menus, popups, and GUIs in the simple C graphics functions. You will definitely find the Interface of this application quite interesting with Icons, Menus, Message Boxes etc. and these functions and procedures can be reused for any of your application in which you may want to add some GUI interface. This is fully Mouse Driven. Other feature is the Image that you create using this application is compatible to the Windows Paint UTILITY - that is you will get the ACtual BMP which will be recognised as BMP by any other applications.(like word etc). Please Vote High, if you find it worth enough.

 

INCLUDE files:

Can't Copy and Paste this?
Click here for a copy-and-paste friendly version of this code!

//**************************************
//     
//INCLUDE files for :A Paint Utility to 
//     Create BMP - for DOS
//**************************************
//     
standard c include files like graphics.h etc.
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.
 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Intermediate category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
4/10/2000 10:07:38 PM:Neeo
Hey,
THis might be a dumb question yet 
What version of C are you using??? I am 
using MS VC++ and well as you said 
standard???
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/15/2000 12:50:14 AM:Neeo
I tried compiling it in Turbo C 2.01 
and I get errors still any one got any 
ideas do I need to change the compiling 
format?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/7/2000 2:53:14 PM:superb!
hello i must first congratulate u on 
this excllent code. i struggled to make 
paint brush in vb6.0. my friend told me 
to make in c and i said it was 
impossible.. but this code made my UMA 
it is just fantabulous.... uma .. if u 
can just email me.. i want to 
personally congratulate you.. i really 
mean it! 
i showed to code to my 
friends and they too were just amazed 
at the code..
keep it up uma!!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/6/2000 3:23:54 AM:Nicole
I simply must congratulate u on 
this 
code. I tried to make 
paintbrush in 
C++ to no avail. Can't believe you did 
it in C. Keep it up!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/25/2000 6:46:05 AM:shahbaz humayun
i have a problem to executing this code
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/25/2000 6:48:16 AM:shahbaz humayun
hello friend i have problem to execute 
this code the error come graphics not 
initialized and undefined object 0.asm 
and a linker erroe whuch i cant  
understand
please e mail me full 
answer
thanks
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/27/2000 1:33:18 PM:Nikki
Good work.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/4/2001 7:55:34 AM:Sameer Potdar
What are the ICN files ? In which 
Utility r they created .?
  
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/22/2001 5:11:18 AM:sneha
hello Uma,
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/22/2001 5:14:42 AM:sneha
hey Uma,  I am having problems 
executing this code can u please help 
me in it!! i m getting and error which 
says BGI graphics not supported!1 what 
do i do?? please tell me what shud i 
do!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/21/2001 9:44:06 AM:Sergio
Which C compiler have you used to write 
it? I write code with MS C 6.00, I 
maybe interested to hire you as a 
remote consultant, are you 
interested?
scometto@libero.it
sergioc
ometto@aol.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/21/2001 9:46:20 AM:sergio
Hello Uma,
which C compiler have you 
used?
I work with MS C 6.00 (DOS) are 
you interested on some form of 
cooperation or consulting?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/10/2001 12:54:00 PM:Nick
Can anyone tell me how to overcome the 
BGI graphics not initialized error? 
It's driving me insane!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/22/2001 9:26:44 PM:atomicgerbil
i try to compile and it says it needs 
graphics.h and it doesnt exist. I also 
get a BGI Error: Graphics not 
initialized (use 'initgraph').
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/11/2001 6:38:32 PM:PURE_POWER
Hi,
nice work on ur paint program.
Im 
also doing something similar, its a 
GUI/OS similar to ur interface (a 
little better tho) heh sorry ur 
windows,buttons,menus and font dont 
quite cut it, and u dont support the 
standard windows right click menu.
My 
GUI/OS is a graphical replica of win95 
made in C using DJGPP and ALLEGRO.
If 
u or anyone else is interested in this 
plz email me 
Carrizzma_nz@yahoo.com
congrats 
again,
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
3/3/2002 6:42:38 AM:Amul
i m unable to download any codes form 
this site .... pls let me know about 
the reason .
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/6/2002 10:50:57 AM:jacob john
Sir...
This is about the code of Paint 
Shop 1.0 that u published on 
planet-source-code.com
On executing 
paint.exe i got an error like this 
"BGI error:Graphics not initialized 
(use 'initgraph')
On compiling the 
code i get an error message like this 
"Linker error : Undefined sumbol 
_main in module c0.asm"
What are the 
ICN files ? In which
Utility r they 
created .?
So please give me 
instructions to  make me run this 
code.....
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
5/21/2002 3:50:04 PM:somanath
simply great keep it up uma
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
6/23/2002 4:07:30 AM:Anon
What compiler should I use to compile 
this? It doesnt work with Turbo C 2.0, 
umm.. help :)
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
8/12/2002 1:51:22 PM:Azhar Khorasany
Hello
I am Azhar
Any one who might be 
getting the error Bgi graphics error 
should go to line no 22 and search the 
following graphics 
function.
initgraph(&driver,&mode,"")
;
Use the following line instead of 
the above 
line.
initgraph(&driver,&mode,"\\tc\\
bgi");
I am using Turbo C 3.0 and I 
think Turbo C 2.0 users wouldn't be 
able to run, instead they should use 
Turbo C 3.0
By the way Uma, this is 
quiet unbelievable. I have never seen 
such extraordinary work.
Keep it 
up!
Thanks
Azhar
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | C/ C++ Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.