|
-
Apr 13th, 2001, 11:49 PM
#1
If you have 3 Image controls (or any other control for that matter) on a form and they are positioned one on top of the other (but lightly askew so that you can see a bit of each), how do you make the top most control become the middle one in the stack without fiddling with the ZOrder of the others? The VB6 ZOrder property only allows you to either make a control the top most or the bottom most, but not somewhere in between. Somehow VB keeps track of their order when they are created, so how can I modify it at runtime?
So, if I had 10 Image controls, I would like to be able to set their order in the display stack individualy as I see fit, at runtime.
-
Apr 14th, 2001, 09:58 PM
#2
PowerPoster
Try using SetWindowPos APi call
-
Apr 15th, 2001, 11:42 PM
#3
Tried that
Thank you for your reply. I did try SetWindowPos and all it did was removed the Image control I was applying it to, from the screen.
If you have verified that this API is the answer I have been looking for, maybe you can send me a sample of how you applied it.
Thanks
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
|