I've looked all over but can't find an example of how this can be done.
I know it is not recommended, but if someone knows how to directly
write "Hello World!" directly to the desktop I would be grateful.
-Thanks
I've looked all over but can't find an example of how this can be done.
I know it is not recommended, but if someone knows how to directly
write "Hello World!" directly to the desktop I would be grateful.
-Thanks
Do you mean a file called hello world.txt
Or a whole mess of in your face pixels?
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
To write sth. on the desktop you need to:
1. Get the handle for the Desktop
2. Create a Device context
3. Draw your text
4. Release the device context
Text and Fonts
Win32 Tutorial - Lesson 9: The Graphical Device Interface