15,913,722 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by quyps (Top 21 by date)
quyps
23-Jul-11 1:19am
View
Thanks Joan, you're such a great helper :)
Sorry, my question maybe not very clear about what i need to do. I modified it. I really appreciate your help.
quyps
13-Jul-11 12:45pm
View
Thank you very much Juan. And yes, I have been thinking of using owner-drawn. But as i understand, and i may be wrong that owner-draw, by overlapped function DrawItems(), MeasureItem().., is used for drawing items in drop list. please correct me here.
quyps
11-Jul-11 22:06pm
View
I totally agree with Marcus. 5*!
quyps
8-Jul-11 0:01am
View
thanks Marcus! I have had a same thought. But there is another issue: how to know in MeasureItem() that it is called from AddItem() or UpdateData.
quyps
6-Jul-11 21:40pm
View
Thank Rhunors, it's exactly what i'm looking for. 5*!
quyps
27-Jun-11 2:48am
View
yes, you're right. Your solution work for what i need according to the question. However, my listctrl's item have different bg colors, and they are also not rectangular shape. If i padding space around icon i need to create icons for different backgrounds.
quyps
26-Jun-11 21:21pm
View
You suggestion is not exactly the solution, but it do give a hint. Items' height can be changed by size of imagelist which contains a fake image. Actual images should be drawn in postpaint draw stage of the control. I'm making a test. Very thanks.
quyps
26-Jun-11 21:16pm
View
Thanks Albert, afak, MoveWindow will move and resize entire control not each items in it. I may overlook its use, can you give me some more information about using it in my case?
quyps
26-Jun-11 21:12pm
View
Thanks, I did take a look. It's said in document that "The control must be in icon or small icon view.". My listctrl is set in detail view. I didnt try but i think this function is used to arrange item of CListCtrl in icon and small icon mode.
quyps
25-Jun-11 10:25am
View
thanks, i made a test. SetWorkAreas just change the list's area in which all icons are displayed, and it is applied only for: icon layout and small icon layout.
quyps
5-Jun-11 22:26pm
View
I did it. Use ON_CONTROL_REFLECT_EX, return FALSE in the handle function.
Thanks Resmi!
quyps
2-Jun-11 1:10am
View
Thank Kryukov! Can you point me one of projects like that?
I have been thinking of customizing CTreeCtrl and handling "double click" event. I haven't try yet, but it sounds promising.
quyps
30-May-11 2:51am
View
"Create your own tree control", Do you mean that i need to make a customized CTreeCtrl? If so, which message do i need to handle in order todo it?
Thanks.
quyps
23-May-11 2:20am
View
Anyone??!! :(
quyps
13-May-11 4:08am
View
thank, Joan!
quyps
11-May-11 13:40pm
View
it will do if i keep my list of param and list control in same order. thanks
quyps
11-May-11 1:57am
View
thanks, fived :)
quyps
11-May-11 1:56am
View
thank, 5 from me
quyps
11-May-11 0:05am
View
Thanks, i place those lines in OnInitDialog() of the list control's container, but it doesnt work. The list's items are still sorted in descending order.
quyps
11-May-11 0:04am
View
Deleted
Thanks, i place those lines in OnInitDialog() of the list control's container, but it doesnt work. The list's items are still sorted in descending order.
quyps
9-May-11 5:36am
View
Thanks, that's exactly what I want to know. 5 from me.
Show More