![]() |
gui stuff
two things
i'm drawing text over the part of my guiwindowctrl so that it's stopping the dragging of that window. is there a way to make it even if i drag the text it'll drag the window? how can i tell once a gui has been closed [by the x in the corner] [is there a function?] |
Second issue:
Quote:
|
onCloseQuery() is triggered when you have closequery=true; in the gui (You have to script the hiding/destroy of the gui then yourself)
And, adjust the window while you drag the text? Or is the window bickering then? |
thanks ^^ ^^
well, on the guiwindowctrl i didn't use the 'text=stuff', instead i made my own text guitextctrl and re-positioned that over the part that allows dragging of the guiwindowctrl, i basically want to push that text back and so that the window is selected instead of the text for dragging |
Quote:
|
well, the position of the GuiTextCtrl is still blocking it, unless you mean there is a command to do that...?
Basically, it goes: HTML Code:
guiWindowCtrl() { |
Oh, you mean like that... well... I don't think there's a way around making it not stealing focus, you can manually script so that if you "select" the text control and move the pointer, it behaves the same as the GuiWindowCtrl would.
|
In the text that's drawn over the window, set active = false;
|
Quote:
|
Quote:
I mean its not like setting active to false in a GUI control makes it so it doesn't steal focus right? :rolleyes: |
inverness you rock my world
|
Quote:
|
| All times are GMT +2. The time now is 06:37 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.