|
Hi,
Any idea how to increase/decrease the horizontal spacing between the nodes in a treeView??
Thank you guys!
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Hi!
You'll have to p/invoke SendMessage to send TVM_SETINDENT to the TreeView .
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
mav.northwind wrote: You'll have to p/invoke SendMessage to send TVM_SETINDENT to the TreeView.
doh!
I just need to set a proper margin/spacing between the node without having to know about rocket since
Thanks anyways mate
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Oh come on, calling SendMessage after looking up the message in MSDN is not rocket science.
The message definition can be found in CommCtrl.h in the Platform SDK Includes: TV_FIRST is 0x1100 and TVM_SETINDENT is TV_FIRST + 7 .
The link to MSDN is here[^].
Just try it, it's really not that hard!
If you still have problems, come back here for help.
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Hi.
I have the same problem, but I couldn't find the relation between calling SendMessage and increase/decrease the horizontal spacing between the nodes in a treeView??
I think , we have to change a property to set them !
Isn't it ?
|
|
|
|
|
em doing image processing project in C# ....so can any one tell me dat how to
use acquisition toolbox of matlab in C#...??
|
|
|
|
|
Probably the matlab website would be your best bet.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
hello..
can someone tell me the codes for this scenario..
i want to select a column file from a datagridview on form1 and then if i click the open button that file would open to a multiline textbox on form2..
only on column zero can be clicked to go to form2 textbox..
ginji
|
|
|
|
|
Buy a book. Read my article on how to use google. Generally try to do a little research before spewing out all your questions here.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hello..
can someone tell me how to refresh the datagridview that is directly connected to a dtabase using wizard???
also how to delete the selected rows..
i need it's codes...
thanks
|
|
|
|
|
the only thing you need is to be taught some manners!
how to find the answer...
step 1 --> read this[^]
step 2 --> try it yourself
step 3 --> come back with specific questions on specific problems you are having
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
you.suck = (you.passion != Programming)
|
|
|
|
|
hello .
i want read data from dicom file. how can i open dicom file in c#.
How can DICOM store image,text etc. data in itself. ??
|
|
|
|
|
|
You have to get familiar with the DICOM spec. It's not easy. I incorporated DICOM images and data into a system I wrote a couple of years ago. Your best bet is to check out the openDicom project written in C# and go from there. There's more to it than I could try to answer in a post. Actually, you just gave me an idea for an article!
Here's the link:
http://opendicom.sourceforge.net/[^]
|
|
|
|
|
Oh, I didn't know this existed, we use MyDICOM for the DICOM files, and the Atalasoft DICOM library to read the various image compressions.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
It's a nice library. I wrote a radiology system a couple of years back and needed dicom support. Creating a viewer was a breeze. I used it because it's written in C# and that made it a whole lot easier to get into the internals. I don't have anything to compare it to, but you should check it out.
|
|
|
|
|
|
There's a number of DICOM libraries, the one I use is called MyDICOM, www.mydicom.net. The support is good, the docs are terrible, the one bad thing is, every update they rename and move a lot of stuff about, so all the code breaks. But, that's what you need.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi everyone
I want to start my first web application , never done any web development before , only windows forms application using C# which I am good in .
Any starting procedure ( using VS2005 )
thanx
|
|
|
|
|
unitecsoft,
Since you asking about web related stuff, it would be best to ask in web related forums. Also, what is your actual question?
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Hi,
First of all, I'm so sorry for asking such a n00b question, but in VC++ 8 I could found the preprocessors directives easily but with C# for VS2008 I have no idea where they are...
What directive should I test to be sure the application was compile in Windows?
#if WIN ?
Thanks,
Dirso
|
|
|
|
|
Dirso,
Well since .NET only runs in a Windows environment, why would you need to check this...
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Hi,
Mono runs under linux as well, right?
Thanks,
Dirso
|
|
|
|
|
Hi Dirso,
I'm not an expert in preprocessor directives (so, this post could be useless), but, thinking that .Net was made only for Windows (MONO was developed after) i've seen one that might help you:
#if !MONO
<code...>
#endif
I think that this was made on purpose... If you want yo know if you are in MONO, ask for it... Windows is assume.
HTH Dirso,
Pablo.-
|
|
|
|
|
I guess you're right! I'll investigate a little more about MONO and see how it goes.
Thanks,
Dirso
|
|
|
|