I have the text working
I have the text working
>>> I couldn't care less how it works if it does what I want it to do
You won't go very far with an approach like that - friendly advice.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Probably not, but will giving up get me farther?
Now... how do I make a text edit box and a button, then when the button is pressed the text in the box is set to a char array? And how do I make a button press call a function?
PLEASE don't post a URL, I never find what I'm looking for... they don't help :/
All the information you need to get going has already been provided. You will learn very quickly that people who choose to help others here tend to be a LOT more helpful with people who are willing to put a little effort in themselves.Originally posted by SMB3Master
Now... how do I make a text edit box and a button, then when the button is pressed the text in the box is set to a char array? And how do I make a button press call a function?
PLEASE don't post a URL, I never find what I'm looking for... they don't help :/
Search this board for more information; read up on msdn - the windows controls link I mentioned earlier in this thread is a very good starting point and you should, if you read it thoroughly, find a few simple examples and discussions that will help. Also, the link I provided to Adrianxw's sample code from this very board also has some advice on where to get more information. If links don't work then try them later; I couldn't get near cprog for a while a few hours ago (the link to Adrianxw's example works perfectly well just now).
If you follow this simple advice you will be helping us all to help you.
Things to look up/read up on: CreateWindowEx - used to create controls; WM_COMMAND - message which controls use to communicate with their parent window (generally; referred to as notification messages); BN_CLICKED - notification messages sent to the parent of a button when that button is clicked; SetWindowText - changes the text/caption of a control if it has one.
>>> Probably not, but will giving up get me farther?
Frankly, yes.
Solving the technicalities of a problem is the fun bit, the creative bit, whatever. You can always find help there.
Establishing the problem to solve requires a mind-set. When you have a customer who does not really know what they want, but they know they have a problem. A fumbling, errrrmmm, I don't know, I'll ask someone else, errmm, or search the web, errmmm, or...
Let me cut it short, the customer will tell you to "go away", or maybe less polite.
Programming is about solving problems, if you aren't up to solving problems, then yes, giving up will probably get you further. You'll do something else.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Well I'd have to disagree with that, I'm not giving up.
Way to go SMB3Master thats the spirit.
I Started driving cars years ago and took no lessons or tried to practice, i just kept getting in to cars and crashing them, so far i've wrecked 104 cars and still going strong.
Can anyone tell me how to drive a car, no links or instructors please, can someone just inject it into my head while i'm sleeping that way its easier for me.
It is unreasonable to expect to advance in Windows programming if you don't know how things work. It sounds to me like you lack a basic understanding of Windows programming. I would suggest reading the tutorials here:
http://winprog.org/tutorial/
Best of luck to you, and don't give up! ^_^
Get Windows Programming from the Ground Up by Herbert Schildt and read it. I just started it (on chapter 3) but I can tell already that it's good.
Away.