Home » Developer & Programmer » Forms » Use of WIN_API (sendmessage function) in forms (FORMS 6I)
Use of WIN_API (sendmessage function) in forms [message #412794] Sat, 11 July 2009 23:20 Go to next message
zakariyamp
Messages: 2
Registered: July 2009
Junior Member
How can i get a cursor position in a text box in forms 6i. This is to insert a text at cursor position in the text_item.
As far as i know we have to user win_api, sendmessage function.
How can i use sendmessage function in forms 6i. Please let me know with a code.
Re: Use of WIN_API (sendmessage function) in forms [message #413295 is a reply to message #412794] Wed, 15 July 2009 02:56 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Hey guys, didn't we answer this one sometime ago? There is some 'api' thingy that will move the cursor to the right and left, also to the beginning and end of the item. I just can't remember it today. Anyone remember?

David
Re: Use of WIN_API (sendmessage function) in forms [message #413890 is a reply to message #412794] Sat, 18 July 2009 03:25 Go to previous messageGo to next message
zakariyamp
Messages: 2
Registered: July 2009
Junior Member
Thanks martin for your concern. I searched the forum with the keyword api but i could not find anything related to this. Can i create a pll for the functions not provided in d2kwutil.pll? Sendmessage has all IN parameters and it is not a function but a procedure which will not return anything as per d2kwutil.pll. so i think my requirement cannot be satisfied in d2K.

Re: Use of WIN_API (sendmessage function) in forms [message #414611 is a reply to message #413890] Wed, 22 July 2009 23:21 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Have a look at http://www.orafaq.com/forum/m/169453/67467/?srch=beginning+highlight#msg_169453

Also search this forum for 'sendkeys' and perhaps 'win_api_shell'.

David
Previous Topic: Oracle Forms 9i - Printscreen
Next Topic: Porting Forms/Reports from AIX 5.2 to AIX 5.3
Goto Forum:
  


Current Time: Fri Sep 20 09:24:30 CDT 2024