Search found 27 matches

by Ambush
Fri Jul 21, 2017 7:37 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue
Replies: 7
Views: 560

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue

brilliant, I do believe thats fixed it, the layout is back to the origional.

again, tnx for your help !
by Ambush
Fri Jul 21, 2017 7:28 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue
Replies: 7
Views: 560

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue

You are right, I only put <wxBORDER_NONE> there in case anyone was wandering which line i was adding the option to,
my own code looks exactly as you have posted, i should have explained it better in my explanation though.
by Ambush
Fri Jul 21, 2017 7:15 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue
Replies: 7
Views: 560

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue

No extra frame options
No options.png
No options.png (3.24 KiB) Viewed 552 times
wxBORDER_NONE
wxBORDER_NONE.png
wxBORDER_NONE.png (1.75 KiB) Viewed 552 times
but i will have a go with the wxDEFAULT_STYLE right now and see how it goes
by Ambush
Fri Jul 21, 2017 7:09 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue
Replies: 7
Views: 560

Re: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue

Thanks Doublemax My Platform : Server 2012R2 with update Wxwidgets Version : 3.03 Visual Studio 2013 update 5 You are correct my intent was not to have a titlebar or frame style, just a completly blank frame for my app. The controls for maximize etc i am adding in manually using wxBitmapButton, i wi...
by Ambush
Fri Jul 21, 2017 6:44 pm
Forum: C++ Development
Topic: wxBORDER_NONE / wxBORDER_SIMPLE sizers issue
Replies: 7
Views: 560

wxBORDER_NONE / wxBORDER_SIMPLE sizers issue

hello everyone I am having an issue with my layout using sizers, the problem occurs when i add the options wxBORDER_NONE or wxBORDER_SIMPLE to my wxFrame, i have been trying all week to fix this with no luck. i have tried to fix by using different sizer layouts, horizontal, vertical and options such...
by Ambush
Fri Jul 07, 2017 4:21 pm
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 4049

Re: Different Pixel Density in wxWidgets

thanks PB

i will def look at the dip and scalefactor, the sizing was bugging me a bit and
i was not enjoying the thought of having to try and work out multiple sizes for the custom stuff.
by Ambush
Fri Jul 07, 2017 1:12 pm
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 4049

Re: Different resolutions in wxWidgets

tnx v much doublemax

so different size values are only needed for custom drawn controlls to look right on higher density screens.
by Ambush
Fri Jul 07, 2017 10:02 am
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 4049

Re: Different resolutions in wxWidgets

i just rememberd that wxWidgets uses windows native controls so i am guessing that
windows will make the checkboxes look right on 4k or 8k screens, can anyone confirm this ?
by Ambush
Fri Jul 07, 2017 9:44 am
Forum: General Development
Topic: Different Pixel Density in wxWidgets
Replies: 15
Views: 4049

Different Pixel Density in wxWidgets

Hi all, i was just wandering if wxWidgets takes screen size into account when a control is created, for example if i create a gui with a number of check boxes and radio button etc, would the check boxes and radio buttons automatically resize for a 4k or 8k display in the sense that it would need mor...
by Ambush
Wed Jun 28, 2017 4:37 pm
Forum: C++ Development
Topic: Change font color
Replies: 5
Views: 889

Re: Change font color

hi doublemax, you are right, i just want to change for the optionbox, at this point. I was looking at the possibility of creating custom controls using the custom controls template posted at the page below, mainly because one project i am trying to do will require the same look and feel on all platf...
by Ambush
Wed Jun 28, 2017 4:09 pm
Forum: C++ Development
Topic: Change font color
Replies: 5
Views: 889

Change font color

hello again, I have added a check box to my basic window and have changed the font and font size accordingly, however i am struggling to change the color, i have tried a number of different ways to do it, but still no luck, can you show me an example of how to do it please, i will post my code below...
by Ambush
Wed Jun 21, 2017 1:07 pm
Forum: C++ Development
Topic: Error C2143 and C4430 on wxCustomButton
Replies: 16
Views: 1412

Re: Error C2143 and C4430 on wxCustomButton

thanks very much, it was right in front of me, i still cant get the custom button to work
as i have made some changes, but at least i have a window to try to put my custom button in now.

in future, completly remove unused events or completly comment them in all files.

again tnx !
by Ambush
Wed Jun 21, 2017 12:30 pm
Forum: C++ Development
Topic: Error C2143 and C4430 on wxCustomButton
Replies: 16
Views: 1412

Re: Error C2143 and C4430 on wxCustomButton

missing file
by Ambush
Wed Jun 21, 2017 12:29 pm
Forum: C++ Development
Topic: Error C2143 and C4430 on wxCustomButton
Replies: 16
Views: 1412

Re: Error C2143 and C4430 on wxCustomButton

The files
by Ambush
Wed Jun 21, 2017 12:24 pm
Forum: C++ Development
Topic: Error C2143 and C4430 on wxCustomButton
Replies: 16
Views: 1412

Re: Error C2143 and C4430 on wxCustomButton

hi, this is the given error 1>CustomButton.obj : error LNK2019: unresolved external symbol "protected: void __thiscall wxCustomButton::mouseMoved(class wxMouseEvent &)" ([email protected]@@[email protected]@@Z) referenced in function "void __cdecl `dynamic initializer for 'private: stati...