Well, I have been using theForgers win32 api tutorials, but I dislike like how it takes you through creating a MDI editor for a tutorial on using controls etc.... I also use msdn as a reference (which I love =/ ).
Also, once I have created a edit box, I want to be able to insert text in it by clicking on stuff(such as a button). Basically was wondering how I could edit my edit box by receiving a message. Also to make it so you can't type in it.
would I do something like this:
basically, re-create my edit box through the BN_CLICKED message?Code:WM_COMMAND: //bleh switch(HIWORD(wParam) { BN_CLICKED: HWND hEdit; hEdit = CreateWindowEx(/*bleh*/); } break;
EDIT:
I just realized I dont want to do that, then it would completely create a new edit box over the old one.... =/ can someone explain to me what I should be doing?