
- Home
- Activity Stream
Activity Stream
New Activity ()
Please reload this page to view the 200+ new activity items that have been created.
-
Older Activity
-
Today, 11:44 AM
Thank you very much for your help.
10 replies | 112 view(s)
-
Today, 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,...
12 replies | 252 view(s)
-
Today, 08:35 AM
These article/discussions may be useful:
https://stackoverflow.com/questions/1164868/how-to-get-size-of-check-and-gap-in-check-box...
10 replies | 101 view(s)
-
Today, 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...
10 replies | 101 view(s)
-
Today, 07:23 AM
If you "need to show the icon 32x32" then dom_imglist.Create(32, 32, ILC_COLOR32,1, 1);
...
::LoadImage(AfxGetResourceHandle(),...
10 replies | 101 view(s)
-
Today, 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...
10 replies | 101 view(s)
-
Today, 07:08 AM
You have to add a new custom (21x21) images to your icons.
Then load them using::LoadImage(AfxGetResourceHandle(), MAKEINTRESOURCE(IDI_UnCheck_ICO),...
10 replies | 101 view(s)
-
Today, 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);
...
12 replies | 252 view(s)
-
Today, 06:19 AM
Already did it, my icons have size 32x32, but it doesnt help
10 replies | 101 view(s)
-
Today, 06:08 AM
The simplest way would be "resize" your icons (or just create the icons of the size 21x21) in the image editor. And then use these 21x21 icons.
10 replies | 101 view(s)
-
Today, 05:06 AM
1) Pass by const ref - so not passed by value, so no copy of the passed argument undertaken. In general unless a copy is required, only POD types...
10 replies | 112 view(s)
-
Today, 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...
10 replies | 101 view(s)
-
Today, 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...
10 replies | 101 view(s)
-
Today, 03:58 AM
Why do you pass 2 as the index in the image list? Your image list has the size 2, thus the only valid indexes are 0 and 1.
BTW, using SetItemImage...
10 replies | 101 view(s)
-
Yesterday, 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;...
10 replies | 101 view(s)
-
Yesterday, 01:28 PM
2 questions:
1) Why did you change:
myVec(const int&); // Ordinary constructor
myVec(initializer_list<T>); // Initializer list...
10 replies | 112 view(s)
-
Yesterday, 12:51 PM
I would code it as this which also includes an overload so that the contents of myVec can be displayed:
#include <iostream>
#include...
10 replies | 112 view(s)
-
Yesterday, 12:51 PM
@VictoeN
I recalled that method and using F10 and F11 tried to go through the code step by step to find the line containing the error but yet...
10 replies | 112 view(s)
-
Yesterday, 12:16 PM
OK. There is an ordering error in the initializer list constructor. The order of initialisation must be the same as the order the variables are...
10 replies | 112 view(s)
-
Yesterday, 12:13 PM
Run the "programs in Debug mode" is not the same as debug the program!
Have a look at ...
10 replies | 112 view(s)
-
Yesterday, 12:04 PM
I run my programs in Debug mode using VS 2019 with C++ 17 enabled.
I added #include <initializer_list> but still get the run-time error message...
10 replies | 112 view(s)
-
Yesterday, 11:57 AM
What os/compiler are you using? This compiles and runs OK with VS2019. I've only added an include for initialiser list.
#include <iostream>...
10 replies | 112 view(s)
-
Yesterday, 11:41 AM
Why presumably ?
didn't you debug your code to see the exact place of the "crash"? :confused:
10 replies | 112 view(s)
-
Yesterday, 10:59 AM
Hi all,
Here is the first version of my vector. It crashes and presumably the reason is the initializer list constructor, but I've used the...
10 replies | 112 view(s)
-
12 replies | 252 view(s)
-
January 15th, 2021, 01:55 PM
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...
12 replies | 252 view(s)
-
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:...
12 replies | 252 view(s)
-
January 15th, 2021, 08:53 AM
What overly complicated code. Create a modeless dialog. Make its parent window the main app window. Store the pointer to it in the AfxApp (so you can...
4 replies | 101 view(s)
-
January 15th, 2021, 08:06 AM
Basically i was relooking into code, and wondering, after the CLOSE, the window is destroyed, but the handle is still having not deleted. Is it wrong...
4 replies | 101 view(s)
|
Click Here to Expand Forum to Full Width
On-Demand Webinars (sponsored)
|