I want to make program in WINApi -it is simple window with one textbox - if you will press key 'A',it jumps to textbox(like when you click on it,and then you will be able to write to it). Only thing I dont know is if in WINApi is a function which forces program to make textbox active without I had to click to it?
Change of problem - now I used
(IDB_TEXTBOX1 is command of my textbox)
,it is better cause it moves me to textbox,i have cursor here,but when I want to write , it doesn't write. When I post WM_KILLFOCUS then and move to it my mouse click ,then it works ok,but I want to click 'A' and then be able to write.I tried even another last two parameters like 0,1,IDB_TEXTBOX1 and 20 but nothing helps.
Could you tell me how to use this function properly?