Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / A problem with BlueGUI resizing the display area of a window...

Author
Message
=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 20th Mar 2011 03:51 Edited at: 20th Mar 2011 03:51
I have just discovered something mildly irritating about using a Menu bar and Status bar in a windowed Dark Basic Pro application.

When you create the gadgets, the DBP area of the window "shrinks" for lack of a better word. Meaning images get squashed vertically a little.

I wrote this little snippet to illustrate my problem.



And here is a picture to show the problem (and for those who don't have BlueGUI and can't compile it)



The annoying thing is I'm almost 100% certain I have read a solution to this on the forum before; but I've searched and searched and can't find it anywhere.

Can anyone out there help please?

Thanks in advance

=PRoF=

=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 23rd Mar 2011 22:07
Sorry for the bump, but this is quite a niggly little bug which has all but halted the development of a graphical app I'm working on.

IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 23rd Mar 2011 23:05
See if my SET WINDOW CLIENT SIZE command will work for you - just use it after creating the menu bar to set the windows inner display size.

=PRoF=
23
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 24th Mar 2011 00:51
@IanM:
Thank you sooo much! I knew there was a simple solution for this, but I just couldn't find it on the forums

Program is running just as intended now.

Thank you again

Login to post a reply

Server time is: 2026-07-16 23:19:32
Your offset time is: 2026-07-16 23:19:32