Search found 88 matches

by ColleenKobe
Mon Apr 25, 2016 12:50 pm
Forum: C++ Development
Topic: How to Change the Forms Displayed in wxWidgets
Replies: 2
Views: 594

Re: How to Change the Forms Displayed in wxWidgets

Do you want to do this as a learning exercise or do you just want to solve that particular task as easy as possible? In the latter case check one of the "book control" classes. In your case wxSimpleBook might be exactly what you need: http://docs.wxwidgets.org/trunk/classwx_simplebook.html It alrea...
by ColleenKobe
Fri Apr 22, 2016 8:14 pm
Forum: C++ Development
Topic: How to Change the Forms Displayed in wxWidgets
Replies: 2
Views: 594

How to Change the Forms Displayed in wxWidgets

I am using CodeLite and creating wxWidgets programs, with wxCrafter as my GUI generator. I am a beginner with all three software packages. I'm creating a test program to learn how to create pages and change the focus from one to the other. Each page contains a "Next" button and a "Prev" button. The ...
by ColleenKobe
Thu Apr 21, 2016 8:36 pm
Forum: C++ Development
Topic: Need wxW Syntax for Two-Step Keyboard Shortcut
Replies: 4
Views: 880

Re: Need wxW Syntax for Two-Step Keyboard Shortcut

There are two different mechanics at work here. Keyboard shortcuts are always one command, like Ctrl-O for open and they work even if the file menu is not open. The fact that ALT-F opens the file menu is a native Windows behavior if the "File" menu is written as "&File". In the same way, just use "...
by ColleenKobe
Thu Apr 21, 2016 7:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined References in Plain C DLL Compilations
Replies: 2
Views: 1176

Re: Undefined References in Plain C DLL Compilations

Please show the headerfile of the DLL that contains the exported variables and functions. Thank you for reading this message, doublemax. I had two problems that caused these errors. 1. I only had the *.dll version of the file in the default directory. I also found the *.lib version of the file and ...
by ColleenKobe
Thu Apr 21, 2016 7:20 pm
Forum: C++ Development
Topic: Need wxW Syntax for Two-Step Keyboard Shortcut
Replies: 4
Views: 880

Need wxW Syntax for Two-Step Keyboard Shortcut

Hi! I am creating a menu bar in wxWidgets , using CodeLite . I am having trouble assigning a keyboard shortcut to my Menu Item, and I wonder if someone can help me. In this menu bar, I have a File menu option, and under that, I have the menu items New, Open, Save, Save As, etc. I would like to assig...
by ColleenKobe
Mon Apr 18, 2016 5:52 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler Warnings During wxWidgets 3.1.0 Compilation
Replies: 10
Views: 3619

Re: Compiler Warnings During wxWidgets 3.1.0 Compilation

Hi, Colleen, [snip] Is there a reason you build the library as 'monolithic'? This type of build is not tested very often and usually is not preferable. The 'Unicode' flag is obsolete. [snip]... All official builds of wx are now UNICODE-only. In regards to gcc version - I don't know what is your int...
by ColleenKobe
Mon Apr 18, 2016 5:25 pm
Forum: Compiler / Linking / IDE Related
Topic: Undefined References in Plain C DLL Compilations
Replies: 2
Views: 1176

Undefined References in Plain C DLL Compilations

Hi. I have a CodeLite workspace that contains two plain C projects. The projects both compile to *.dlls. One project, called Essentials (global variables and utility functions) is compiled first into Essentials.dll. The second project, called Reader, invokes Essentials.dll in its compilation. I am b...
by ColleenKobe
Thu Apr 14, 2016 1:31 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler Warnings During wxWidgets 3.1.0 Compilation
Replies: 10
Views: 3619

Re: Compiler Warnings During wxWidgets 3.0.2 Compilation

Please post the exact command line you used to build wxWidgets. Also, when it comes to GCC + wxWidgets, the latest compiler version is not always the best. TDM-GCC 4.8.1 is known to work. Hi, doublemax. Thanks for the tip on TDM-GCC 4.8.1. Here is the batch file I used to build the 32-bit Debug and...
by ColleenKobe
Thu Apr 14, 2016 1:14 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler Warnings During wxWidgets 3.1.0 Compilation
Replies: 10
Views: 3619

Re: Compiler Warnings During wxWidgets 3.0.2 Compilation

Hi, Colleen, You title says it 3.0.2 but the software list at the end says 3.1.0. Please correct it. ;-) Thank you. Hi, OneEyeMan. Done! I apologize for the conflict. I started with wxWidgets version 3.0.2. Then I uninstalled wxWidgets and installed 3.1.0, hoping the warnings would go away. They di...
by ColleenKobe
Fri Apr 08, 2016 6:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiler Warnings During wxWidgets 3.1.0 Compilation
Replies: 10
Views: 3619

Compiler Warnings During wxWidgets 3.1.0 Compilation

I am compiling wxWidgets using tdm-gcc. I have not edited any files. I am getting piles of compiler warnings. Did I do something wrong? How do I make these warnings go away? Compilation warnings examples taken at random: ... ^ ^ In file included from ..\..\include/wx/html/forcelnk.h:42:0, from ../.....
by ColleenKobe
Thu Apr 07, 2016 2:33 pm
Forum: C++ Development
Topic: "Can't load bitmap from resources" Error
Replies: 33
Views: 4324

Re: "Can't load bitmap from resources" Error

Just for the record...I fixed the last two problems by just copying the graphics files into the same directory as the executable. doublemax was right about the pictures drawing a little funky because the images are different sizes, but that's easily fixed, and anyway this was just a test program to ...
by ColleenKobe
Thu Apr 07, 2016 2:08 pm
Forum: C++ Development
Topic: "Can't load bitmap from resources" Error
Replies: 33
Views: 4324

Re: "Can't load bitmap from resources" Error

Thank you, doublemax! You're brilliant! You got rid of that error message for me. Thank you!

I will tackle the new errors, and if I can't fix them myself, I'll post again.

Best of wishes to you!
Colleen
by ColleenKobe
Wed Apr 06, 2016 8:01 pm
Forum: C++ Development
Topic: "Can't load bitmap from resources" Error
Replies: 33
Views: 4324

Re: "Can't load bitmap from resources" Error

doublemax, here you go!
Main_L2.7z
Contains most of the files needed for Colleen Kobe's "Level_2_Test" workspace and project.
(54 KiB) Downloaded 42 times
If there is something missing--like the definition of the SetBitmap() method, which I couldn't find but maybe I just missed it--let me know and I'll look elsewhere. Or if the file doesn't unzip properly, perhaps I can attach a flurry of files, instead of just one.
by ColleenKobe
Wed Apr 06, 2016 7:31 pm
Forum: C++ Development
Topic: "Can't load bitmap from resources" Error
Replies: 33
Views: 4324

Re: "Can't load bitmap from resources" Error

The program still barfs on the line trying to replace the current image with a new image. My offer still stands. If you could upload the complete code with headers, i'll take a look into it. Actually i'm really curious to know what's going on with that SetBitmap() method ;) Okay, doublemax. The fol...
by ColleenKobe
Wed Apr 06, 2016 6:36 pm
Forum: C++ Development
Topic: "Can't load bitmap from resources" Error
Replies: 33
Views: 4324

Re: "Can't load bitmap from resources" Error

But you can just create a new project, bring the sources into it and set the include and lib folders. Okay, that's exactly what I don't know how to do. In C:\wxWidgets\samples\artprov, there are two *.cpp files, and one *.h file. How do I divide up the code in the *.cpp files to fit in the CodeLite...