🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Screen - Taking Control

Started by
0 comments, last by Prozak 24 years ago
Hi all! Question: In Visual C++, with a window in full screen, can i get a pointer to the first pixel? The one in the upper left corner? I''m an Assembly/Pascal/VB/VC programmer, but completely new to windows and very hungry for graphics capabilities. Can it be done? Using a pointer to a memmory location, can I draw my graphics directly on-screen? Something like: Memmory[Pointer] = Value Pixel[Number] = Color Thanks all, Jadar Karenine
Advertisement
No, you can''t do it directly like that.
Windows screens that part of the inner workings VERY well.

The situation you describe is what DirectX was developed for, I suggest you look into that - specifically DirectDraw and it''s surfaces.


#pragma DWIM // Do What I Mean!
~ Mad Keith ~
It's only funny 'till someone gets hurt.And then it's just hilarious.Unless it's you.

This topic is closed to new replies.

Advertisement