LB Booster
« Window Position & Size »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 05:07am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Window Position & Size  (Read 265 times)
Jack Kelly
Full Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 106
xx Window Position & Size
« Thread started on: Mar 13th, 2015, 11:20am »

Can anyone tell me how to get to the system variables for the current position (horizontal & vertical) and size (width & height) of a resized window, so they can be saved in an ".ini" file.

I know that WindowHeight, WindowWidth, UpperLeftX, UpperLeftY can be used to set these variables, but they don't seem to be able to retrieve them if they've changed.
User IP Logged

tsh73
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 210
xx Re: Window Position & Size
« Reply #1 on: Mar 13th, 2015, 12:39pm »

It could be done via API call
Here's link on LBPE
Getting a Window's Coordinates
http://lbpe.wikispaces.com/WindowCoordinates
« Last Edit: Mar 13th, 2015, 12:39pm by tsh73 » User IP Logged

Jack Kelly
Full Member
ImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 106
xx Re: Window Position & Size
« Reply #2 on: Mar 14th, 2015, 08:38am »

Thanks for pointing me to the article in LBPE. It worked like a charm.

I'm getting much better at copying other people's API calls now. Hopefully that's the first step toward actually understanding them!
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »


This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls