Search:
Type: Posts; User: al072
Search:
Search took 0.02 seconds.
-
January 18th, 2021, 12:53 PM
Thank you for the links, very helpful information!!! Finally i found the way, i don't know why, but bitmap instead the icon make a trick
-
January 18th, 2021, 12:49 PM
Thank you very much for the link, very interesting and helpful information, unfurtunatley didn't find the answer on my question about the magic number))) But the example in really uncommon., i like...
-
January 17th, 2021, 09:08 AM
I found this way to check and toggle the state of LVSIL_STATE checkbox and it is work perfect:
void CAlphaListCtrl::OnNMClick(NMHDR* pNMHDR, LRESULT* pResult)
{
LPNMITEMACTIVATE...
-
January 17th, 2021, 08:05 AM
Thank you for reply! I already did the same, but the result is like you can see on screenshot(( It seems like the text lable stay small and icon overlap it
-
January 17th, 2021, 07:13 AM
Images 21x21 are to small and i able to load it like you show, but i need to show icon 32x32 and i am trying to load it the way you posted, but the result you can see on screeshot i provided (it is...
-
January 17th, 2021, 06:26 AM
I found a solution, how to load checkbox images without custom draw, i am using the flag "LVSIL_STATE"
m_imglist.Add(hUnChecked);
m_imglist.Add(hChecked);
...
-
January 17th, 2021, 06:19 AM
Already did it, my icons have size 32x32, but it doesnt help
-
January 17th, 2021, 04:54 AM
Now i have another trouble, how to resize image properly? IF i pass values more then 21 to m_imglist.Create(21, 21, ILC_COLOR32,1, 1); , checkbox lookes like out of bounds (here attached a...
-
January 17th, 2021, 04:46 AM
VictorN, thank you for quick reply!!! I found solution, my problem was in the following: when the custom ImageList is passed to CTreeCtrl it needs to pass 3 images for 3 different states (disabled,...
-
January 16th, 2021, 09:16 PM
Hi to everyone!!! Help me to change CTreeCtrl image on the fly.
I add the image to the imagelist like this:
HICON hChecked, hUnChecked;
// Set up the image list.
...
-
January 15th, 2021, 01:55 PM
35940
That is what i can achieve, take a look please on the top left corner, there is a custom checkbox, but i need the same inside of the CListCtrl not in the header and i dont know how to do it
-
January 15th, 2021, 01:51 PM
Hi, VictorN!!! First of all i want to thank you very much for your time and help. Finally i found the almost what i need in this link:...
-
January 13th, 2021, 09:20 AM
Yes i did, this method only change back color of CListCtrl, but not change the color of checkboxes... it doesnt work for me
-
January 12th, 2021, 09:27 PM
It would be nice to see a code sample, can anybody share it please?
-
January 12th, 2021, 01:22 PM
Thank you for reply! I use CListCtrl
-
January 12th, 2021, 12:02 PM
Hi dear guru!!! I need your help!!! I'm trying to find a way to change background color of checkbox inside CListCtrl, please help me to find a working solution. Maye there is some way to work with...
|
Click Here to Expand Forum to Full Width
|