|
-
May 17th, 2005, 07:28 PM
#1
Thread Starter
Fanatic Member
Object.Top and Object.Left in Win32?
Hi,
How do i determine and set the Top and Left (x,y) of an object? in Win32API?

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
May 18th, 2005, 02:24 AM
#2
Re: Object.Top and Object.Left in Win32?
What kind of object? For windows, try SetWindowPos and GetWindowPos (or is it GetWindowRect?), or MoveWindow.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 18th, 2005, 04:59 PM
#3
Thread Starter
Fanatic Member
Re: Object.Top and Object.Left in Win32?
say umm, Static, EDIT, etc.

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
May 19th, 2005, 02:54 AM
#4
Re: Object.Top and Object.Left in Win32?
That works like any other window.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 27th, 2005, 05:12 PM
#5
Thread Starter
Fanatic Member
Re: Object.Top and Object.Left in Win32?
so those STATIC, EDIT, controls are just like Windows? Is that why they can be created like windows too?

prog_tom
JOIN THE REVOLUTION!!!! Dual T3 backedup science community.
http://physics.sviesoft.com/forum
-
May 27th, 2005, 06:06 PM
#6
Re: Object.Top and Object.Left in Win32?
They're not like windows, they ARE windows. Remember when filling a WNDCLASS structure? You give the class a name and a window procedure.
Well, "STATIC", "EDIT" and the others are names of such predefined window classes, and their window procedures are part of Windows. That's all there is to them.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|