Re: getClirentRect

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
dcole said...

How can I getClientRect ( ControlId )?

ControlId being the window created by bin/exw.exe.

Don Cole

I'm not sure what exactly you are asking for but I'm guessing you want Program-A to get the size of a window that happened to be created by Program-B.

If are developing both programs, you could set up a private API such that Program-A can send a message to Program-B requesting the information. Do some research on Inter-Program Communication for this approach.

If you have no control over Program-B, then you need to use the Windows API to get the information once you have made Program-A find the handle to the window. This requires that Program-A knows what the window Title would be ... would that be known to Program-A?

By the way, what are you planning to do with the size information once you get it?

Thank you Derek,

For your nice reply.

I decided I was going about it all wrong and abandoned the whole project.

Don Cole

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu