Changing the background bitmap | VSTGUI4 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Changing the background bitmap
Avatar
Member
Members
December 28, 2020 - 12:55 pm
Member Since: December 24, 2020
Forum Posts: 7
sp_UserOfflineSmall Offline

I was working on my plugin and had to grow it because I kept adding controls.  So I needed to create a new background PNG and add it in.  This puts the new resource on the top of the Z-layer hierarchy.  You can move it to the back one step at a time, which is very time consuming when there are 20 other objects already in the UI.  Is there no "move to back" function?  I realize this is the vstgui tool's shortcoming.

 

Thanks,

GW

Avatar
Admin
December 28, 2020 - 1:03 pm
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

I have not been able to find a method to change the z-order in the VSTGUI designer tool. Those functions are embedded in the library, and you can track them down with a search. 

This issue (which as you noted is a VSTGUI thing) can also affect controls in the order they are created. I recently had a user who had a knob control that would not update correctly when resetting back to the default value (there is a key-click combination for that). The issue was that the CTextEdit control just below it, was slightly overlapping, and was transparent so that was not obvious, and was on top of the z-order, so the reset-to-default message was going to the edit control rather than the knob. Making a minor adjustment to the GUI controls fixed that. 

It would definitely be nice if we could adjust the z-order from the VSTGUI tool....

Will 

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689