Search found 11099 matches

by doublemax
Wed Jul 26, 2017 4:21 pm
Forum: C++ Development
Topic: wxToolBar check tool state
Replies: 1
Views: 21

Re: wxToolBar check tool state

Did you try wxToolBar::ToggleTool()?
by doublemax
Tue Jul 25, 2017 7:35 am
Forum: C++ Development
Topic: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Replies: 6
Views: 51

Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!

I am here to ask a question, how to put the toolbar above the horizontal line to remove
Is that a new question? If yes, please create a new thread for it. And explain it a little bit more, because i have no idea what you mean ;)
by doublemax
Tue Jul 25, 2017 6:00 am
Forum: C++ Development
Topic: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Replies: 6
Views: 51

Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!

Honestly, i don't think it's worth the effort. Make a textbox that is reasonably wide enough for most email addresses and that's it.
by doublemax
Tue Jul 25, 2017 5:29 am
Forum: C++ Development
Topic: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!
Replies: 6
Views: 51

Re: help! how to make the edit box(textCtrl, richtextCtrl...) with increasing content becomes larger!!!

I see you're a friend of unusual user interfaces ;)
Have you ever seen an application that does that?

In any case, there is no easy way to do this. You'd have to catch the wxEVT_TEXT event, calculate the size of the current text and then set the size of the text control accordingly.
by doublemax
Mon Jul 24, 2017 7:40 pm
Forum: C++ Development
Topic: How to fix the wxListctrl right position
Replies: 4
Views: 93

Re: How to fix the wxListctrl right position

Unfortunately there is no easy way to do this, like just setting a flag. In order to achieve that, you'd have to keep track of the width of the currently dragged column and change the width of the adjacent column accordingly. E.g. if column 0 is made four pixels wider, you'll have to make the width ...
by doublemax
Sun Jul 23, 2017 4:26 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 3.03 on windows 10 VS 2017
Replies: 4
Views: 61

Re: wxWidgets 3.03 on windows 10 VS 2017

I haven't tried VS2017 yet, but i can assure you that with VS2015 it works out of the box.

You could also try the latest wxWidgets version from GIT, maybe it contains some adjustments for VS2017.
by doublemax
Sun Jul 23, 2017 2:06 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 3.03 on windows 10 VS 2017
Replies: 4
Views: 61

Re: wxWidgets 3.03 on windows 10 VS 2017

Start with the "minimal" sample alone before you try other samples.

Most likely you use a different configuration when building the wxWidgets libraries vs. when you built the sample.

Manually editing any header files should not be necessary.
by doublemax
Sat Jul 22, 2017 11:05 am
Forum: C++ Development
Topic: C++ wxWidgets panel set Background coloru
Replies: 3
Views: 95

Re: C++ wxWidgets panel set Background coloru

And i don't see any image and it would be better if you posted code as text.
by doublemax
Fri Jul 21, 2017 7:25 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]
Replies: 7
Views: 95

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]

That "bad" screenshot looks familiar. Usually you get that when the sizer layout doesn't get triggered. Maybe that's because of the missing wxRESIZE_BORDER flag (although i don't see the problem here). Try manually calling Layout() after setting the sizer.
by doublemax
Fri Jul 21, 2017 7:20 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]
Replies: 7
Views: 95

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]

wxFrame(NULL, wxID_ANY, title, wxPoint(wxDefaultPosition), wxSize(wxDefaultSize))<wxBORDER_NONE/SIMPLE> This can't be real code, so just to be sure, it should look like this: wxFrame(NULL, wxID_ANY, title, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE ); or wxFrame(NULL, wxID_ANY, title, wxDefaul...
by doublemax
Fri Jul 21, 2017 7:00 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]
Replies: 7
Views: 95

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue [SOLVED]

Which platform and wxWidgets version? I just tested this under Windows everything looks fine both with wxBORDER_NONE or wxBORDER_SIMPLE. Is it indended not to have a title bar? If not you should use wxDEFAULT_FRAME_STYLE and remove/add flags from/to that. E.g. if you just pass wxBORDER_SIMPLE, you w...
by doublemax
Fri Jul 21, 2017 5:18 pm
Forum: C++ Development
Topic: How to fix the wxListctrl right position
Replies: 4
Views: 93

Re: How to fix the wxListctrl right position

That's the default behavior, resizing a column should never resize the outer frame. Where do you see that behavior?
by doublemax
Fri Jul 21, 2017 1:06 pm
Forum: C++ Development
Topic: Code-point gluph representation
Replies: 10
Views: 95

Re: Code-point gluph representation

You also need a font that contains that character.

On my Windows system there isn't a single font that contains it:
http://www.fileformat.info/info/unicode ... ertest.htm
by doublemax
Fri Jul 21, 2017 12:10 pm
Forum: C++ Development
Topic: C++ wxWidgets panel set Background coloru
Replies: 3
Views: 95

Re: C++ wxWidgets panel set Background coloru

Can you show the whole code in context? Maybe you're setting the background color for the wxFrame which is completely covered by a wxPanel?
by doublemax
Fri Jul 21, 2017 10:50 am
Forum: Platform Related Issues
Topic: How to disable system menu for windows application
Replies: 4
Views: 91

Re: How to disable system menu for windows application

There is no wxWidgets way for that. I found this article that describes how to add items to the system menu: http://www.codeguru.com/csharp/csharp/cs_misc/userinterface/article.php/c9327/Manipulating-the-System-Menu-Using-C.htm Maybe you can use DeleteMenu to also remove entries from the menu: https...

Go to advanced search