Once you have set the position of the cursor, just use the normal input methods to get the data from the user. Here's a version using gotoxy() (I wrote it under Borland 5.5). It doesn't use the mouse input to set the position, but this is irrelevant at this point.
Originally posted by GaPe
When I put the cursor on some x,y coordinate then I must be able to enter some data (string or a number). There must be a WINAPI function for this. I've looked into MSDN but I found nothing.
Is this the kind of thing you mean?
printf ("enter name>");
fgets(name, 10, stdin);
printf("Hello %s", name);