Click here to Skip to main content
15,890,336 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Now there are many listbox or listctrl control use process bar ,combobox ...as item;
but i want a list control use dialog as item,
Is there somebody had seen this kind of control?
can u give me a url?
thank u!
Posted

Maybe the Rollup Control[^] could give you some ideas.
 
Share this answer
 
I dont know if this will work, but take a look at embedding dialogs in things like tab controls. There is an article here[^] which does it simply.
Then take a look at an article that embeds something else in a listctrl. A pretty simple one can be found here[^].

Then just change the row height and you're set.
 
Share this answer
 
This seems rather odd for an UI. If you just want to show a read only dialog there, you may not need to embed a dialog. Instead use custom drawing/painting to show all the data you want to, and make it look like a dialog.

On the other hand if you want to get an editable dialog in there, perhaps you should be looking at using a more advanced control such as an MFC grid control. And then customize the rows to look like actual dialogs using Grid-specific embeddable child controls. That would be a more common approach to this sort of problem.
 
Share this answer
 
Thanks everyone !
I decide to use the Rollup Control.
Although It is not as suitable as i think,but if i modify it ,it will be ok. :-\
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900