Search found 11470 matches

by doublemax
Thu Nov 23, 2017 10:20 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 105

Re: WIN10 Simple sample from outside WXW environment available?

I'm almost certain this has nothing to do with wx. It's more likely a Windows or VS issue.
by doublemax
Thu Nov 23, 2017 8:38 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 105

Re: WIN10 Simple sample from outside WXW environment available?

The "3.0.3_exe" in several places in the paths looks wrong. Double check your settings.
by doublemax
Thu Nov 23, 2017 10:27 am
Forum: General Development
Topic: Read data in a WEB page
Replies: 11
Views: 105

Re: Read data in a WEB page

It seems the actual update is done with JavaScript. In that case you won't see it in the source. You should look for other sources of information, e.g. http://api.open-notify.org/iss-now.json If you only need the position of the ISS, that should be sufficient. If not, keep looking for other URLs. I'...
by doublemax
Wed Nov 22, 2017 11:58 pm
Forum: Compiler / Linking / IDE Related
Topic: wxwebview unresolved external sympol
Replies: 2
Views: 31

Re: wxwebview unresolved external sympol

You probably just forgot to add wxmsw31[ud]_webviewchromium.lib to the linker input files.
by doublemax
Wed Nov 22, 2017 5:32 pm
Forum: General Development
Topic: Read data in a WEB page
Replies: 11
Views: 105

Re: Read data in a WEB page

wxHtmlWindow can't load https streams. Only http. If you want to use a browser control for that purpose, you'll have to use wxWebView and get the page source in the wxEVT_WEBVIEW_LOADED event handler. The same question was asked just a few days ago: https://forums.wxwidgets.org/viewtopic.php?f=1&...
by doublemax
Wed Nov 22, 2017 7:47 am
Forum: General Forum Issues
Topic: How does a question gets marked as "SOLVED" [SOLVED]
Replies: 4
Views: 69

Re: How does a question gets marked as "SOLVED" [SOLVED]

When you're logged and in a thread that you created, you should see some icons in the upper right corner of each post. The last one of them looks like a checkmark and says "Accept this answer". Click that for the post that helped you the most.
by doublemax
Tue Nov 21, 2017 5:50 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem
Replies: 11
Views: 135

Re: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem

gcc 7.2.0 is probably too new. Pretty much every new major MinGW version in the last few years has broken wxWidgets compilation. Try a 6.x one with the latest wxWidgets version from GIT.

For a test, you could also try tdm-gcc-5.1.0 which is know to work.
http://tdm-gcc.tdragon.net/download
by doublemax
Tue Nov 21, 2017 5:38 pm
Forum: C++ Development
Topic: can wxwebview sen keys to the browser
Replies: 3
Views: 55

Re: can wxwebview sen keys to the browser

wxUIActionSimulator emulates a key press at low level, it does the same as pressing a key on a physical keyboard. So the key event will go to the window that has focus.
by doublemax
Sun Nov 19, 2017 12:19 pm
Forum: C++ Development
Topic: Mouse position not looping
Replies: 1
Views: 32

Re: Mouse position not looping

if(x <= 0) //doesn't work, left of screen parentFrame->WarpPointer(screenMaxX, y); Try "screenMaxX-1" here. I'm surprised this works at all, as you're setting negative coordinates in some cases: if (x >= screenMaxX) parentFrame->WarpPointer(0 - x, y);
by doublemax
Sat Nov 18, 2017 4:00 pm
Forum: C++ Development
Topic: Get data from a web page
Replies: 8
Views: 109

Re: Get data from a web page

Usually wxHTTP. But unfortunately it doesn't support SSL.

Options are:
1) libcurl
https://curl.haxx.se/libcurl/

2) One user added SSL to wxHTTP. Check if his solution works for you:
viewtopic.php?f=1&t=43802
by doublemax
Sat Nov 18, 2017 2:43 pm
Forum: C++ Development
Topic: Get data from a web page
Replies: 8
Views: 109

Re: Get data from a web page

When using wxWebView (which might not be the best tool for the job), you have to wait for the wxEVT_WEBVIEW_LOADED event. Then the source will be available.
by doublemax
Fri Nov 17, 2017 11:50 pm
Forum: General Development
Topic: wxWidgets, imagemagic and png
Replies: 1
Views: 52

Re: wxWidgets, imagemagic and png

Please show an example of the generated header file and the code that's supposed to load the image.

https://wiki.wxwidgets.org/Embedding_PNG_Images
by doublemax
Fri Nov 17, 2017 9:51 am
Forum: C++ Development
Topic: Storing button pointers on wxWidget?
Replies: 6
Views: 97

Re: Storing button pointers on wxWidget?

Use the debugger to find out where and why it crashes. My guess would be the while loop inside the for loop and "col" running out of bounds. For simplicity i would suggest to split the "gameWin" check into 4 loops: One checks for horizontal lines, one for vertical lines and 2 for...
by doublemax
Thu Nov 16, 2017 2:26 pm
Forum: C++ Development
Topic: Storing button pointers on wxWidget?
Replies: 6
Views: 97

Re: Storing button pointers on wxWidget?

How do you create the buttons? By code or with a GUI editor?

If you do it by code, please show the code.

If the latter case you may need another way to mark the buttons, e.g. with a unique ID that tells you which button is where.

Go to advanced search