Hi! I just want to know, how can I open an image file using C in Console mode... Yes... I don't want it to open in MSPaint or anywhere like that. I want to open a 16-color bmp image with VGA Graphics Driver using C in console mode. Actually this is what I want to do exactly. I am new to Graphics using C, and ofcourse creating images using C is a tedious job if the images are complex. So I want to create image outside C using MSPaint, save it in 16 color format (or more if possible), and then open it using C in console mode and further write a program using it as Background!
Please help...
Kartik_shashank 0 Newbie Poster
Recommended Answers
Jump to PostWhich operating system and compiler are you using?
Jump to Post>>Unfortunately, it is impossible to use a window proc on the console window
I just tried SetWindowLong() to hook into the WinProc inside the os, but it doesn't work. According to MSDNWindows NT/2000/XP: You cannot change this attribute if the window does not belong to the same process as …
Jump to PostLearn about win proc in this tutorial. But you probably don't have to worry about them until you start learning MS-Windows GUI programming.
All 10 Replies
Salem 5,265 Posting Sage
Kartik_shashank 0 Newbie Poster
Salem 5,265 Posting Sage
Duoas 1,025 Postaholic Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Duoas 1,025 Postaholic Featured Poster
Kartik_shashank 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Duoas 1,025 Postaholic Featured Poster
gowthamsettu -6 Newbie Poster
Ancient Dragon commented: And you didn't even bother to read this thread?? -6
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.