Hi again!
I have found a solution to my problem. I've used GetWindowPlacement API function to get the location of the window.
I've did something like this:
var appPl,chPl:TWindowPlacement;
appRect,chRect:TRect;
winX, winY:Integer;
...
appPl.length:=SizeOf(TWindowPlacement)...
Hi,
For what I need to do, whosrdaddy's solution is the best one. Thanks whosrdaddy.
Anyway mikca thanks for trying to help me.
I have one more question. Now that I have the child window handle, how can I get its position on the screen? I want to send a mouse click event somewhere in that...
Hi !
Here is my problem...
I want to send some messages to a child window from a MDI application. To do this I need the handler of that child window. I've tried to use FindWindow, but FindWindow is searching only through top level windows. I have the name of the MDI application and the name of...
Hi!
Is there any possibility to know when the size of a component has changed?
I'm trying to make my own button component and I need to know when the size of a button has changed. (I’m putting a picture on the button and I have to scale the picture to fit the button if its size has changed). I...
Hi,
I'm trying to make an application that sends keyboard events to other applications. For example if I want to auto complete the fields of a form (like name, address, phone no., etc. ) I need to generate some keyboard events like: <name> <tab> <address> <tab> <phone no.>
The problem is that i...
Hi! I’m having problems customizing a TreeView. I have a tree that contains two kinds of nodes: nodes that have children and nodes that don’t have children (leafs). I want to display only the nodes that are not leafs in the tree view. I’m having also a ListView where I’m displaying the content...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.