Search found 2123 matches

by evstevemd
Tue Apr 02, 2019 12:32 pm
Forum: C++ Development
Topic: wxSocket confusion
Replies: 9
Views: 173

Re: wxSocket confusion

In any case, the "client" part of the "ipc" sample is good place to start. Does any sample code exist (in any language) that shows how to communicate with the other application? Or documentation? Ok thanks, I will take a look at it. It sends simple string. So other than IP and port, nothing else ex...
by evstevemd
Tue Apr 02, 2019 9:45 am
Forum: C++ Development
Topic: wxSocket confusion
Replies: 9
Views: 173

Re: wxSocket confusion

doublemax wrote:
Tue Apr 02, 2019 9:42 am
Are both applications under your control? Then check the "ipc" sample, it does exactly what you need.
No. The other app isn't under my control. I can change mine only!
by evstevemd
Tue Apr 02, 2019 9:37 am
Forum: C++ Development
Topic: wxSocket confusion
Replies: 9
Views: 173

wxSocket confusion

I need to write simple app that sends instruction to another app via TCP/IP. The other app runs TCP server and I need to connect and send instruction. Then the app have to continue with its business until it receives a notification of available answer (it migh take time). In summary the communicatio...
by evstevemd
Tue Apr 02, 2019 9:29 am
Forum: Announcements and Discoveries
Topic: [GSoD] Google Season of Docs 2019
Replies: 1
Views: 352

Re: [GSoD] Google Season of Docs 2019

First Idea that comes to my mind is a Cookbook. Yii (PHP framework) have community driven Cookbook and is very useful

https://github.com/samdark/yii2-cookbook
by evstevemd
Wed Feb 13, 2019 10:24 am
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found
Replies: 6
Views: 231

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found

1. Does it work when you compile stable version?
2. do you really need wx28 compatibilty (see --enable-compat28)?
by evstevemd
Wed Feb 13, 2019 8:10 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

So CodeLite looks OK? No, not like I wanted (see the VSCode screenshot) but It have the best looking among Scintilla Editors. Can someone compare the CL and my app and see if there is any difference at all? CodeLite uses wxWidgets for its UI and I believe it also uses its wxSTC as I remember eranif...
by evstevemd
Wed Feb 13, 2019 8:00 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

but even sublime text looks the same (see the screenshot). So I believe somemthing is missing in wxWidgets. Is sublimetext using Scintilla? I think one would need to compare scintilla-based editors to make sure the issue is with wxWidgets (Scintilla wrapper)... I see what you are saying. They all l...
by evstevemd
Wed Feb 13, 2019 7:01 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

I think it is wxWidgets limitations. I will apply your suggestions on Windows and see what I get.
Meanwhile if anyone knows anything helpful for Mac/Gtk, I would appreciate that!
by evstevemd
Wed Feb 13, 2019 6:59 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

As doublemax said, VSCode is an Electron app, so all its UI is rendered by a web browser (chromium). I see! How do other Scintilla-based applications look, e.g. SciTe and Notepad++? Not so different from mine. I checked Notepad++, Komodo Edit, Zerobrane, and CodeLite. Here is a screenshot of the sa...
by evstevemd
Wed Feb 13, 2019 6:51 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

The font weight of the VS version just looks a tiny bit higher I saw that and though may be its bold. But then I found in settings its regular. But VS is Chrome based, maybe Chrome has its own font rendering engine. It might be. but even sublime text looks the same (see the screenshot). So I believ...
by evstevemd
Wed Feb 13, 2019 6:37 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

doublemax wrote:There is a method to enable ClearType under Windows using wxFont::Get/Set NativeFontInfoDesc()
viewtopic.php?f=23&t=21733

Maybe try that and check if it looks better to you.
Thank you. I will definitely try that!
by evstevemd
Wed Feb 13, 2019 6:37 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

doublemax wrote:Your version is definitely anti-aliased.
fontszoomed.png
:D :D :D
So what might be making the difference?
by evstevemd
Wed Feb 13, 2019 6:35 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Re: Make wxStyledTextCtrl fonts Smooth

Assuming you are using wxWidgets 3.1.1+ on MSW, have you tried SetFontQuality() with SetTechnology(wxSTC_TECHNOLOGY_DIRECTWRITE)? See this commit https://github.com/wxWidgets/wxWidgets/commit/9554f878b2c7b6640093d985fedb63ad9647da0a I currently develop on Mac. But will setup on Windows and test tha...
by evstevemd
Wed Feb 13, 2019 5:15 am
Forum: C++ Development
Topic: Make wxStyledTextCtrl fonts Smooth
Replies: 16
Views: 204

Make wxStyledTextCtrl fonts Smooth

How can I make fonts in wxStyledTextCtrl as smooth as other editors (Like Sublime Text or VSCode)? Here are the two screenshots one of my app and another for VSCode. Obviously mine isn't as smooth as VSCode (both opening same file, font size being 14). Checking wxFontInfo I see: wxFontInfo& wxFontIn...
by evstevemd
Tue Feb 12, 2019 4:20 am
Forum: C++ Development
Topic: wxTextCtrl EVT_TEXT_ENTER
Replies: 8
Views: 213

Re: wxTextCtrl EVT_TEXT_ENTER

textctrl1 should respond to Enter event as you want. However, tectctrl2 is a multiline control so enter will add a new line instead