Re: Edit Control of Toolbar
Quote:
I have tried processing WM_MOUSEMOVE or WM_MOUSEHOVER but doesn't work..
When I was involved in c/c++ gui development and wanted to understand what was going on, I logged all received windows messages to a file. I could then examine the file at leisure to see what messages etc had been received by what window and the ordering.
Re: Edit Control of Toolbar
Quote:
Originally Posted by
2kaud
When I was involved in c/c++ gui development and wanted to understand what was going on, I logged all received windows messages to a file. I could then examine the file at leisure to see what messages etc had been received by what window and the ordering.
There was a mistake from me, in fact with window subclassing it works, just that it should have been done with something like
OriginalProcedure1 = (WNDPROC)SetWindowLongPtr(hWndEdit2, GWLP_WNDPROC, (LONG_PTR)NewProcedure1);
instead of what I had previously:
OriginalProcedure1 = (WNDPROC)SetWindowLong(hWndEdit2, GWL_WNDPROC, (LONG)NewProcedure1);
Regarding logging messages in a file for examining them and the order, that's a good solution indeed for seeing what messages are generated..
Many appreciations for the help..