Recent Posts

Pages: 1 2 3 4 5 [6] 7 8 9 10
51
Using Code::Blocks / Re: Code::Blocks IDE translation to German language
« Last post by Karschti on May 29, 2025, 05:38:36 pm »
Hello,

which is  the latest german file?
Which is the right folder to put it in?

Hope for some help.

thx
52
Plugins development / Re: a Qt plugin : QtPregenForCB => AddOnForQt
« Last post by LETARTARE on May 28, 2025, 08:08:46 pm »
- new version 4.1.5
   1- when creating a project using the wizard, validate the construction 'Qt' menus
   2- disable the menu that pops up on 'Workspace'.

New site :
https://sourceforge.net/projects/addonqtforcb/
53
AFAIK there is no automatic way, but you can do it easily. Suppose you have created MyDialog with sources MyDialog.cpp/MyDialog.h:
  - copy MyDialog.cpp/MyDialog.h to the new project folder
  - copy wxsmith/MyDialog.wxs file to the wxsmith folder in the new project folder
  - edit the project with a text editor and add the source files and the wxs

Code
<Unit filename="MyDialog.cpp" />
<Unit filename="MyDialog.h" />
<Unit filename="wxsmith/MyDialog.wxs" />
  - add in the wxsmith section the line associated to the resource, in this case:

Code
<resources>
    ...
    <wxDialog wxs="wxsmith/MyDialog.wxs" src="MyDialog.cpp" hdr="MyDialog.h" fwddecl="0" i18n="1" name="MyDialog" language="CPP" />
    ...
</resources>
You can use the original project as a guide.
54
In my efforts to learn how to use CodeBlocks I have developed a number of projects which focus on a specific set of conditions.  Some of the dialog and control configurations I would like to use in other projects.  Is it possible to extract a dialog I have built in one project and "paste" it into another project, or must the dialog be rebuilt from scratch?

Joe
55
General (but related to Code::Blocks) / Re: File Open Dialog Issue
« Last post by JoeH on May 27, 2025, 11:45:30 pm »
Sorry.  I wasn't sure which arena the issue lay in.

Joe
56
General (but related to Code::Blocks) / Re: File Open Dialog Issue
« Last post by Miguel Gimenez on May 27, 2025, 07:53:13 pm »
You already have replies in the wxWidgets' forum, here the question is OT (Off Topic).
57
General (but related to Code::Blocks) / File Open Dialog Issue
« Last post by JoeH on May 27, 2025, 02:05:20 pm »
   I am new to this forum.  Due to obsolete hardware and software I have had to migrate from Windows XP and my Borland Builder software.  I have had to reinvest in a new computer running Windows 11.  My search for a new IDE led me to CodeBlocks and I am slowly learning how to use it.  I am a novice in Windows programming and what little coding I do is for my own use.  The configuration I am using is CodeBlocks version 20.03 with MinGW and wxWidgets version 3.05.

   I have run into a peculiar issue trying to use the C language file IO.  What I want to do is use the file open dialog from the Dialog tab to select the file to use and then provide the returned file path to the C fopen function to open the file for reading and writing.  The file path returned by the dialog uses the backslash character as the separator between folders.  My attempts using fopen were only successful if the separator was a forward slash.  Is there means for changing the separator character used by the file open dialog?

   Thanks for your help,

   Joe
58
Understood, I only found two relevant posts - I removed the post. I partially disagree with the second statement, but it's not your fault; it's mine. Apologies for that; it was not my intention to spam.
59
Can you please stop spamming your web site until it grows and becomes more useful to people as at the moment it has only a handful of downloads and less than 0.001% of the normal download files compared to the normal sites that are used by devs.
60
Development / Re: code completion breaks after changing header file
« Last post by Pecan on May 27, 2025, 04:52:04 am »
As it turns out, a timeout wxMutex on Manjaro always returns wxMUTEX_MISC_ERROR.

I'm having to change all wxMutex.LockTimeout()s to std::timed_mutex(s) which do work on Manjaro.

This means that any code that was protected by a timed wxMutex never executes.

8>{
Pages: 1 2 3 4 5 [6] 7 8 9 10