Search found 188 matches
- Wed Mar 27, 2024 8:01 am
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 600
- Tue Mar 26, 2024 4:25 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 600
Re: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
oh ... i'm definitely dumb. It created a subfolder in the minimal one called gcc_mswud_MinGW1320x64_d and put the .exe there. Thanks a lot. Now, just to try to set it in my memory (or at least have it written here): seems to me that it wasn't that way the last time i tried... i remember the samples ...
- Tue Mar 26, 2024 2:25 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 600
Re: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
What is "x86_64-w64-mingw32-g++" doing there were building only the samples? I don't know: It is the output i get after the mingw32-make minimal command. You need to pass the same build parameters to the samples you used for the library. [...] You should also use the same -CFG, otherwise ...
- Tue Mar 26, 2024 12:50 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
- Replies: 7
- Views: 600
Compiling Latest wxWidgets in Windows with MinGW64: cannot compile Minimal example.
Seems that i always stumble on this step... sorry if the question is stupid but i didn't find a solution before asking here. I've downloaded the latest sources, and compiled with MinGW64 13.2, using this command: mingw32-make -j8 -f makefile.gcc setup_h CXXFLAGS="-std=gnu++17" USE_XRC=1 SH...
- Tue Mar 12, 2024 9:32 am
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 211
Re: Making win10 Magnifier with wxWidgets: is it feasible?
I assume under Window the Magnification API is used, which does all the heavy lifting: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/magapi/magapi-intro I've stumbled on this page: https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/ and other t...
- Mon Mar 11, 2024 4:56 pm
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 211
Re: Making win10 Magnifier with wxWidgets: is it feasible?
I doubt it's possible with wxWidgets methods alone, you'll probably need some platform specific code. For a start, wxScreenDC is the only way to access the screen content, and i wouldn't know any way to exclude your own window from it. I assume under Window the Magnification API is used, which does...
- Mon Mar 11, 2024 3:17 pm
- Forum: C++ Development
- Topic: Making win10 Magnifier with wxWidgets: is it feasible?
- Replies: 5
- Views: 211
Making win10 Magnifier with wxWidgets: is it feasible?
I'm investigating if making a program similar to the Windows 10 Magnifier using wxWidgets is doable. The goal is to have a full-screen window which shows a zoomed portion of what is under the mouse, and that allows the user to click on what is shown. This makes me think immediatly at two problems: c...
- Thu Dec 07, 2023 9:27 am
- Forum: C++ Development
- Topic: can wxGraphicsContext be used to draw on a child control?
- Replies: 1
- Views: 1247
can wxGraphicsContext be used to draw on a child control?
I've learnt how to draw what i want using DC in the OnPaint event of a wx<something> (i usually derive my components from wxPanel).
I wonder if i can do the same drawing from OUTSIDE, so (as example) drawing a gradient from the main form on a child wxPanel.
There's a way do it?
I wonder if i can do the same drawing from OUTSIDE, so (as example) drawing a gradient from the main form on a child wxPanel.
There's a way do it?
- Thu Nov 09, 2023 11:29 am
- Forum: C++ Development
- Topic: How to get a nested sizer?
- Replies: 2
- Views: 2397
Re: How to get a nested sizer?
Thanks a lot.
- Thu Nov 09, 2023 9:23 am
- Forum: C++ Development
- Topic: How to get a nested sizer?
- Replies: 2
- Views: 2397
How to get a nested sizer?
This is part of how my app is built: wxCrafterTree.png How can i get a wxGridBagSizer* to grbHelp_MAIN ? If i call m_Page_15_HELP->GetSizer() i get a pointer to boxSizer5409 ... There's a way to get it starting from m_panHelp_HOME ? It would be more handy as that hierarchy will never change, while t...
- Wed Oct 11, 2023 9:13 am
- Forum: C++ Development
- Topic: Flashing screen for feedback when taking a screenshot: is it possible?
- Replies: 1
- Views: 2633
Flashing screen for feedback when taking a screenshot: is it possible?
On my kiosk app there's a key combo that saves a screenshot. I would like to give a bit of feedback to the user, and the Android way to "flash" the screen when you do it seems a pretty good one. So i wonder if i could do the same (so, an "all white" screen for some fraction of a ...
- Thu Sep 28, 2023 8:03 am
- Forum: C++ Development
- Topic: wxRenameFile() and filenames with spaces
- Replies: 11
- Views: 9865
Re: wxRenameFile() and filenames with spaces
Which filesystem does that partition use? ":" might not be a valid character for a filename. Try renaming a file manually to confirm. THIS IS IT!!! The destination folder is in a Fat32 USB dongle, which can't take that filename. This fact slipped under my eyes 'cause the debian file manag...
- Wed Sep 27, 2023 3:04 pm
- Forum: C++ Development
- Topic: wxRenameFile() and filenames with spaces
- Replies: 11
- Views: 9865
Re: wxRenameFile() and filenames with spaces
What is the code? wxString fn = wxFileNameFromPath(FileList[i]); wxRenameFile(FileList[i], NEW_PATH + "/" + fn) FileList is a wxStringArray containing all the ".graph" filenames in the folder /home/fc/MSXPG/MSXPG/bin/debug/DataFiles . The problematic file name is " MSXPG_Gr...
- Wed Sep 27, 2023 2:43 pm
- Forum: C++ Development
- Topic: wxRenameFile() and filenames with spaces
- Replies: 11
- Views: 9865
- Wed Sep 27, 2023 2:37 pm
- Forum: C++ Development
- Topic: wxRenameFile() and filenames with spaces
- Replies: 11
- Views: 9865
Re: wxRenameFile() and filenames with spaces
Doublemax is right: the problem are not the spaces. Are the ":" in the filename
How to handle them?
AND/OR:
what exception should i catch to hide any messagebox? i tried "catch(...)" but i still get the error message popup.
How to handle them?
AND/OR:
what exception should i catch to hide any messagebox? i tried "catch(...)" but i still get the error message popup.