Search found 534 matches
- Fri Dec 03, 2021 6:48 pm
- Forum: C++ Development
- Topic: wxAUI tool bar layout
- Replies: 11
- Views: 1033
Re: wxAUI tool bar layout
AFAIK, none of my displays are, or might be classified as, hdpi - 24" monitor(s) with max 1680x1050 resolution; As well, afaik, nothing related to themes has been requested in the code. Seems then it is the wxAUI code, but it would be way too much work to 'climb that mountain' by trying to debu...
- Fri Dec 03, 2021 3:51 pm
- Forum: C++ Development
- Topic: wxAUI tool bar layout
- Replies: 11
- Views: 1033
Re: wxAUI tool bar layout
All images for the buttons are PNGs.
Where and how does highDPI affect this issue?
Where and how does highDPI affect this issue?
- Thu Dec 02, 2021 7:24 pm
- Forum: C++ Development
- Topic: wxAUI tool bar layout
- Replies: 11
- Views: 1033
wxAUI tool bar layout
In my current project, my wxAUI tool bar is rather full. wxAuiToolbar-full.jpg If I try to reduce the width, some tool bar items remain with a lot of empty space on the right, while other items are dropped wxAuiToolbar-shrink.jpg For example the red 'x' below the menu item 'workspace' is dropped, as...
- Sun Nov 21, 2021 6:47 pm
- Forum: C++ Development
- Topic: XRC issue for some PNG graphics.
- Replies: 5
- Views: 2439
Re: XRC issue for some PNG graphics.
Just posted a new chapter in this story at: https://github.com/eranif/codelite/issues/2830
- Sat Nov 13, 2021 11:05 pm
- Forum: C++ Development
- Topic: wxExecute & UTF-8 strings
- Replies: 2
- Views: 1539
Re: wxExecute & UTF-8 strings
Just posting this, got me to reflect on another project. And in the end, I have to correct my statement, that the stdout stream from wxExecute loses UTF-8 strings. In this particular instance, I had extracted the strings in a loop with wsT = wxString::FromUTF8( a_was_Output[n]); as it turns out, jus...
- Sat Nov 13, 2021 10:41 pm
- Forum: C++ Development
- Topic: wxExecute & UTF-8 strings
- Replies: 2
- Views: 1539
wxExecute & UTF-8 strings
Just have run into another issue when trying to execute an external app - Exiftool (ET)- via wxExecute. This is not a problem with wxWidgets itself, but merely an issue anyone will run into when working under Windows and I simply want to document this here. wxArrayString wasOutput, wasErrors; int co...
- Fri Oct 29, 2021 4:08 pm
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
Re: exec example - DoGetFromStream timeout
Yes, the 'working part' of ET stays resident and is supplied command 'commands' via its input stream and then provides the results via its output stream. This usually means the ET has to scan the input image on disk to parse it and output the requested data. This can and is repeated several times th...
- Fri Oct 29, 2021 12:45 am
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
Re: exec example - DoGetFromStream timeout
Not really; the process stays alive until the app exits.
- Thu Oct 28, 2021 10:04 pm
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
Re: exec example - DoGetFromStream timeout
Edit: after I had finished composing my response, something prompted me to explore the -stay_open documentation some more. and there seems to be a way to force a terminating output to the stderr stream as well. I will have to explore that issue next, but I wanted to keep the rest of my comments here...
- Thu Oct 28, 2021 6:19 pm
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
Re: exec example - DoGetFromStream timeout
I now have // while ( in.CanRead() ) { wxMemoryOutputStream data; data.Write( in ); // <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< hangs -- waiting for data?? wxStreamBuffer *buffer = data.GetOutputStreamBuffer(); data.CopyTo( buffer, data.GetSize() ); } With the 'while', the code simply returns - no ...
- Thu Oct 28, 2021 5:46 pm
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
Re: exec example - DoGetFromStream timeout
Where & how should I insert this code or what part should it replace? My understanding of these stream is rather limited. plus, this is Windows :-) for while ( in.CanRead() ) { wxMemoryOutputStream data(); data.Write( in ); .... } it complains: 1>D:\pkg\wx\MSVC2019\_3.1.4_2019\wxET\wxEtReadWasSt...
- Thu Oct 28, 2021 4:59 pm
- Forum: C++ Development
- Topic: exec example - DoGetFromStream timeout
- Replies: 10
- Views: 2800
exec example - DoGetFromStream timeout
In my current project, I am using the piped frame code from the exec example ( 3.1.4) to get piped data to & from an external program (Exiftool - ET) An image (*.jpg) is passed to ET via an input pipe, along with some selected command line options and it returns its output via a piped output str...
- Fri Oct 22, 2021 3:17 pm
- Forum: C++ Development
- Topic: Ensure a row is visible in wxProprtyGrid
- Replies: 5
- Views: 2291
- Fri Oct 22, 2021 12:31 am
- Forum: C++ Development
- Topic: Ensure a row is visible in wxProprtyGrid
- Replies: 5
- Views: 2291
Re: Ensure a row is visible in wxProprtyGrid
@doublemax I have looked at the function, but my problem is to get the appropriate xPGPropArg id I have a property grid with a variable number of entries in a variable height window, a user might/will decide to delete any one of the properties, from the first to the last. I can find out which he sel...
- Thu Oct 21, 2021 9:23 pm
- Forum: C++ Development
- Topic: Ensure a row is visible in wxProprtyGrid
- Replies: 5
- Views: 2291
Ensure a row is visible in wxProprtyGrid
Is there a way to ensure that an adjacent row/property in a wxPropertyGrid is visible after deleting the currently selected property?