Hey please help quickly.

I wanna change the cursor that you have when your mouse is in a window you made, when you click a button, how can I achieve this, I have made the button, I have made the message telling the window the button is clicked, how do I change the cursor ? Because this is in a whole different scope then when the cursor was called the first time.
closed account (Dy7SLyTq)
sdl can i believe
I need to do it through Win32
closed account (Dy7SLyTq)
does this help?
Yeah, but how does it know what window to make the cursor popup with? :o theres no hwnd call
closed account (Dy7SLyTq)
sorry im at a loss now
Thanks anyway, maybe you can answer one of my other questions, like when you make a window applications how do you make the command prompt go away without completely closing the program? :o
closed account (Dy7SLyTq)
are you in code blocks?
closed account (Dy7SLyTq)
i copied this from an sdl tutorial and the instructions are just a little out of date but they work
Now start up Code::Blocks and create a new empty project.

Then save the project where ever you want. I know Code::Blocks has an SDL project template, but I personally found it to be more combersome than doing things manually.

7)Next, go to the project -> properties.

8)Under the Build Targets tab, set Type to "GUI application". This is to make sure a console window does not pop up.
Well at one point I will need the console window, just not right off the bat. xD That does make things rather annoying, but thats what has to be done.
closed account (Dy7SLyTq)
worst case scenario: system("command");
Topic archived. No new replies allowed.