如何顯示縮圖 |
答題得分者是:william
|
help
一般會員 發表:12 回覆:54 積分:13 註冊:2002-06-14 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
A simple way is making use if the SmallImages property of the ListView and assign an ImageList containing the resized images. Otherwise, you may need to write up you own OnDrawItem/OnDrawSubItem events (or OnCustomDrawItem/OnCustomDrawSubItem...etc).
|
help
一般會員 發表:12 回覆:54 積分:13 註冊:2002-06-14 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
|
help
一般會員 發表:12 回覆:54 積分:13 註冊:2002-06-14 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
引言: Unfortunately, I need to add images from directory at run time.... >>< face="Verdana, Arial, Helvetica"> Are you working on some kind of image viewer? Then I would recommend writing you own OnCustomDrawItem/OnCustomDrawSubItem for the list view in order to save resources needed to create and store the resized images. |
banson1716
高階會員 發表:55 回覆:182 積分:167 註冊:2002-04-14 發送簡訊給我 |
|
help
一般會員 發表:12 回覆:54 積分:13 註冊:2002-06-14 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |