Search found 19 matches
- Mon Oct 28, 2019 5:45 pm
- Forum: wxWidgets Development (Russian)
- Topic: можно ли повысить приоритет основного процесса
- Replies: 5
- Views: 10320
Re: можно ли повысить приоритет основного процесса
Поскольку речь идёт об интерпретаторе, есть ещё одна сложность. Интерпретаторы, как правило, куда хуже совмещаются с параллельными потоками, чем нативные программы. В интерпретаторе, как правило, имеется много служебных данных, которые плохо разделяются между потоками. Хотя. конечно, можно в каждом ...
- Mon Mar 18, 2019 3:37 pm
- Forum: wxWidgets Development (Russian)
- Topic: Code::Blocks + wxSmith и русские буквы
- Replies: 6
- Views: 17909
Re: Code::Blocks + wxSmith и русские буквы
Можно сказать, что причина однозначно в несовпадении кодировки. Строго говоря, компилятор, когда компилирует текст программы, не всегда знает, в какой кодировке программа написана. Поэтому, для надёжности, надо бы писать все русские буквы в форме \u04xx. Следующая проблема: литерал "текст"...
- Sat Dec 08, 2018 5:43 pm
- Forum: wxWidgets Development (Russian)
- Topic: EVT_TEXT с задержкой. Есть ли такое в wxTextCtrl
- Replies: 7
- Views: 9399
Re: EVT_TEXT с задержкой. Есть ли такое в wxTextCtrl
Можно ещё проверить фокус. и если он покинул контрол начать обновление сразу, не ожидая остаток от 500 мс.
- Wed Apr 11, 2018 10:36 pm
- Forum: wxWidgets Development (Russian)
- Topic: как рисовать текст не затирая фон?
- Replies: 15
- Views: 11956
Re: как рисовать текст не затирая фон?
Вообще, чтобы такой штамп корректно накладывался на любой фон, его надо делать целиком одного цвета (синим), включая и и нерисуемые участки, а сам рисунок формировать именно альфа-каналом.
- Sun Dec 09, 2012 2:05 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxGridCellStringRenderer и SelectCell
- Replies: 7
- Views: 10959
Re: wxGridCellStringRenderer и SelectCell
Мерцание возникает оттого, что контрол сперва стирается, а на его место рисуется обновлённое изображение. Если на это уходит менее 1/20 секунды, глаз просто ничего не успевает заметить. Но иногда этого времени не хватает. Двойная буферизация (как в 3D-графике), устраняющая мерцание, при отрисовке GU...
- Fri Aug 31, 2012 7:49 pm
- Forum: C++ Development
- Topic: save high resolution image
- Replies: 13
- Views: 4466
Re: save high resolution image
In Windows default screen resolution is set equal to 96 dpi, which is close to the resolution of of real monitors (pixel size around 0.265 mm).
72 DPI closer to the resolution of the classical photoprocess (picture size 10-12 cm (4-5 inches))
72 DPI closer to the resolution of the classical photoprocess (picture size 10-12 cm (4-5 inches))
- Fri Jul 20, 2012 3:12 pm
- Forum: C++ Development
- Topic: wxTextFile - force ANSI when writing
- Replies: 5
- Views: 3423
Re: wxTextFile - force ANSI when writing
It's may by codepage 1250 or 1252.
- Tue Jun 12, 2012 3:19 pm
- Forum: wxDev-C++
- Topic: Compiling a C program - confused
- Replies: 3
- Views: 2824
Re: Compiling a C program - confused
It is issue in Dev-C++.
This IDE ignore extension and compile all files as C++-source by default.
You must change compile mode for C-files in "Project options"/"Files"
This IDE ignore extension and compile all files as C++-source by default.
You must change compile mode for C-files in "Project options"/"Files"
- Mon Apr 09, 2012 10:18 am
- Forum: C++ Development
- Topic: Variable scope in C++
- Replies: 3
- Views: 1685
Re: Variable scope in C++
mystruct declared in scope of c_sql. Not member. You should write
c_sql::mystruct ms;
- Wed Jan 11, 2012 2:51 pm
- Forum: wxWidgets Development (Russian)
- Topic: 2.9 GTK wxString Upper и Русский
- Replies: 2
- Views: 2410
Re: 2.9 GTK wxString Upper и Русский
Локаль правильно выставлена?
- Sat Sep 24, 2011 4:53 am
- Forum: C++ Development
- Topic: String returned from wxString::Format("%f", d) too short
- Replies: 5
- Views: 4322
Re: String returned from wxString::Format("%f", d) too short
Also
Code: Select all
wxString::Format("%.9g", d); // scientific or floating point (what shorter) notation with 9 decimal places
- Sat Jul 30, 2011 4:30 pm
- Forum: wxWidgets Development (Russian)
- Topic: Большой размер exe у программ wxWidget
- Replies: 10
- Views: 7450
Re: Большой размер exe у программ wxWi
Стабильная - 2.8.12Kolya wrote:Последняя версия для разработчиков 2.9.1, стабильная - 2.8.11
- Sat Jul 23, 2011 10:54 am
- Forum: wxDev-C++
- Topic: Odd things happening
- Replies: 3
- Views: 9514
Re: Odd things happening
This black window is empty console (text) window.
May be program build as consolre application?
May be program build as consolre application?
- Sat Jul 16, 2011 8:18 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Building wxWidgets 2.9.1 on MigGW32 with Python 3.2
- Replies: 1
- Views: 1182
Re: Building wxWidgets 2.9.1 on MigGW32 with Python 3.2
Also Python 3.x have utility 2to3.py (in Tools\Scripts) make Python 2 scripts compatible with Python 3 (may be not every)
- Sun Jul 03, 2011 6:08 am
- Forum: C++ Development
- Topic: wxChoice with no choice
- Replies: 2
- Views: 1094
Re: wxChoice with no choice
wxChoice and silmilar widgets need a list of strings to choice.