Which api or ideal todo this? Thanks.

Please discuss general Delphi programming topics here.

Which api or ideal todo this? Thanks.

Postby david12345 » August 19th, 2004, 2:23 am

Hi,
Who known which api can 'control out of current program'?
That Mean:
I try to key in some text document on the 'microsoft notepad'.
such as 'Microsoft'.
then i use 'mouse point' OR 'highlight Select'the current word,
my delphi program show me something.( Such as: POP up the windows
, 'Is A Software Companny'.

I used delphi 5, any ideal todo this?
thanks.
david12345
Active Member
Active Member
 
Posts: 14
Joined: February 10th, 2004, 5:26 am

Postby Johnny_Bit » August 27th, 2004, 6:58 am

it's preety easy in windows api. I mean using SendMessage() with correct params. i'm sure it's well describled in delphi's help or Windows SDK with your delphi
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am

Postby david12345 » August 28th, 2004, 4:07 am

Thanks. But Any More Detail ?Or Website Can help ?

[quote="Johnny_Bit"]it's preety easy in windows api. I mean using
david12345
Active Member
Active Member
 
Posts: 14
Joined: February 10th, 2004, 5:26 am

Postby Johnny_Bit » August 31st, 2004, 6:47 am

Well... in editor type SendMessage and press F1, and you'll get help for it. Messages constants are in messages.pas, just read it and you wil have enought info, if not then try Help->Windows SDK and find message that interest you most.
Johnny_Bit
VIP Member
VIP Member
 
Posts: 455
Joined: June 15th, 2003, 9:56 am


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron