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: 237
Member Since:
January 29, 2017
sp_UserOfflineSmall Offline

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:
2 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

JimmyM: 30

EZB: 24

lppier: 23

Msaldaña: 18

Member Stats:

Guest Posters: 1

Members: 521

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 541

Posts: 2104

Newest Members:

hill william, NAUN_SONAR, sufy, Diane, Richard, drvenkman, venkman, Jfx, drorh, funkysteve

Moderators: W Pirkle: 237

Administrators: Tom: 67, JD Young: 80, Will Pirkle: 0, W Pirkle: 237