Click here to Skip to main content
15,898,371 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: List View Column delete Pin
Andreoli Carlo30-Apr-10 4:34
professionalAndreoli Carlo30-Apr-10 4:34 
QuestionProblems creating Native C++ object from within C++/CLI [modified] Pin
smea29-Apr-10 8:56
smea29-Apr-10 8:56 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid30-Apr-10 0:14
Michel Godfroid30-Apr-10 0:14 
GeneralRe: Problems creating Native C++ object from within C++/CLI Pin
smea5-May-10 3:21
smea5-May-10 3:21 
AnswerRe: Problems creating Native C++ object from within C++/CLI Pin
Michel Godfroid5-May-10 3:23
Michel Godfroid5-May-10 3:23 
Questionrun , show and application in my project and handle its forms Pin
iman_kh28-Apr-10 3:45
iman_kh28-Apr-10 3:45 
AnswerRe: run , show and application in my project and handle its forms Pin
Xeqtr28-Apr-10 7:14
Xeqtr28-Apr-10 7:14 
QuestionDynamic label text? Pin
Lucidation26-Apr-10 9:52
Lucidation26-Apr-10 9:52 
Well, I'm new to C++ and I think I'm missing something obvious. I'm trying to create a text label control on a form, but I want the actual text to be dynamic (I want to use a variable that I can change on-the-fly).

So where I'd normally have something like this:
this->labelDynamicText->Name = L"labelDynamicText";
this->labelDynamicText->Size = System::Drawing::Size(145, 34);
this->labelDynamicText->TabIndex = 5;
this->labelDynamicText->Text = L"This is some dynamic text";



I was thinking of something like this:
this->labelDynamicText->Name = L"labelDynamicText";
this->labelDynamicText->Size = System::Drawing::Size(145, 34);
this->labelDynamicText->TabIndex = 5;
this->labelDynamicText->Text = MyDynamicText;



and I'd be able to something like:
int intCount = 0
Do Until [intCount = 60]
MyDynamicText = "this text sits on the screen for a few seconds"
intCount = intCount + 1
Loop
MyDynamicText = "this text displays after 60 seconds"



So can anyone help guide me in the right direction? Can I easily do this, and where do I start? Thanks in advance!
AnswerRe: Dynamic label text? Pin
Richard MacCutchan26-Apr-10 11:38
mveRichard MacCutchan26-Apr-10 11:38 
QuestionHow to calculate MPEG1/2 Video RTP Packet Timestamp field Pin
vijaysinh.vansadia22-Apr-10 22:57
vijaysinh.vansadia22-Apr-10 22:57 
QuestionBinaryWriter writes empty file Pin
KlaasVersteeg20-Apr-10 21:43
KlaasVersteeg20-Apr-10 21:43 
AnswerRe: BinaryWriter writes empty file Pin
KlaasVersteeg20-Apr-10 21:46
KlaasVersteeg20-Apr-10 21:46 
AnswerRe: BinaryWriter writes empty file Pin
Richard MacCutchan21-Apr-10 1:41
mveRichard MacCutchan21-Apr-10 1:41 
GeneralRe: BinaryWriter writes empty file Pin
KlaasVersteeg21-Apr-10 2:18
KlaasVersteeg21-Apr-10 2:18 
GeneralRe: BinaryWriter writes empty file Pin
Richard MacCutchan21-Apr-10 4:06
mveRichard MacCutchan21-Apr-10 4:06 
GeneralRe: BinaryWriter writes empty file Pin
KlaasVersteeg21-Apr-10 4:26
KlaasVersteeg21-Apr-10 4:26 
AnswerRe: BinaryWriter writes empty file Pin
Luc Pattyn21-Apr-10 6:04
sitebuilderLuc Pattyn21-Apr-10 6:04 
GeneralRe: BinaryWriter writes empty file Pin
KlaasVersteeg21-Apr-10 20:01
KlaasVersteeg21-Apr-10 20:01 
GeneralRe: BinaryWriter writes empty file Pin
Richard MacCutchan21-Apr-10 21:13
mveRichard MacCutchan21-Apr-10 21:13 
GeneralRe: BinaryWriter writes empty file Pin
KlaasVersteeg21-Apr-10 21:56
KlaasVersteeg21-Apr-10 21:56 
QuestionGenerics problem Pin
roshihans17-Apr-10 17:02
roshihans17-Apr-10 17:02 
QuestionRe: Generics problem Pin
roshihans20-Apr-10 23:44
roshihans20-Apr-10 23:44 
AnswerRe: Generics problem Pin
Ghydo22-Apr-10 23:57
Ghydo22-Apr-10 23:57 
GeneralRe: Generics problem Pin
roshihans24-Apr-10 8:47
roshihans24-Apr-10 8:47 
GeneralRe: Generics problem Pin
Ghydo24-Apr-10 22:23
Ghydo24-Apr-10 22:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.