/*
//If it concern only two coördinates, you have WPARAM and LPARAM to store those values.
//Of course you may need to send more than two value with your message into two param..
//In this case you can use other MACRO's as MAKELPARM, MAKEWPARAM,....
//
//This is an demo that show the two...
I'm not so sure what you exactly want
But I hope this will help you
.....
POINT pt;
pt = MAKEPOINT(lp);
GetyourCoordinateFunction(...,&pt,...,
DoYourStuffFunction(...,pt.x,pt.y,...,
You can extract the x and y coordinates from LPARAM
variable such as lp by using the Macros:
LOWORD(lp) equals...
Dear,
I would suggest:
Determine how the fields are separated:
for instance
1234 5678 xywz
the spaces between 4 and 5, are they space, a tab are the distance of an exact lenght
wherein a value fits.
Those info are needed to accomplish the task.
Then use AnsiString methods to parse the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.