Search found 275 matches

by cutecode
Fri Feb 21, 2020 9:05 pm
Forum: wxWidgets Development (Russian)
Topic: wxThread и её текущая директория
Replies: 7
Views: 661

Re: wxThread и её текущая директория

Драйвер Китайский, https://www.acs.com.hk/en/driver/200/acr38u-h1-smart-card-reader/ и копаться в его исходниках мне не хочется. Как я уже писал выше, я написал скрипт, с которым проблема уже решена Спасибо [Desktop Entry] Exec=/usr/bin/dental-soft/dental-soft.sh dental-soft.sh #!/bin/bash cd /usr/b...
by cutecode
Fri Feb 21, 2020 5:46 pm
Forum: wxWidgets Development (Russian)
Topic: wxThread и её текущая директория
Replies: 7
Views: 661

Re: wxThread и её текущая директория

нет,
прога линкуется динамически к драйверу
by cutecode
Fri Feb 21, 2020 1:49 pm
Forum: wxWidgets Development (Russian)
Topic: wxThread и её текущая директория
Replies: 7
Views: 661

Re: wxThread и её текущая директория

Походу этот драйвер проверяет откуда прога запущена, вместо проверки текущей папки программы. Я сделал shell скрипт, который сначала меняет папку на папку с программой, и затем запускает саму программу в этой папке. Драйвер только так работает https://www.acs.com.hk/en/driver/200/acr38u-h1-smart-car...
by cutecode
Fri Feb 21, 2020 1:41 pm
Forum: C++ Development
Topic: How to know if a wxFrame is beeing closed by a user
Replies: 11
Views: 374

Re: How to know if a wxFrame is beeing closed by a user

Hi, Maybe not the nicest way and maybe I'm looking at it too simple. When your application closes the frame itself, set a global boolean flag bAutoClosed to true. Then you can at any time after closing a frame, determine whether a user closed the frame or your program did. regards, Nunki Hi As doub...
by cutecode
Thu Feb 13, 2020 11:23 pm
Forum: wxWidgets Development (Russian)
Topic: wxThread и её текущая директория
Replies: 7
Views: 661

wxThread и её текущая директория

у меня в коде есть код который устанавливает текущую папку, но походу он работает только для основного процесса, но поток его игнорирует Имеем драйвер для работы с карт-ридером. И этот драйвер требует чтобы в текущей директории был файл настроек ctacs.ini С windows проблем нет, все работает. Но с ли...
by cutecode
Mon Feb 10, 2020 3:55 pm
Forum: Platform Related Issues
Topic: OSX wxGenericNotificationMessage not found
Replies: 2
Views: 119

OSX wxGenericNotificationMessage not found

#include <wx/notifmsg.h> void GrvSvrDialog::showbaloon(wxString szTitle, wxString szMessage) { #if defined(__WXMSW__) && wxUSE_TASKBARICON_BALLOONS m_taskBarIcon->ShowBalloon(szTitle, szMessage, 10000, wxICON_INFORMATION); #else wxGenericNotificationMessage nmsg(szTitle, szMessage, this, wxICON_INF...
by cutecode
Tue Jan 21, 2020 8:29 pm
Forum: C++ Development
Topic: AUI making docked pane on top of all windows
Replies: 0
Views: 468

AUI making docked pane on top of all windows

is it possible to make docked pane to be the toppest of all opened windows.

I have a docked pane wich shows erro logs, but if I open wxFrame or floating pane, the pane is hidden by this wxFrame(floating pane).
I wish that wxFrame(floating pane) was under pane.
pane2.png
by cutecode
Tue Jan 21, 2020 9:55 am
Forum: C++ Development
Topic: Aui how to change size of a docked pane
Replies: 5
Views: 178

Re: Aui how to change size of a docked pane

yes, I'l try to show/hide the pane, and make a bottom button to show log messages again
by cutecode
Tue Jan 21, 2020 6:43 am
Forum: C++ Development
Topic: Aui how to change size of a docked pane
Replies: 5
Views: 178

Re: Aui how to change size of a docked pane

no, not in this case.
In my pane users can see log of all messages
by cutecode
Mon Jan 20, 2020 11:50 pm
Forum: C++ Development
Topic: Aui how to change size of a docked pane
Replies: 5
Views: 178

Aui how to change size of a docked pane

I'v made a bottom docked pane for diagnostic messages to a user.
And I want it showed up for 1 sec. and then minimized it's height.

But I cant change its size what ever I tried.

Thank you
by cutecode
Mon Jan 20, 2020 8:36 pm
Forum: C++ Development
Topic: How to know if a wxFrame is beeing closed by a user
Replies: 11
Views: 374

Re: How to know if a wxFrame is beeing closed by a user

hi I don't have problems when I open wxFrame programmticaly. coz I set focus to other form by myself. But when user closes wxFrame pressing on top-right corner X button. The focus goes nowhere. That's why I want to catch that event when the frame is closed by user pressing X button. As doublemax suj...
by cutecode
Mon Jan 20, 2020 5:09 pm
Forum: C++ Development
Topic: How to know if a wxFrame is beeing closed by a user
Replies: 11
Views: 374

Re: How to know if a wxFrame is beeing closed by a user

hi
my application has 4 types of user interfaces
1. MDI
2. AUI
3. wxFrame
4. wxAuiNotebook

witch inteface to use, the user selects in "User options form"

I have problem on focus setting only with wxFrames.
After a wxFrame closes, no one wxFrame is getting focus
by cutecode
Sun Jan 19, 2020 7:40 pm
Forum: C++ Development
Topic: How to know if a wxFrame is beeing closed by a user
Replies: 11
Views: 374

Re: How to know if a wxFrame is beeing closed by a user

1. I do not want to disable the close button 2. I have a main wxFrame and it has many child wxFrames. The problem is when one child wxFrame closes, the previece wxFrame does not get focused. So I've made my own stack wxArray of wxFrames. And when one frame closes, the other foresed to get focus in i...