Function to get hwnd & class for INFOCUS edit control

I require a function to enable me to retrieve the handle and preferably class and text from the infocus edit control in another application.

Perhaps if I explain what my app does it may help :

1) User launches app.

2) User chooses a hot key combination and minimizes my app.

3) User opens another app like notepad, wordpad etc.

4) User starts to edit text and then hits the hotkey

5) My app picks up the hwnd of the currently in focus control so that I can get at the text.

Now 5 is where I'm having the trouble.

I know how to get the hwnd of the currenly active window the user is in.

I know how to work out what class the control is if I have the hwnd of the control (i.e. infocus edit control)

I know how to retrieve the hwnd of a control if the mouse pointer (cursor) is over it.

But I cant figure out how to retrieve the infocus edit controls hwnd without sticking the mouse pointer over it first, which of course is not very good.

## Deliverables

1) Complete and fully-functional example of use including function (source only is fine)

2) Installation package not required.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc.)

## Platform

Windows 95, 98, ME, NT4, 2k, XP

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic

Veja mais: infocus, app notepad, amp control, visual basic edit, out source my app, hotkey, edit text, control M, enable php function, amp visual basic, visual basic amp, windows app course, cursor class, windows user control, user control example, text mouse cursor, class required, class work, app hot, application hits, user class, mouse cursor windows, php user class, php use class, function edit php

Acerca do Empregador:
( 8 comentários ) United Kingdom

ID do Projeto: #2986532

Concedido a:


See private message.

$17 USD em 14 dias
(50 Comentários)

6 freelancers are bidding on average $22 for this job


See private message.

$25.5 USD in 14 dias
(477 Comentários)

See private message.

$42.5 USD in 14 dias
(74 Comentários)

See private message.

$8.5 USD in 14 dias
(163 Comentários)

See private message.

$21.25 USD in 14 dias
(27 Comentários)

See private message.

$17 USD in 14 dias
(2 Comentários)