OK, roxaz. Could you just do the following steps again? 1) New a Win32 Project(Empty Project). 2) Just add a single source file, called main.cpp. 3) Paste your demo code into it. 4) Change project configuration a) Add additional "Include" paths b) Add additional "Libs" paths c) Specify libs: comctl3...
Hi, michel. Your code is quite clear, and I've read and compiled it on my machine. But I think the behavior is reasonable. When I am editing a cell, I click the button. I think the mouse event will be sent to that cell editor. So then the editor hide. And if you click the "Close" button again, the m...
Hi. Maybe I am not sure I understand what is your problem. I think maybe you can try the dynamic handlers, Connect and Disconnect or PushEventHandler() and PopEventHandler. So before you call Select() you can disconnect or pop the handler, and after the call, you can re-connect and push the handler....
After traced the code of wx, I found the situation like what you said. There is a wxYield() in a executing-path in OnA. wxYield will get the next event and process it. So OnB() will be called in OnA(). That's the problem!
Thanks again, guys!! I've learned much from this ticket.
Dear all, Recentlly I met a confusing problem about wx event handling mechanism. I will try my best to describe it. Assumed there are two event A and B, and OnA() and OnB() are their handlers respective, event A is the first event, and B is the second. So OnA() will be called first, but it will take...