Click here to Skip to main content
16,007,858 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralC++ function to retrieve the address of stack Pin
dharani24-Mar-08 22:57
dharani24-Mar-08 22:57 
GeneralRe: C++ function to retrieve the address of stack Pin
led mike25-Mar-08 5:53
led mike25-Mar-08 5:53 
GeneralSocket File Transfer Pin
javad_200524-Mar-08 20:03
javad_200524-Mar-08 20:03 
GeneralRe: Socket File Transfer Pin
led mike25-Mar-08 5:37
led mike25-Mar-08 5:37 
GeneralRe: Socket File Transfer Pin
Mark Salsbery25-Mar-08 6:11
Mark Salsbery25-Mar-08 6:11 
GeneralRe: Socket File Transfer Pin
led mike25-Mar-08 9:27
led mike25-Mar-08 9:27 
GeneralRe: Socket File Transfer Pin
javad_200526-Mar-08 5:05
javad_200526-Mar-08 5:05 
QuestionCollapsible PropertyGrid in bold. Pin
TheBerk24-Mar-08 11:27
TheBerk24-Mar-08 11:27 
Hi, I'm attempting to create a collapsible property in the the PropertyGrid. I've got it to work properly, the only issue I'm having is the sub-properties in the collapsible section are all in bold. I've set their DefaultValueAttributes to be the same as their value, and still they are bold. Is there something different I have to do when they are collapsible? Below is the code for the collapsible section.

<br />
	ref class PointF3D : public System::Object<br />
	{<br />
        protected:<br />
		float x;<br />
		float y;<br />
		float z;<br />
<br />
	public:<br />
<br />
<br />
		PointF3D(float fx, float fy, float fz)<br />
		{<br />
			x = fx;<br />
			y = fy;<br />
			z = fz;<br />
		}<br />
<br />
		void FromString(System::String^ s);<br />
		<br />
		virtual System::String^ ToString() override;<br />
<br />
		[System::ComponentModel::RefreshProperties(<br />
			System::ComponentModel::RefreshProperties::Repaint), <br />
			System::ComponentModel::DefaultValueAttribute(0)]<br />
		property float Z {<br />
			float get()	{ return z; }<br />
			void set(float value) {<br />
				z = value;<br />
			}<br />
		}<br />
<br />
		[System::ComponentModel::RefreshProperties<br />
			(System::ComponentModel::RefreshProperties::Repaint),<br />
			System::ComponentModel::DefaultValue(0)]<br />
		property float Y {<br />
			float get() { return y;	}<br />
			void set(float value) {<br />
				y = value;<br />
<br />
			}<br />
		}<br />
<br />
		[System::ComponentModel::RefreshProperties(<br />
			System::ComponentModel::RefreshProperties::Repaint),<br />
			System::ComponentModel::DefaultValue(0)]<br />
		property float X {<br />
			float get()	{ return x;	}<br />
			void set(float value) {<br />
				x = value;<br />
<br />
			}<br />
		}<br />
<br />
<br />
	<br />
	};


Thanks!
GeneralRe: Collapsible PropertyGrid in bold. Pin
led mike25-Mar-08 9:41
led mike25-Mar-08 9:41 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk25-Mar-08 10:51
TheBerk25-Mar-08 10:51 
GeneralRe: Collapsible PropertyGrid in bold. Pin
led mike25-Mar-08 11:50
led mike25-Mar-08 11:50 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk26-Mar-08 4:14
TheBerk26-Mar-08 4:14 
GeneralRe: Collapsible PropertyGrid in bold. Pin
TheBerk26-Mar-08 11:40
TheBerk26-Mar-08 11:40 
GeneralHelp with task in Microsoft Visual C++ express edition Pin
jackey_chan24-Mar-08 7:53
jackey_chan24-Mar-08 7:53 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
Christian Graus24-Mar-08 11:21
protectorChristian Graus24-Mar-08 11:21 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
jackey_chan25-Mar-08 7:29
jackey_chan25-Mar-08 7:29 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
Christian Graus25-Mar-08 10:05
protectorChristian Graus25-Mar-08 10:05 
GeneralRe: Help with task in Microsoft Visual C++ express edition Pin
jackey_chan26-Mar-08 0:27
jackey_chan26-Mar-08 0:27 
Questionglobal managed string array Pin
ptr2void24-Mar-08 1:54
ptr2void24-Mar-08 1:54 
GeneralRe: global managed string array Pin
led mike24-Mar-08 4:44
led mike24-Mar-08 4:44 
GeneralRe: global managed string array Pin
Mark Salsbery24-Mar-08 6:31
Mark Salsbery24-Mar-08 6:31 
GeneralRe: global managed string array Pin
led mike24-Mar-08 7:05
led mike24-Mar-08 7:05 
GeneralRe: global managed string array Pin
Mark Salsbery24-Mar-08 7:10
Mark Salsbery24-Mar-08 7:10 
GeneralRe: global managed string array Pin
led mike24-Mar-08 7:15
led mike24-Mar-08 7:15 
GeneralRe: global managed string array Pin
ptr2void24-Mar-08 19:02
ptr2void24-Mar-08 19:02 

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.