Search found 10 matches

by marcusbarnet
Thu Aug 29, 2019 8:58 am
Forum: C++ Development
Topic: Parse a string with WxWidgets
Replies: 1
Views: 67

Parse a string with WxWidgets

I'm developing a WxWidgets application under Ubuntu and I'm using CodeBlocks as IDE. I would like to: read the data stored in a magnetic card band check if they are OK parse the string in order to get the code, the name and the surname I'm using a USB magnetic card reader and I set a TextCtrl as "fo...
by marcusbarnet
Sun Jul 28, 2019 7:15 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

I'm able to correctly compile the sample by using line commands, but I still get the errors when I try to compile it by using Codeblocks. amples/wizard/wizard.cpp:20: ./../../include/wx/msw/chkconf.h:27:10: error: #error "wxUSE_WINRT must be defined." # error "wxUSE_WINRT must be defined." ^~~~~ ./....
by marcusbarnet
Sun Jul 28, 2019 4:14 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

I was trying to compile the notebook example by using CodeBlocks on Ubuntu. I imported the project into CodeBlocks by using the import utility and by selecting the visual studio project file. Everything loaded correctly, but when I try to build the project, I get this error: In file included from /u...
by marcusbarnet
Sun Jul 28, 2019 9:00 am
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

What is your suggestion? Would it be better for me to switch to wxformbuilder?

I spent this morning looking for a solution but I really found almost nothing about wxlistbook. It is so strange to me..
by marcusbarnet
Sun Jul 28, 2019 8:33 am
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

I've read that wxlistbook can have some problems with wxsmith even if on the code blocks page it says that it is supported: http://wiki.codeblocks.org/index.php/Co ... h_features

May be I should switch to wxformbuilder.
I currently can't see the wxlistbook icon container in code blocks.
by marcusbarnet
Sat Jul 27, 2019 8:50 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

Thank you, wxSimplebook seems very close to what I would like to obtain.

I looked on google, but I wasn't able to find any good tutorial to understand how to implement it. I only found the class reference but it is too hard for me to derive an usable code from there.
by marcusbarnet
Sat Jul 27, 2019 7:50 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

I tried to study the suggested solutions, but I think these are not what I would like to implement. I do not want to display popup windows, but I want to always display the content in the same window. It should be like when you visit a web site, you click on a link and a new page is loaded by replac...
by marcusbarnet
Sat Jul 27, 2019 4:49 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

Thank you!

So, can I add new buttons on a new wxDialog? Or is it possible to add only text messages?
by marcusbarnet
Sat Jul 27, 2019 4:36 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

Re: How to open new frame from button

Thank you for your support, guys! i really appreciate it. My application should work in this way: There is the initial window with three buttons The user clicks on the first button -> a new window with new buttons asks the user to press one of them to make a selection as soon as the user click on on...
by marcusbarnet
Sat Jul 27, 2019 3:53 pm
Forum: C++ Development
Topic: How to open new frame from button
Replies: 19
Views: 279

How to open new frame from button

Hi to all, this is my first post in this forum and I hope I can find support for my problem. I'm using CodeBlocks and Wxwidgets to create a buttons-based application where the user can select different buttons in order to interact with the application; when a button is clicked, for example Button1 ,...