|
Does anyone know how to insert a line break character within the <summary> or <remarks> section of an xml comment / description associated with a method / property / class so that the printout in intellisense or HTML documentation includes this line break?
Thanks.
|
|
|
|
|
It is just slightly extended XHTML with some additional tags such as "summary", "remarks", "see", "param" etc. Putting paragraphs between <p> & </p> or putting <br/> for simple linebreaks should work.
|
|
|
|
|
funny, I've tried both but neither create a line break in the intellisense helptab. I couldn't recall the codes but you've reminded me and I believe they do work with, e.g., NDoc.
Thanks.
|
|
|
|
|
|
I have a form with a tabcontrol(with 2 tabpages) and I add a new TabControl at runtime using
this->Controls->Add(gcnew TabControl());
Its been created at top left corner of windows and not visible fully..how to control its location/size etc? how to access it?
Thanx in advance
|
|
|
|
|
I think you need to be in the C++ message boards. Anyway, you could do something like:
TabControl* tabCtrl = new TabControl();
this->Controls->Add( tabCtrl );
Now use tabCtrl to get its position etc.
|
|
|
|
|
oops.. wrong section..
I cant do the way u describe...as I have to create some tabcontrols dynamically at runtime but not at design time
|
|
|
|
|
I still do not see why you cannot do that. perhaps a little more code from what you are attempting to do will be useful.
You could do something like.
void MyPage::CreateTabControl() {
TabControl * tab = new TabControl();
Controls->Add( tab );
SizeAndPositionTab( tab ); //Put you size and position code in here
}
Now call CreateTabControl() dynamically from wherever in your code.
|
|
|
|
|
Thanx for ur reply.
But this is applicable to one tab bcos I am going to specify its location.
But at runtime I want to call this function(for eg: 20 times) then I cant see 20 tabcontrols as each one overwrites one another.Hope u understand my problem
|
|
|
|
|
I'm ,beginer is an exageration, i'm like 0 in custom controls development, so i was wondering if you could help me out if u know any articles or web sites where i can get any help or inspiration. i need to create a vertical checkbok and a connector...a simple line that connects 2 controls. Please help me out
rzvme
|
|
|
|
|
You are way such a beginner.
Go and google these simple words: Writing Custom Controls
You'll find plenty of inspiration.
|
|
|
|
|
Is there a program or web page out there that will lists ALL Win32 APIs and their components/functions for such files as gdi32.dll or user32.dll? I need to find software and/or webpage that will give me these functions and what each one does. I'm trying to hook a program to an active window for editing.
Thanks....
|
|
|
|
|
www.pinvoke.net/[^]
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
Hi, i have written a program and i am experiencing a wierd problem with the memory usage...
once i open the program it will keep on draing more memory, it will never stop if i minimize the program the memory will dispose(?) and the program will drop to about 2-5mb and start growing again...
is it a bug in .net or did i not read something correctly?
I thank everyone for intrest in the problem
|
|
|
|
|
asator wrote: is it a bug in .net or did i not read something correctly?
Impossible to say without knowing what your program does.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
well it does make alot of httpwebrequests, operate on alot of strings(retreive data from the response, alot of string.substring and string.indexof calls)
i think it has something to do with one of these...
ps. i noticed in a memory profiler that the program has 112k string instances...wtf?
|
|
|
|
|
Try closing the HttpWebResponse s after you finished retrieval of data and try to minimize use of SubString as each return value is a new string object. Maybe you can use regular expression to be more efficient but it depends on what exactly you are doing.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
1. what do you mean by closing?
2. here is an example of what i am doing:
strX[i] = strX[i].Substring(strX[i].IndexOf("href="));
strX[i] = strX[i].Substring(strX[i].IndexOf("ht"));
strX[i] = strX[i].Replace("amp;", "");
there is much more of this and this is in a for loop with about 100 loops... so now i know how i got to 112k string objects...
so can i do what i am doing in a better way?(i mean the substring issue)
|
|
|
|
|
1. By closing I mean calling its Close method[^].
2. As said before you may be able to get rid of some SubString calls by using regular expressions.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
1. ok so all my httpwebresponses close
2. what do you mean by regular expresions?
3. thank you for your help
|
|
|
|
|
i would also like to ask another question, can i somehow 'call' the Form.Minimize method without the 'visual' efects? i mean something like simulating the minimze method in order to free the memory? maybe someone knows what is called when the form is minimzed?
|
|
|
|
|
asator wrote: once i open the program it will keep on draing more memory, it will never stop
So if you do not minimize do you get a Sytem Out Of Memory Exception?
|
|
|
|
|
i myself didnt get to the no memory state but alot of users(esspecially the ones with low amount of memory, 128mb and below), they report that after a long period of time, usally over 24h their system 'hangs', 'freezes', so no - there is no exception thrown
|
|
|
|
|
|
Friends please send codes.
Jeya chandran
|
|
|
|