Well, this is not a problem but it bothers me to see a window that quickly appears and disappears when I double click on the toolbar that I have created with CreateWindowEx. How could I deactivate it. It looks like a ToolWindow in which you can reorder your toolbar menu, a predefined window created by Windows. There must be a way of deactivating it. Thanks!
After researching a bit more I found out that what I want is to do is disable TB_CUSTOMIZE. When he user clicks on the toolbar no customize toolbar window must appear.
The integer value of the TB_CUSTOMIZE is 1051. After saving as a text file all the integer values of all the messages sent to tlb_proc() I didn't found this one.
Well, I don't know if discarding WM_LBUTTONDBLCLK has any other side effects in the toolbar as I am not a GUI-in-C++ guy. I just happen to know a thing here and there. Test it out to see if it works properly.