|
12-13-2016, 08:27 PM
|
#1
|
Banned
Join Date: Nov 2015
Posts: 406
|
Titleless window?
gfx.init("", 350, 100, 0, 200, 200)
and no title bar shows up on window(popless/toolbar style).
|
|
|
12-14-2016, 05:32 AM
|
#2
|
Human being with feelings
Join Date: May 2012
Location: Brighton
Posts: 1,989
|
Quote:
Originally Posted by Airal
gfx.init("", 350, 100, 0, 200, 200)
and no title bar shows up on window(popless/toolbar style).
|
What what? Does this work on midi editor too, or only on scripts?
|
|
|
12-14-2016, 06:23 AM
|
#3
|
Human being with feelings
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 6,551
|
It's a script API command, so...
|
|
|
12-14-2016, 09:31 PM
|
#4
|
Banned
Join Date: Nov 2015
Posts: 406
|
Yeah, so instead of window with a title bar I would like to have no title bar.
Could Justin simply set the proper windows flags(WS_EX_TOOLWINDOW I think) if the title string is empty/nil/etc?
We can add a way to close it using custom buttons or whatever. would be nice if we could move it easy. Since no title bar exists we won't be able to easily move it(if at all possible) so we would need some type of gfx command to move the window according to the mouse position when the window is clicked and dragged.
|
|
|
12-14-2016, 11:25 PM
|
#5
|
Human being with feelings
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
|
...which is currently possible by reinit script window, like
- calculate window position relative to mouse.mx/my
- on release of mouse reinit whole window back to stored relative values from current mouse position
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 02:00 PM.
|