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 sp_TopicIcon
Serial Validation
No permission to create posts
July 19, 2017
11:28 am
Avatar
W Pirkle
Admin
Forum Posts: 140
Member Since:
January 28, 2017
sp_UserOnlineSmall Online

I am curious is there anyway to change text from outside the Cviewcontainer and the CTextEdit. Something to the extent of.

m_pContainer->m_pNameEdit->setText("working fine")

No you can't do that directly. You need to cache the pointer to the edit control. 

Or, is it possible to addView to the GUI directly without being within a parent container. something to the extent of.

RackafxGui->addView(nameEdit)

All views must have a parent view container, but you can access the outer-most view container from any view with getFrame( ) -- the frame object is the highest level view container which holds all the sub-views. See the final module in the Advance GUI API tutorials which shows how to create GUIs programmatically - though you aren't doing this directly, the tutorial has a lot of insider information about how VSTGUI really operates.

- WP

No permission to create posts
Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online: W Pirkle
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Derek: 41

Peter: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 478

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 29

Topics: 479

Posts: 1870

Newest Members:

certvalue111, sobhana s, sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 140

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 140