PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Larry Heber on December 17, 2009, 04:16:15 PM

Title: FireSplitter Start Positions (HSplitPos - VSplitPos)
Post by: Larry Heber on December 17, 2009, 04:16:15 PM
I am sure there is an easy answer to this question though I have been digging for a couple of hours now and can't seem to find it.  Through code I want to read/write the HSplitPos/VSplitPos and have the windows size accordingly.

Any help would be appreciated.

Thanks,
Larry
Title: Re: FireSplitter Start Positions (HSplitPos - VSplitPos)
Post by: Paul Squires on December 18, 2009, 06:08:46 PM
Try these type of function calls:


SendMessage HWND_FORM1_FIRESPLITTER1, %FF_SPLITTER_HORIZTOPPOS, nTopPos, 0

SendMessage HWND_FORM1_FIRESPLITTER1, %FF_SPLITTER_VERTLEFTPOS, nLeftPos, 0

Title: Re: FireSplitter Start Positions (HSplitPos - VSplitPos)
Post by: Larry Heber on December 18, 2009, 11:27:11 PM
Thank you very much, I am still in the process of learning.  I really like the new release of FireFly.
Title: Re: FireSplitter Start Positions (HSplitPos - VSplitPos)
Post by: John Messingham on July 27, 2010, 04:07:45 PM
Is there a way to get the splitter position?
Title: Re: FireSplitter Start Positions (HSplitPos - VSplitPos)
Post by: Eddy Van Esch on March 10, 2013, 12:00:02 PM
Hi Paul,

I would like to 'refresh' this FireSplitter question.
Is there a way to get the splitter position?
I need to fetch the splitter position in order to restore it when the program is started again the next time.

Just thinking .. If the FireSplitter does not have a message (yet) to retrieve the position, maybe I can calculate the approximate splitter position by getting the child forms sizes....

Kind regards