Detect main scrollable area metrics

Z

zz

In order to give my app a little more 'pro' look, i have mimicked the windows desktop feeling, but now i have a non-trivial matter with the shapes i have added to make it look 'cool'

i added a rectangle that acts as the taskbar where for each form running , i create a 'button' with the form caption, setting the button to fit in the supposed taskbar, it all works fine in my app, but since this app if opened in different monitor resolution, the taskbar isn't allways aligned with the bottom of the scroll area [ the part of the window where the cells are placed]

i would just need to get the height of the scroll area and keep the taskbar attached to the bottom minus the taskbar area height, to make it look like it's fixed, no matter if the user scrolls the mouse or moves the H-slidebar, it'll always be in the bottom.

any example on how to do this?

thanks in advantage.

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top