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.

DLL Talk / BlueGUI v2 : Set Window Size VS BlueGui Gadgets

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Sep 2005 14:13
Hello.

When I use Set Window size, all my BlueGUI v2 gadgets simply disappear from window.
I can see them less than 1 second when the mouse go over them.

Does someone experiences this and know a solution ?
Thanks.

IanG
19
Years of Service
User Offline
Joined: 25th Sep 2004
Location: Cyberspace
Posted: 22nd Sep 2005 18:02
basically set window size can mess things up, there is a reset command in blue gui to reset everything after a window change

remember that blue gui will not work in fullscreen


amd athlon xp 2600+,1280mb,FX 5200 128mb,200gb,xp pro sp2
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Sep 2005 19:02
I know that BlueGUI don't work in fullscreen ... it's only for windowed mode.
In fact I want to allow user to resize the editor windows but without allowing it to be smaller than 800x600 ...

Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 22nd Sep 2005 19:55
Hi Freddix,

Call resetMainWindow after changing the window size.


BlueGUI Windows Plugin
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2005 10:20
Hi Rob,

yes it work perfectly excepted that I have a small graphic issue...
The text gadget have their borders become black... it's the 2.01 BlueGUI build ... is it fixed in 2.05 and future upward builds ?

@IanG : Thanks for the clue... it's effectively ResetMainWindow It work perfectly now, my app windows can not be smaller than 800x600

Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2005 20:03 Edited at: 24th Sep 2005 12:16
Rob, I have a new problem now that I use your system ( creating a gadget using the main window )

When I clic on the main window close gadget, the BlueGUI Menus disappears and DBP app doesn't close. It continue running.
I have then no other way than using task manager to terminate the app.

Do you know how I can fix this ?

All we have to decide is what to do with the time that is given to us.
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 23rd Sep 2005 22:15
Quote: "When I clic on the main window close gadget, the BlueGUI Menus disappears and DBP app doesn't close. It continue running."


You'll need to handle the WINDOW_CLOSE event which is sent to the main window gadget and call the end command when it is received.


BlueGUI Windows Plugin
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2005 23:06 Edited at: 24th Sep 2005 12:16
I use this :



but it don't work

EDIT : In fact ... it almost work ... it work if I press mouse button enough longly .. if I press it less than 1 second, it don't work but cause the menu to disappear ...

All we have to decide is what to do with the time that is given to us.
Rob K
Retired Moderator
21
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 24th Sep 2005 05:56
Hi Freddix,

You should use eventSource() to see if the event has come from the main window, not GadgetUnderMouse()


BlueGUI Windows Plugin
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 24th Sep 2005 12:08 Edited at: 24th Sep 2005 12:12
so I may use something like this :



is it good ? because I get the same problem than when I use the other way.

All we have to decide is what to do with the time that is given to us.

Login to post a reply

Server time is: 2024-05-06 19:22:24
Your offset time is: 2024-05-06 19:22:24