load image to list box
-
hi all i want to load images :sigh: which is in a folder to the list box. Some one Please help me :)
Dream bigger... Do bigger...Expect smaller aji
You'll need to make sure the listbox has the
LBS_OWNERDRAWFIXED
style.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
You'll need to make sure the listbox has the
LBS_OWNERDRAWFIXED
style.
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
I did this by ticking the check box Owner Draw Fixed. Is there any other method?? OR how can i load the images to list box from a folder that specified by me????:sigh:
Dream bigger... Do bigger...Expect smaller aji
see me wrote:
Is there any other method??
You may also need to handle the following messages:
WM_COMPAREITEM (only if the LBS_SORT style was used)
WM_DELETEITEM
WM_DRAWITEM
WM_MEASUREITEM
"Money talks. When my money starts to talk, I get a bill to shut it up." - Frank
"Judge not by the eye but by the heart." - Native American Proverb
-
hi all i want to load images :sigh: which is in a folder to the list box. Some one Please help me :)
Dream bigger... Do bigger...Expect smaller aji
You can use also from CListCtrl i think its better than CListBox You can see an example for your answer with CListctrl in codeproject "Thumbnail_demo"
_**
**_
WhiteSky