Search found 42 matches

by ChronoGraff
Sun Mar 25, 2018 6:01 pm
Forum: C++ Development
Topic: Toolkit Choice? Is it possible to do this in wxWidgets?
Replies: 2
Views: 432

Re: Toolkit Choice? Is it possible to do this in wxWidgets?

Generally, it's possible. The only question is whether is has to look exactly like this. As wxWidgets uses native controls where ever possible, skinning controls is often difficult or involves a lot of work. And while there are many GUI toolkits out there, Qt is really the only alternative. There a...
by ChronoGraff
Sun Mar 25, 2018 5:20 pm
Forum: C++ Development
Topic: Toolkit Choice? Is it possible to do this in wxWidgets?
Replies: 2
Views: 432

Toolkit Choice? Is it possible to do this in wxWidgets?

Hi guys, I have been asked to develop an app for a local garage along the lines of (check attached images). Is it possible to get something like this using wxWidgets? If not what C++ tool kit would be best to use? Many thanks? Screen Shot 2018-03-25 at 18.17.31.png Screen Shot 2018-03-25 at 18.17.22...
by ChronoGraff
Thu Mar 08, 2018 10:11 am
Forum: C++ Development
Topic: Restarting the application?
Replies: 8
Views: 1032

Re: Restarting the application?

Thanks loads for the solution! The file doublemax attached is perfect, although the other solution works too doublemax's fits perfectly and I understand it.

Thanks folks
by ChronoGraff
Wed Mar 07, 2018 8:02 pm
Forum: C++ Development
Topic: Restarting the application?
Replies: 8
Views: 1032

Re: Restarting the application?

I really appreciate the help guys but I am a little lost as to what you are both recommending :shock:

Shell script? Launcher? Excuse my ignorance folks.
by ChronoGraff
Wed Mar 07, 2018 5:34 pm
Forum: C++ Development
Topic: Restarting the application?
Replies: 8
Views: 1032

Re: Restarting the application?

I'm not sure what you mean, a launcher? Is there an example? Many thanks
by ChronoGraff
Wed Mar 07, 2018 12:08 pm
Forum: C++ Development
Topic: Restarting the application?
Replies: 8
Views: 1032

Restarting the application?

Hi folks, I am looking to restart my application, is this possible? What I mean is this; I have a check happening in main() and when that is false a "pin" window is opened. When a pin number is entered then I would like to restart the application. I just don't know how and I can't seem to find any r...
by ChronoGraff
Sat Jan 27, 2018 2:21 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling on mac 10.6 (el capitan), problem with .app executable
Replies: 2
Views: 1063

Re: Compiling on mac 10.6 (el capitan), problem with .app executable

I solved this by compiling with, my os is El Capitan 10.6: ./configure CC="/usr/local/Cellar/llvm/5.0.1/bin/clang" CXX="/usr/local/Cellar/llvm/5.0.1/bin/clang++" --disable-mediactrl --without-liblzma --disable-lzma --with-osx_cocoa --with-macosx-version-min=10.6 --with-macosx-sdk=/Applications/Xcode...
by ChronoGraff
Sat Jan 27, 2018 12:50 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling on mac 10.6 (el capitan), problem with .app executable
Replies: 2
Views: 1063

Compiling on mac 10.6 (el capitan), problem with .app executable

Hi folks, I have a problem. When compiling the .app the executable is not in the .app/Contents/MacOs/ directory. I am lost as to why this is happening. Below I have included some trace. If someone could point me in the correct direction I will try to solve this with a little help. Thanks again Ignor...
by ChronoGraff
Fri Jan 26, 2018 3:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem With Sqliqte_Modern_CPP
Replies: 2
Views: 726

Re: Problem With Sqliqte_Modern_CPP

Thanks for the reply, I sorted the compile error by reverting to version 2.4 (sqlite modern cpp).
by ChronoGraff
Fri Jan 26, 2018 2:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem With Sqliqte_Modern_CPP
Replies: 2
Views: 726

Problem With Sqliqte_Modern_CPP

Hi guys, it's been a while but here I am back again with a problem I can't figure out. Please see the trace below: Many thanks folks! make [ 4%] Building CXX object src/CMakeFiles/chrono.dir/main.cc.o Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Thread model: posix I...
by ChronoGraff
Thu Oct 05, 2017 10:04 am
Forum: C++ Development
Topic: Dynamically disabling wxMenuItem when on item has been clicked
Replies: 3
Views: 808

Re: Dynamically disabling wxMenuItem when on item has been clicked

If you want to disable a menu item in a taskbaricon menu, you need to do it while you create it in CreatePopupMenu(). The menu will be deleted when closed. Interesting answer, take this scenario for example; I have 3 related items (timeout request wxframe's), when one is open I can open the menu ho...
by ChronoGraff
Tue Oct 03, 2017 1:54 pm
Forum: C++ Development
Topic: Dynamically disabling wxMenuItem when on item has been clicked
Replies: 3
Views: 808

Dynamically disabling wxMenuItem when on item has been clicked

My question is how do I disable a menu item when I click a certain menu item and vice versa? When CreatePopupMenu() is called each wxMenuItem is added to the vector, however, it seems that CreatePopupMenu() is called each time I click on the taskbar icon. This is giving me the illusion that menu_ite...
by ChronoGraff
Fri Sep 29, 2017 10:13 pm
Forum: C++ Development
Topic: Guys, stuck on a for loop issue
Replies: 1
Views: 405

Re: Guys, stuck on a for loop issue

Hey folks solved, here is solution in case someone looking an example. Just have to format the time for the wxChoice

Code: Select all

   time_t t = time( 0 );
   int hours = 4;
   for ( int i = 0; i < 4; i++ )
   {
      cout << asctime( localtime( &t ) );
      t += hours * 3600;
   }
by ChronoGraff
Fri Sep 29, 2017 9:53 pm
Forum: C++ Development
Topic: Guys, stuck on a for loop issue
Replies: 1
Views: 405

Guys, stuck on a for loop issue

Hi folks, I am trying to basically show in a wxChoice UI element times starting with the current time + 1hr and then every 15 minutes for x times. I'm experimenting with some code but just getting it wrong. I've gave it a good attempt but just can't seem to work this one out. I'm hoping to get a lit...
by ChronoGraff
Tue Aug 08, 2017 1:23 pm
Forum: Platform Related Issues
Topic: (OSX) ... I'm a little stuck. If there is any OS X savvy devs?
Replies: 5
Views: 985

Re: (OSX) ... I'm a little stuck. If there is any OS X savvy devs?

I have a system tray that will display a message box on certain system events, the daemon needs to be run as part of the launchdaemons and in sudo. - So the daemon (socket server) will run. - The UI when started will connect to the server - Server will then send any notification to the UI It's reall...