[5.60b1] Static control over client area?!

Just starting out? Need help? Post your questions and find answers here.
wombats
Enthusiast
Enthusiast
Posts: 722
Joined: Thu Dec 29, 2011 5:03 pm

Re: [5.60b1] Static control over client area?!

Post by wombats »

I can't say I like this change. I can't get ProGUI to work correctly in 5.60 Beta 1. The static control covers up the Rebar. Is it not possible to calculate the inner area without the static control?
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: [5.60b1] Static control over client area?!

Post by chi »

Exactly my point! I don't think any developer of a 3rd party library expects such a behavior. Therefore internal calculations just return bogus values.

@Fred: I can think of a few situations where the new gadget container could be indeed pretty helpful, but PLEASE!!! make it optional. Launching OpenWindow() with #PB_Window_GadgetList seems already logical... WIN WIN :)

I stop whining now ^^
Et cetera is my worst enemy
User avatar
skywalk
Addict
Addict
Posts: 4265
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [5.60b1] Static control over client area?!

Post by skywalk »

I cannot agree with the demise of the toolbar and statusbar. They are extremely useful as a baseline gui with minimal intrusion upon real estate. And with subclassing, you can reap the statusbar events.

I'm waiting to see the resize options with the next beta before modifying my gui code.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: [5.60b1] Static control over client area?!

Post by Dude »

IdeasVacuum wrote:StatusBar is unnecessary for most apps.
:?: Say what? Take a look at screenshots of apps on MajorGeeks.com and you'll literally see hundreds of apps using them, and with good valid reasons. Removing standard Windows GUI elements is a bad idea, and makes me envisage a day when PureBasic becomes just another custom app maker instead of an Windows exe maker. Don't let it go that route.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: [5.60b1] Static control over client area?!

Post by IdeasVacuum »

I cannot agree with the demise of the toolbar and statusbar.
It's not about demise skywalk, it's about their elevation in importance being too expensive and unnecessary.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: [5.60b1] Static control over client area?!

Post by IdeasVacuum »

Dude, tool bar and status bar are not going to be removed and nobody has suggested that they should be, not even jokingly. Please read the whole post before commenting on it. :wink:

If only hundreds of apps (out of millions) use the status bar, I suspect this is because it is just too ugly for a modern-day app. When I need to display data (that would be the status bar's job), I generally use text gadgets instead.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
Fred
Administrator
Administrator
Posts: 18397
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [5.60b1] Static control over client area?!

Post by Fred »

After some thoughs, we will revert this change completely as I have overlooked some complex cases. So long for those hard days of work ! :(
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: [5.60b1] Static control over client area?!

Post by netmaestro »

I know the feeling Fred, and I sympathize. But you're making the right move now and it's appreciated, by more than just me.
BERESHEIT
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: [5.60b1] Static control over client area?!

Post by IdeasVacuum »

Here here netmaestro.

You are doing a brilliant job Fred and deserve all credit for it. To roll-back the change is best for all imho.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
User avatar
Josh
Addict
Addict
Posts: 1183
Joined: Sat Feb 13, 2010 3:45 pm

Re: [5.60b1] Static control over client area?!

Post by Josh »

Fred wrote:After some thoughs, we will revert this change completely as I have overlooked some complex cases. So long for those hard days of work ! :(
Wow, that shows of true size. Just admit that something has not been done well. This is a property that many people have forgotten today

.
sorry for my bad english
User avatar
chi
Addict
Addict
Posts: 1087
Joined: Sat May 05, 2007 5:31 pm
Location: Austria

Re: [5.60b1] Static control over client area?!

Post by chi »

Thank you very very much, Fred! I really appreciate your decision :D
Et cetera is my worst enemy
wombats
Enthusiast
Enthusiast
Posts: 722
Joined: Thu Dec 29, 2011 5:03 pm

Re: [5.60b1] Static control over client area?!

Post by wombats »

Thank you, Fred. It is appreciated. I did like the fact that the toolbar/status bar sizes were automatically subtracted from the inner area of the window, but I did feel it could have been done in a better way. I hate that your work was undone, but I know it's for the best. Thank you for all your hard work!
User avatar
skywalk
Addict
Addict
Posts: 4265
Joined: Wed Dec 23, 2009 10:14 pm
Location: Boston, MA

Re: [5.60b1] Static control over client area?!

Post by skywalk »

Thanks Fred,
This is what beta implies.
No worries.
Just work.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
normeus
Enthusiast
Enthusiast
Posts: 485
Joined: Fri Apr 20, 2012 8:09 pm
Contact:

Re: [5.60b1] Static control over client area?!

Post by normeus »

My thanks will be delivered via PayPal Fred.

The PayPal button is somehow hidden all the way to the bottom of downloads section. :oops:

Don't forget to scroll down when you download the latest beta and send Fred a cup of coffee! :D

Thank you.
Norm.
google Translate;Makes my jokes fall flat- Fait mes blagues tombent à plat- Machte meine Witze verpuffen- Eh cumpari ci vo sunari
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: [5.60b1] Static control over client area?!

Post by ts-soft »

With beta2, I can not use this toolbar, statusbar, menu with dialoglib. This is better? :cry:
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply