Is this other application under your control? Yes, it is, but I don't have its source code. wxWindow::FindFocus() finds only windows inside your own application. And it only finds wxWidgets windows. Aw! Didn't know that. In general, wxWidgets does not provide the functionality you need for this. Ac...
Hello, I need a way to handle global key presses and left-mouse clicks in another applications. When a user presses F2 or F8 keys or left-mouse clicks in a text control in another application developed in .net framework, I need to catch that and do set the value of that text control and simulate ENT...
Can it be supported by other platform? Possibly i generic way... Currently no, it is wxMSW specific, because we are dealing with uxTheme which is Windows specific, but could be made generic (still requires OS specific calls e.g ::GetThemeMargins() ) with the help of a new wxMargins class in the fut...
Did you include that header everywhere? No, not everywhere. only in wxWidgets\include\wx\msw\window.h , I didn't want to mess up everything. I was hoping for someone else to try it using MSVC compiler, because MinGW-w64 error messages are confusing. Also - why do you want to modify the library sour...
Hello, I want to define a member variable of type struct MARGINS from uxtheme.h : MARGINS margins; inside wxWidgets\include\wx\msw\window.h wxWindow class, but with no luck. What I get is all these sort of errors: C:\Dev\wxWidgets\build\msw>mingw32-make -f makefile.gcc SHARED=1 VENDORTAG=""...
so all you need is to change how messages with wxLOG_Trace level are handled there (i.e., do not return): https://github.com/wxWidgets/wxWidgets/blob/bae7680d521848db3435a0481d6cf9d5c655509c/samples/widgets/widgets.cpp#L270 That was it, I was blind to it, maybe because of my poor Logging knowledge....
Firstly, you need to check the actual debug level in your application in the dialog invoked by <Ctrl><Alt><Middle Click> into an area not occupied by a control consuming mouse input or by calling wxInfoMessageBox(). Untitled.png Secondly, I believe you need to call wxLog::AddTraceMask("winmsg&...
Hello, Though I already uncomented: #ifdef NDEBUG #define wxDEBUG_LEVEL 0 #else #define wxDEBUG_LEVEL 2 #endif in both C:\Dev\wxWidgets\lib\gcc11_dll\mswud\wx\setup.h and C:\Dev\wxWidgets\include\wx\msw\setup.h and rebuilt wxWidgets using the following command: mingw32-make -f makefile.gcc BUILD=deb...
Catch wxEVT_ENTER_WINDOW / wxEVT_LEAVE_WINDOW and set a flag if the mouse is inside or not. Or use wxWindow::GetScreenRect().Contains( wxGetMousePosition() ) What if this window is behind another one in modeless Dialog windows! I think using wxFindWindowAtPoint(wxGetMousePosition()) == this would b...
I want to edit an .rc file to embed some resources like ICO , CUR , PNG , JPEG in the EXE file under windows using Code::Blocks . This is trivial to do with a text editor. I don't think you need a dedicated resource editor for that. I know, but to avoid any errors when typing, I thought of using a ...
Hello, I need a good " .rc " resource script Editor for non-VS IDE ? I have used " ResEdit " but it is constantly crashing, also I found out that it has been classified as PUA by many antivirus scanners . I also tried " Resource Hacker ", but it messed up the resulting ...
Thank you for the answers, It was very tough to migrate my project from C::B to VS 2019, and some libraries still didn't link like Crypto++, I had to comment out a lot of code to make it compile and build successfully. I have used the minimal .sln project thought I just discovered about wxwidgets.pr...