Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. LucVerheecke

    Converting X,Y into LPARAM for WM_LBUTTONDOWN message

    /* //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...
  2. LucVerheecke

    Converting X,Y into LPARAM for WM_LBUTTONDOWN message

    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...
  3. LucVerheecke

    Parsing a TString

    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...

Part and Inventory Search

Back
Top