473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Tricky list box item problem.........


Is it possible to embed controls within a listbox item? I'm currently
owner-drawing a list box - but I would like to have controls embedded in
each list item. Is this possible, or am I in cloud cookoo land?

Cheers
Rob
Nov 20 '05 #1
2 1109
So far as I know the answer is no, you can't.

However, because you have hit test abilities, and you have owner draw
abilities, you can probably make it work with enough effort and time if its
important enough. What is it you are trying to accomplish?

--
Justin Weinberg

Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at www.mrgsoft.com
"Robin Tucker" <id*************************@reallyidont.com> wrote in
message news:bm******************@news.demon.co.uk...

Is it possible to embed controls within a listbox item? I'm currently
owner-drawing a list box - but I would like to have controls embedded in
each list item. Is this possible, or am I in cloud cookoo land?

Cheers
Rob

Nov 20 '05 #2
Well each item in my list view represents an image from a database. These
images have a "status", "title", "Description" - it would be nice, for
example, to be able to click a button and change the status (current status
values can be Red, Yellow or Green), or click a button and play the sound
associated with each image. It isn't so important as I can stick some items
on a toolbar.

"Justin Weinberg" <jweinberg@_spamkill_mrgsoft.com> wrote in message
news:ec**************@TK2MSFTNGP09.phx.gbl...
So far as I know the answer is no, you can't.

However, because you have hit test abilities, and you have owner draw
abilities, you can probably make it work with enough effort and time if its important enough. What is it you are trying to accomplish?

--
Justin Weinberg

Designing a PrintDocument? Drawing to forms?
Check out GDI+ Architect at www.mrgsoft.com
"Robin Tucker" <id*************************@reallyidont.com> wrote in
message news:bm******************@news.demon.co.uk...

Is it possible to embed controls within a listbox item? I'm currently
owner-drawing a list box - but I would like to have controls embedded in
each list item. Is this possible, or am I in cloud cookoo land?

Cheers
Rob


Nov 20 '05 #3

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

Similar topics

17
by: Thomas M. | last post by:
Hello, i have a question on the following code. test_list = for i in test_list: print i
3
by: Andy | last post by:
Hi, I am complete JavaScript novice and would really appreciate some help with this code: ===================================================================== <%@LANGUAGE="VBSCRIPT"...
5
by: scott | last post by:
Hello, I'm trying to find the most optimal way to perform a tricky query. I'm hoping this is some sort of standard problem that has been solved before, but I'm not finding anything too useful so...
25
by: PyPK | last post by:
What possible tricky areas/questions could be asked in Python based Technical Interviews?
6
by: da.colonel | last post by:
Hello, I'm having some trouble with implementing a hashtable (hashmap) for a class at school. The map's constructor is called with a hash function and the number of possible keys the function...
3
by: Senna | last post by:
Hi Have these to work with. int counter = 0; //The total item to fill the collection with int increment = 2; //Any number int current = 244; //Quantity int max = 1290; //Max Quantity int...
3
by: jamesgoode | last post by:
Hi, I've got a complicated problem to solve. Say I have an indexed array $array, with contents as follows: 'name' ='James' 'favefood' ='Spagbol' 'os' ='Debian GNU/Linux' And say I want...
7
by: =?Utf-8?B?Sm9lbCBNZXJr?= | last post by:
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds...
1
by: jmartmem | last post by:
Greetings, I have a nagging problem with client-side dynamic dependent list boxes that perhaps someone can help me troubleshoot. I have a form with a series of dynamic dependent list boxes....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
tracyyun
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...
0
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,...

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.