|
|
No. It's not the tree control I was looking for.
When you click "folders" toolbar button from window explorer, it changes to folder view, then on the left side, there is the detail panel which displays information about files and folder, also the down arrow on the upper right corner serves a drop down function.
It's only available in Windows XP.
|
|
|
|
|
I was really confused by what you said, then I realized you mean when folder view is actually disabled.
It's the first time I have actually noticed it . Its seems to be built into the explorer UI. I have also not seen such a control
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
Actually I've seen it in quite a few software, such as McAfee version 6, also some commercial controls.
It seems to be the newer "side bar" style that replaces what used to be called "outlook bar" from Microsoft interface design.
|
|
|
|
|
Is does look pretty nice Maybe wait for the next release of the Magic Lirary
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
|
Richard_D wrote:
DinkIT have one for $49: http://www.dinkit.com/ProductsExplorerBarNET.htm[^]
Now if only they had one without those disgusting themes
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
ActiveWare has one for $39: http://www.activewaresolutions.com/eb.php
Good luck!
|
|
|
|
|
There is a way to make a control alpha blended (per pixel)? I search the windows sdk and in the .net framework sdk but i can't find any intresting information, I read the article on codeprj but works only with forms...
Any idea?
ThankYou
|
|
|
|
|
I think that windows doesn't support PPAB in controls... I'm not sure but I what you want to do is impossible...
|
|
|
|
|
|
I got the same problem 2-3 month ago, the solution was:
1.Take a bitmap of the control before windows draw it.
2.Use it in GDI+ as a background
Unfortunatly Microsoft Windows leaks in this particular area... so if anyone know how to create a alpha blended control post here.
Hope this helps.
|
|
|
|
|
Ok, in 1 week here and on usenet the problem wasn't resolved... Ok is impossible.
|
|
|
|
|
Umberto Giacobbi wrote:
Ok, in 1 week here and on usenet the problem wasn't resolved... Ok is impossible.
You cant give up in a week! Imagine MS got stuck with getting the MSDOS cursor to blink in a week and binned the idea.
There is a "solution" but it's way to slow to even use....
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
I am trying to simply dclick on a treeview icon and get the associated imagelist entity (a .JPG) to become the actual Image on a picturebox.
I am getting hamstrung on the conversion of a System.Drawing.Graphics object (required for the ImageList1.Draw) to an System.Drawing.Image so I can assigne it to the Picturebox1.Image.
I plan to do additional manipulation of the Picturebox1.Image.
Here is the code, assuming a valid ImageList, Treeview, and Picturebox.
private void ilTracks_DDClick(object sender, System.EventArgs e)
{
//make a graphics object
System.Drawing.Graphics g = PictureBox1.CreateGraphics();
//draw the ImageList image to the Graphic
//note: this sends the correct graphic to the picturebox, but the PictureBox1.Image property is still NULL on the picturebox...
ImageList1.Draw( g, 0, 0, TreeView1.SelectedNode.SelectedImageIndex);
//What do I need here??
//PictureBox1.Image = ????
}
Thanks any and everyone for your time.
Sandy White
|
|
|
|
|
Hi,
Bitmap bit1 = new Bitmap( pictureBox1.Width, pictureBox1.Height);
Graphics graph1 = Graphics.FromImage(bit1);
graph1.DrawXXX();
pictureBox1.Image = bit1;
Just get the Graphic object from the Bitmap
Give them a chance! Do it for the kittens, dear God, the kittens!
|
|
|
|
|
The code you sent me via email worked great! Posting it here.
Thanks! Sandy
Image temp = (Image)pictureBox1.Image.Clone(); // create a copy of the Image
Bitmap bit1 = new Bitmap(pictureBox1.Width, pictureBox1.Height); //create a
buffer
Graphics graph1 = Graphics.FromImage(bit1); //make a NEW object from the bm
object...
graph1.RotateTransform(52.0F); //rotate drawstart (canvas)
graph1.DrawImage (temp, 0, -pictureBox1.Width); //draw the image onto rotate
canvas (Graphics)
pictureBox1.Image = bit1; //does show the rotated image. alignment needs
work, but that won be too hard
Cheers
|
|
|
|
|
Hi,
I have three TextBox and one Button controls. I disable the button when the form loaded and would like to make it enabled when each textbox has input. At this point, I put following code in each textbox_textChanged event:
<br />
if(textbox1.text.length!=0 && textbox2.text.length !=0 && textbox2.text.length !=0)<br />
button1.enabled = true;<br />
Is there any other way that I don't have to duplicate above codes in each textbox which I would like to check? I appreciate it!!
|
|
|
|
|
Yes!
Create a method that does this, then go to the form designer, select one of your text boxes, click the little lightning (properties) button above the properties, find the correct event in the list, then use the drop-down next to it to select your method.
Then repeat for your other text boxes.
This attaches the same function to each of the three delegates. Neat. I do the same thing on a web form.
Paul
|
|
|
|
|
Oh, I see the "I put each in the textBox_textChanged method" thing. Duh! Don't read my post...
Your bullshit is so effusive I can smell it across oceans...
You impress no-one. You are a world-class sleazeball; an incomparable jerk. No-one is fooled by your idiotic attempts to slant votes.
-A. N. Onymous on Bill SerGio
|
|
|
|
|
Yes, it is neat and does save me lots of typing
But if I would like to do little bit different for each text_changed event, how do I do? Can I attach more than one method for each event?
Thanks!!
|
|
|
|
|
Yes, it is neat and does save me lots of typing
But if I would like to do little bit different for each text_changed event, how do I do? Can I attach more than one method for each event?
Thanks!!
|
|
|
|
|
[All code in this message is untested]
D Shen wrote:
But if I would like to do little bit different for each text_changed event, how do I do? Can I attach more than one method for each event?
Yes, but it has to be done manually.
Go to the form constructor, right underneath TODO: Add any constructor code after InitializeComponent call and add something like the following:
this.textButtonX.TextChanged += new System.EventHandler(this.MySecondaryMethod); However, be careful. If you attach two methods to one Delegate, I can't guarantee what order they will run in or even that they will run in the same sequence each time. A lot of testing is in order here.
Unless the extra code is unrelated and it doesn't matter which sequence you run in, it might be much safer to simply have a method that works like this:
private bool AllEmpty()
{
return ((textBox1.Text.Length + textBox2.Text.Length + textBox3.Text.Length) == 0)
} then use
button1.Enabled = !AllEmpty() in three different event handlers.
Paul
|
|
|
|
|
doesn't this cause the form to update on each text update?
Stupidity dies.
The end of future offspring.
Evolution wins.
- A Darwin Awards Haiku
|
|
|
|
|
Shaun Wilde wrote:
doesn't this cause the form to update on each text update?
On a web form: yes, in a manner of speaking, though you can skip the update code. Page_Load is called, which I think is your question.
On a windows form: no, it simply fires the TextChanged event. Form_Load is not called.
Paul
|
|
|
|