Old 12-13-2016, 08:27 PM   #1
Airal
Banned
 
Join Date: Nov 2015
Posts: 406
Default Titleless window?

gfx.init("", 350, 100, 0, 200, 200)

and no title bar shows up on window(popless/toolbar style).
Airal is offline   Reply With Quote
Old 12-14-2016, 05:32 AM   #2
MikComposer
Human being with feelings
 
MikComposer's Avatar
 
Join Date: May 2012
Location: Brighton
Posts: 1,968
Default

Quote:
Originally Posted by Airal View Post
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?
__________________
My Royalty Free Music library
MikComposer is offline   Reply With Quote
Old 12-14-2016, 06:23 AM   #3
Lokasenna
Human being with feelings
 
Lokasenna's Avatar
 
Join Date: Sep 2008
Location: Calgary, AB, Canada
Posts: 5,858
Default

It's a script API command, so...
Lokasenna is online now   Reply With Quote
Old 12-14-2016, 09:31 PM   #4
Airal
Banned
 
Join Date: Nov 2015
Posts: 406
Default

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.
Airal is offline   Reply With Quote
Old 12-14-2016, 11:25 PM   #5
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 2,380
Default

...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
__________________
SoundCloud | MPL Scripts discussion | ReaPack | Donate
mpl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.