This is a fmg file example:
When StatusBar and Bottom ToolBar
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
When StatusBar and Bottom ToolBar
When is necessary to make two ToolBars (manually, because via IDE is not possible) one Top another Bottom and you increase a StatusBar: all ToolButtons (Bottom ones) are not displayed in the right size. In order words, the ToolBar Bottom is not calculating to be displayed upper than StatusBar. So, seems Statusbar is taking place part of ToolButtons (bottom) and can not be completly displayed.
This is a fmg file example:
Please note captured screen:
This problem was related from a brazilian PCToledo forum
This is a fmg file example:
- Attachments
-
- Demo2.rar
- Executable file
- (851.32 KiB) Downloaded 279 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
-
- Posts: 1275
- Joined: Tue Sep 03, 2013 4:22 am
- Location: Tecámac, México
Re: When StatusBar and Bottom ToolBar
Si Pablo César,
Aquí pasa lo mismo!
Saludos
Aquí pasa lo mismo!
Saludos
- Rathinagiri
- Posts: 5480
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: When StatusBar and Bottom ToolBar
I will see how to solve this. I think Claudio can easily solve this.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
When StatusBar and Bottom ToolBar
I believe a new parameter with StatusBar height will be requested prior to call INITTOOLBAR at C function.Rathinagiri wrote:I will see how to solve this. I think Claudio can easily solve this.
Thanks guys for your attention received.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: When StatusBar and Bottom ToolBar
I will check.Pablo César wrote:I believe a new parameter with StatusBar height will be requested prior to call INITTOOLBAR at C function.Rathinagiri wrote:I will see how to solve this. I think Claudio can easily solve this.
Thanks guys for your attention received.
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: When StatusBar and Bottom ToolBar
I fixed!srvet_claudio wrote:I will check.Pablo César wrote:I believe a new parameter with StatusBar height will be requested prior to call INITTOOLBAR at C function.Rathinagiri wrote:I will see how to solve this. I think Claudio can easily solve this.
Thanks guys for your attention received.
This problem is not a HMG bug, is a Windows system bug.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
When StatusBar and Bottom ToolBar
Thank you Dr. Soto !
You mean is an API bug ?
So, you must have offset this failure reading the height of the statusbar as I said, is not it ?
I just read this:
srvet_claudio wrote:This problem is not a HMG bug, is a Windows system bug

You mean is an API bug ?
So, you must have offset this failure reading the height of the statusbar as I said, is not it ?
I just read this:
At http://msdn.microsoft.com/en-us/library ... s.85).aspxThe toolbar default sizing and positioning behaviors can be turned off by setting the CCS_NORESIZE and CCS_NOPARENTALIGN common control styles. Toolbar controls that are hosted by rebar controls must set these styles because the rebar control sizes and positions the toolbar.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- srvet_claudio
- Posts: 2220
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: When StatusBar and Bottom ToolBar
Windows always overlaps the StatusBar and the Bottom ToolBar.Pablo César wrote:Thank you Dr. Soto !
srvet_claudio wrote:This problem is not a HMG bug, is a Windows system bug![]()
You mean is an API bug ?
So, you must have offset this failure reading the height of the statusbar as I said, is not it ?
I just read this:At http://msdn.microsoft.com/en-us/library ... s.85).aspxThe toolbar default sizing and positioning behaviors can be turned off by setting the CCS_NORESIZE and CCS_NOPARENTALIGN common control styles. Toolbar controls that are hosted by rebar controls must set these styles because the rebar control sizes and positions the toolbar.
The trick is: when Windows begin to draw the Bottom ToolBar first I move it to up.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
When StatusBar and Bottom ToolBar
Yeapsrvet_claudio wrote:Windows always overlaps the StatusBar and the Bottom ToolBar.
The trick is: when Windows begin to draw the Bottom ToolBar first I move it to up.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
When StatusBar and Bottom ToolBar
Thank you Claudio, now is working perfectly, even if you amke StatusBar after sequence of ToolButtons.
PERFECTO !HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein