473,770 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

resize icons in treeview

Hello
Is it possible to resize icons in treeview, it seems its always 16x16
Or maybe its possible to put picutre of custom size into treeview, somehow
....
Jul 15 '07 #1
1 2120
Check this out if you can get something done.
http://msdn2.microsoft.com/en-us/library/ms529236.aspx

Ming Man

"kriz" <kr**@vp.plwrot e in message
news:eL******** ******@TK2MSFTN GP04.phx.gbl...
Hello
Is it possible to resize icons in treeview, it seems its always 16x16
Or maybe its possible to put picutre of custom size into treeview, somehow
...


Jul 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
10374
by: What-a-Tool | last post by:
Is possible to use the windows image list for icon display in my treeview control? Would appreciate it you could point me towards a code sample or Key phrase to use in a google search. Thanks --
8
5434
by: Ian Stiles | last post by:
If you have "Show window contents while dragging" turned on (Right-click desktop, Appearance, Effects) then you get horrible flashing and flickering on a CSharp form when the form hosts a TreeView or WebBrowser control and then you resize the form. Here is what I've tried so far: 1. Turning off CS_VREDRAW and CS_HREDRAW in both the parent form and a subclass of the control via the "override CreateParams" property (these values were...
3
1611
by: Keith Elder | last post by:
I am using VS 2005 Beta and I have a Treeview UserControl that I built for a menu. I added an imageList to the control and added some icons that I want to associate with the control. When I build the solution and view the UserControl placed on a form in the designer, I can see the icons. However, when I run the solution's executable I do not see the icons in the Treeview. It is like the images are not getting placed into the output of...
3
1991
by: lwhitb1 | last post by:
I created my own icons, and I would like to be able to use them instead of all the default icons they provide. Is this possible? -- lee
2
2009
by: OpticTygre | last post by:
Hi folks. I'm currently in the midst of building an explorer - like viewer for a bigger project I'm going to be working on soon. When building the class for my Treeview and Listview controls, I'm using the ExtractIconEx API function (see code below). I found that all the icons windows uses are not necessarily in the Shell32.dll file, though. I did some digging, and found a few other places where Icon files are being pulled from to be...
2
2024
by: Phill W. | last post by:
(Using VB'2003) Is there a "recommended" size for TreeView icons these days? I've rummaged around MSDN and Google and can't find anything that suggests "For best results, icons should be such-and-such a size". Any recommendations? TIA, Phill W.
1
2133
by: vegas26 | last post by:
hi i have a strange behaviour in my treeview control. it shows no more my icons after i did translate my winform into other languages (localized). it still shows the placeholders for the icons but unfortunately no icons anymore.
2
6115
by: Diogene Laerzio | last post by:
I'd like to allow user to resize a treeview control in a form at runtime. What properties should I set to allow this? Thank you.
8
12140
by: sphinney | last post by:
Hello. I'm using a treeview control on my Access 2007 form. The treeview will be used to show the directory structure of a given file path. I've been able to successfully populate the nodes on the treeview. What I don't know how to do is locate the appropriate icons to place next to the nodes. Or, put another way, how to I query local computer's OS to find out which icon goes with each file? For example, I want to display folder icon...
0
9618
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
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,...
0
10259
Oralloy
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...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
4007
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
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.