Hi All,
I am using the ImageList/ListView Components to display around 100 images
in C#.NET.
The issue i have is, some times i may need to display the thumbnail of size
more then 256x256 in ImageList.
But the ImageList Component supports only size upto 256x256.
What is the best way to handle this?
I am ready to use ImageList ActiveX if needed. I am not very sure how to use
ImageList/ListView activeX in C#.
Some example/links will be greatly appreciated.
Thanks,
Bob. 2 2309
Bob,
The problem with using the ActiveX imagelist is that it will not be
compatable with a number of the controls in .NET that accept ImageList
objects.
If you aren't using the list for controls, then the ActiveX control
should be just fine, or you will have to roll your own solution.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Bob C." <no****@nospam. com> wrote in message
news:OQ******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I am using the ImageList/ListView Components to display around 100
images in C#.NET. The issue i have is, some times i may need to display the thumbnail of
size more then 256x256 in ImageList. But the ImageList Component supports only size upto 256x256.
What is the best way to handle this?
I am ready to use ImageList ActiveX if needed. I am not very sure how to
use ImageList/ListView activeX in C#. Some example/links will be greatly appreciated.
Thanks, Bob.
Thanks for your response.
As i am not going to use any .NET components, i am ready to use ImageList
and ListView ActiveX controls(Both are ActiveX)
I have added image to my axImageList1 control using the Property page.
And in axListView1 control's property page i selected axImageList1 under
Image List tap of the property page.
When i excute it Image is not shown in ListView.
Am i doing anything wrong? or am i missing anything here?
Thanks,
Bob.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:uc******** ******@TK2MSFTN GP11.phx.gbl... Bob,
The problem with using the ActiveX imagelist is that it will not be compatable with a number of the controls in .NET that accept ImageList objects.
If you aren't using the list for controls, then the ActiveX control should be just fine, or you will have to roll your own solution.
Hope this helps.
-- - Nicholas Paldino [.NET/C# MVP] - mv*@spam.guard. caspershouse.co m
"Bob C." <no****@nospam. com> wrote in message news:OQ******** ******@TK2MSFTN GP12.phx.gbl... Hi All,
I am using the ImageList/ListView Components to display around 100 images in C#.NET. The issue i have is, some times i may need to display the thumbnail of size more then 256x256 in ImageList. But the ImageList Component supports only size upto 256x256.
What is the best way to handle this?
I am ready to use ImageList ActiveX if needed. I am not very sure how to use ImageList/ListView activeX in C#. Some example/links will be greatly appreciated.
Thanks, Bob.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dana Epp |
last post by:
Anyone know how to set the "Disabled" imagelist in a C# Toolbar? Although
the Microsoft's Toolbar ActiveX control in the mscomctl.ocx has such a
property, there doesn't seem to be one for the C# version.
Anyone know a work around for this?
---
Regards,
Dana M. Epp
http://silverstr.ufies.org/blog/]
|
by: A. Solomon |
last post by:
Hi,
I have a ImageList containing 4 bitmaps attached to a UserControl
which acts as a Open/Close panel.
This panel, upon click, switches the image in a PictureBox control to
indicate the current panel status (Open/Close).
Problem is that in certain complex scenarios the images disappear!
from the ImageList. That is, when I call: imageList.Images, I get
|
by: Sanjeeva Reddy |
last post by:
hai Anti Keskinen,
i have used
the following code MyListView->LargeImageList->ImageSize = gcnew
System::Drawing::Size(100,
100); // Sets large image size to 100, 100
here i am getting error like "gcnew is undeclared error",how to deeclare
'gcnew"
and when i am using in runtime to change the size of images in imagelist in
listview control in .net(forms application) by chnging one trckbar(like
tb1->Value),
|
by: Andrew Christiansen |
last post by:
Hey everyone. I have Visual Basic .NET 2003 and am trying to show images on
a treeview control. I have the imagelist on the form filled with images,
and have the ImageList property of the treeview control set to the imagelist
containing the images I want to be displayed next to each node.
It seems that no matter what I do there will be no images displayed next to
the nodes during runtime. I tried creating nodes during designtime using...
|
by: David |
last post by:
I have a problem that just cropped up with using an ImageList in my project
I am using VB .NET 200
Problem:
I have existing Form with 2 Image List controls. ImageList16 (for 16x16 Images) and ImageList24 (for 24x24). I have inserted images in each and it has worked fine for months... The System.Drawing.Bitmap properties for these images are PixelFormat=32bppArgb and RawFormat=MemoryBmp with the Horiz and VerticalResolution = 96
I...
| |
by: Just Me |
last post by:
If I add an image to an imagelist using
imageList.Images.Add...
And use it with a tree node
tn.ImageIndex = imageList.Images.Count-1
This is the actual code:
Win32.Shell.SHGetFileInfo(NodePath, 256, fileinfo, cbFileInfo, flags)
tvFolders.ImageList.Images.Add(Icon.FromHandle(fileinfo.hIcon))
tn.ImageIndex = tvFolders.ImageList.Images.Count - 1
|
by: henrycortezwu |
last post by:
Hi,
I have a WinXPSP2, P4 3.2GHZ, 1GIG RAM on my dev machine using VS2005
VB.NET. I did the following procedure:
1. Added 82 icons (128x128 in size & 32bit Depth) in an imagelist
control
2. Save the project
3. Complied the project (successful)
4. Closed the project
5. Opened the project
|
by: piter |
last post by:
Hi
I have problem with imageList. I created one and added soem icons to it.
The imageList is bound to treeView control. However the icons in windows
explorer looks much much better than those in tv. I double checked the
properties of imageList. colordeph is 32 bit, and size of images are exactly
the same as in explorer.
I have searched google grops for the soultion of my problem but none of them
were clear.
Does anyone of you know what...
|
by: =?Utf-8?B?S2VuTg==?= |
last post by:
We're using a System.Windows.Forms.ImageList to store a bunch of Images that
I've loaded, and rendering each image in the ImageList during a draw loop.
The process was running unusually slow and was causing memory spikes. After
several hours we discovered that the ImageList.Images indexer is actually
returning a copy of the added Images instead of simply returning a reference.
Needless to say, we were a bit surprised and disturbed to...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |