TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
William Thompson
1.6k
155
298.4k
How do I assign text to a textbox in C++
Apr 24 2015 3:24 PM
I have a silverlight app that uses TextBox XAML controls.
In the c++ code-behind, IXRTextBoxPtr types are associated with these textboxes using "FindName" like this:
FindName(L"ColNum3", &m_pColNum3);
(where ColNum3 corresponds with the XAML CODE like this: )
Then, the code assigns the pointer like this:
std::wstring wsTransfer; // gets the wstring from imput
const WCHAR * wpszInput;
wpszInput = wsTransfer.c_str();
m_pColNum3->SetText(wpszInput);
but the display does not show the text data.
What am I missing? What steps am I missing to have this text modification display on the screen?
If I did not ask this question completely or left something off, please let me know.
Reply
Answers (
0
)
Get Record from Two Database in Single Sql Query Or Sp
here ineed to get the id on txtbox1,how to get it in txtbox