Search found 96 matches

by wxProgrammer
Thu Aug 30, 2018 5:51 pm
Forum: General Development
Topic: wx support to some feature
Replies: 4
Views: 452

Re: wx support to some feature

NP, thanks for all.
by wxProgrammer
Thu Aug 30, 2018 8:21 am
Forum: General Development
Topic: wx support to some feature
Replies: 4
Views: 452

Re: wx support to some feature

Thanks, very kind as always!
Just a question: some controller can vibrate. For example the PlayStation Dualshock controller. They have a 7V pin that allows it to vibrate. What about this with wx?
by wxProgrammer
Wed Aug 29, 2018 7:49 pm
Forum: General Development
Topic: wx support to some feature
Replies: 4
Views: 452

wx support to some feature

Hello guys, It's been a long time that I don't use wxWidgets and now I need to know if it supports some feature with the last stable version. I need to make interactive videos based on a config file so I need: 1) parse a JSON file 2) play a video at full screen without showing media controls (play, ...
by wxProgrammer
Sun Mar 29, 2015 4:23 pm
Forum: C++ Development
Topic: [wxWizardPage] scrolled panel
Replies: 1
Views: 556

Re: [wxWizardPage] scrolled panel

Knows nobody how to fix it?

EDIT: I've solved creating a new class that inherit from wxDialog and I've create the pages-management from zero.
by wxProgrammer
Fri Mar 27, 2015 2:10 pm
Forum: C++ Development
Topic: [wxWizardPage] scrolled panel
Replies: 1
Views: 556

[wxWizardPage] scrolled panel

Hello guys, I've to create a wxWizard with several pages but the pages are about 2000 px so I need to scroll the panel. I've try to use wxScrolledWindow but it don't works (surely I wrong something). This is the code: class cPage : public wxWizardPageSimple { private: wxChoice** choices; int n; publ...
by wxProgrammer
Mon Dec 01, 2014 12:48 pm
Forum: C++ Development
Topic: wxAboutDialogInfo set icon
Replies: 2
Views: 689

Re: wxAboutDialogInfo set icon

Hi, thank you for your reply I've write "if (icon isnt ok)" and the condition is true. So I've thinked that the problem could be the type of the Icon (wxBITMAP_TYPE_ICO) so I've revased the icon (with .ico format, with GIMP) but nothing change. So I've tried to save it with .png extension (and forma...
by wxProgrammer
Fri Nov 28, 2014 1:07 pm
Forum: C++ Development
Topic: [wxMSW][3.0.1] Showing tool tip for menu item?
Replies: 1
Views: 584

Re: [wxMSW][3.0.1] Showing tool tip for menu item?

Yes, it's possible.
If you want to show it on StatusBar...

MyMenu -> Append(MyID, "Menu Item", "Tip");

Else, if you want to show in other places, I think that you have to handler the mouse-events
by wxProgrammer
Fri Nov 28, 2014 12:59 pm
Forum: C++ Development
Topic: wxAboutDialogInfo set icon
Replies: 2
Views: 689

wxAboutDialogInfo set icon

Hi guys, I've a small problem: I need to set the icon of a wxAboutDialogInfo so I've write: aboutInfo.SetIcon(wxIcon(GlobalSpace::GetImagesDir() << "icon.ico", wxBITMAP_TYPE_ICO, 200, 115)); But when I call wxAboutBox(aboutInfo), the icon don't change: it display the main frame icon It's a bug? The ...
by wxProgrammer
Fri Nov 28, 2014 11:56 am
Forum: C++ Development
Topic: Widgets aren't view on wxGridList
Replies: 1
Views: 616

Re: Widgets aren't view on wxGridList

I think that the problem is wxGridSizer: with wxGridSizer* sizer = new wxGridSizer(1, 130, 130); are shown wxGridSizer* sizer = new wxGridSizer(2, 130, 130); aren't shown wxGridSizer* sizer = new wxGridSizer(3, 130, 130); aren't shown wxGridSizer* sizer = new wxGridSizer(4, 130, 130); aren't shown w...
by wxProgrammer
Fri Nov 28, 2014 11:23 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 37
Views: 27866

Re: What flow of programming and tools do you use?

1) I write to paper the basic GUI and the main functions, only a sketch; 2) I write the code with Visual Studio 2012: for each class I write an .h and an .cpp files; I don't use sw for draw GUI , I prefer (and I love) write codes :) If I need, I get parts of codes from other project that I've writte...
by wxProgrammer
Fri Nov 28, 2014 10:43 am
Forum: The Code Dump
Topic: Swap without third variable (3 methods)
Replies: 2
Views: 1773

Swap without third variable (3 methods)

Hi, I've founded this three methods with my friend (foundef by ourself, not on internet but I think that they already exist). The first and second metods are for numeric variables: it consists to merge the variable and next extracts it: First: A = 5; B = 3; A = A+B; //5+3=8 B = A-B; //8-3 = 5 A = A-...
by wxProgrammer
Fri Nov 28, 2014 8:58 am
Forum: C++ Development
Topic: Showing menu inside wxComboBox Control
Replies: 1
Views: 668

Re: Showing menu inside wxComboBox Control

Hi,
You can custom your wxComboBox using wxComboCtrl; it allow you to custom it with the widgets that you want.
http://docs.wxwidgets.org/trunk/classwx_combo_ctrl.html
In the images-example of the documentation, how you can see, there is for example a wxTree
by wxProgrammer
Fri Nov 28, 2014 8:51 am
Forum: C++ Development
Topic: Widgets aren't view on wxGridList
Replies: 1
Views: 616

Widgets aren't view on wxGridList

Hi guys, I'm writing a simple class that inherite from wxScrolledWindow and it load from a std::list <MyClass> (that isn't empty) and for each element draw into a wxGridSizer a panel that contain a wxStaticText(MyClass::name) and a wxStaticBitmap(MyClass::Nath). Next, I add an object of this class i...
by wxProgrammer
Thu Nov 13, 2014 10:42 am
Forum: C++ Development
Topic: Get label wxTextCtrl
Replies: 2
Views: 978

Re: Get label wxTextCtrl

Work, thank you :)