Search found 30 matches

by gbuergisser
Tue Sep 11, 2018 2:02 pm
Forum: C++ Development
Topic: Scanning Datamatrix Codes in wxWidgets Application
Replies: 1
Views: 133

Scanning Datamatrix Codes in wxWidgets Application

Hi all, The application I'm developing allows the user to input data manually or by scanning a 2D datamatrix code. As you may know the datamatrix code can contain binary control characters, e.g. \x1d aka GS aka Group Separator, to terminate variable length data in the code. Now if I scan a datamatri...
by gbuergisser
Fri Nov 25, 2016 3:31 pm
Forum: C++ Development
Topic: Add accelerator to existing accelerator table
Replies: 1
Views: 371

Add accelerator to existing accelerator table

Is there a way to add an accelerator to an already existing wxAcceleratorTable?
There is GetAcceleratorTable() to get a pointer to the current table but I don't see any way to access or modify the existing wxAcceleratorTableEntry (-ies).

Thank you for your input/ideas.
by gbuergisser
Mon Nov 07, 2016 7:38 am
Forum: C++ Development
Topic: Custom wxWebViewHandler
Replies: 1
Views: 258

Re: Custom wxWebViewHandler [SOLVED]

OK, found out for myself :D I even don't have to derive from wxWebViewHandler. I just have to handle wxEVT_WEBVIEW_NAVIGATING. In the handler I can determine if one of the application specific links are being opened and if so I trigger the action and veto the event. Otherwise just skip the event. vo...
by gbuergisser
Mon Nov 07, 2016 7:17 am
Forum: C++ Development
Topic: Custom wxWebViewHandler
Replies: 1
Views: 258

Custom wxWebViewHandler

Hi all, I'm trying to derive from wxWebViewHandler to implement a custom protocol for wxWebView. My application is basically displaying HTML pages. But these pages contain custom protocol links. The links shall open application specific windows (aka trigger a specific action and not just provide ano...
by gbuergisser
Thu Nov 03, 2016 1:39 pm
Forum: C++ Development
Topic: wxTE_AUTO_URL for single line wxTextCtrl
Replies: 2
Views: 382

Re: wxTE_AUTO_URL for single line wxTextCtrl

Thank you for your reply. I'll have a look at wxHyperlinkCtrl.
by gbuergisser
Thu Nov 03, 2016 11:38 am
Forum: C++ Development
Topic: wxTE_AUTO_URL for single line wxTextCtrl
Replies: 2
Views: 382

wxTE_AUTO_URL for single line wxTextCtrl

Hi all,
I'd like to use the wxTE_AUTO_URL for a single line wxTextCtrl. It seems it's only to be working together with wxTE_MULTILINE (which is not explicitely documented).
Thanks and regards,
Gregor
by gbuergisser
Wed Mar 23, 2016 8:29 am
Forum: C++ Development
Topic: How to get a pointer to the scrollbar?
Replies: 5
Views: 681

Re: How to get a pointer to the scrollbar?

I'm working on Fedora Linux. And using SetNativeTheme() it is possible to change the GTK-Theme for the application only (not system-wide).
But apparently it is not possible to change the theme just for a specific window... Anyhow, thank you for your help so far.
by gbuergisser
Wed Mar 23, 2016 7:22 am
Forum: C++ Development
Topic: How to get a pointer to the scrollbar?
Replies: 5
Views: 681

Re: How to get a pointer to the scrollbar?

Thank's for your replies. I want to change the size of the scrollbar and to make it bigger in this specific listbox. So that it can be better used on a touch screen.
by gbuergisser
Tue Mar 22, 2016 3:27 pm
Forum: C++ Development
Topic: How to get a pointer to the scrollbar?
Replies: 5
Views: 681

How to get a pointer to the scrollbar?

Hi all,

My application has a popup window with a wxSimpleHtmlListBox in it. I want to change some attributes of its scrollbar.

How can I do that?
How can I obtain a pointer to the scrollbar of the listbox?

Thank you for your help?
by gbuergisser
Wed Dec 23, 2015 9:45 am
Forum: C++ Development
Topic: wxPropertyGridManager: Change appearance of description box
Replies: 0
Views: 1018

wxPropertyGridManager: Change appearance of description box

Hi all, I'm trying to change the appearance of the description box of a wxPropertyGridManager created with the wxPG_DESCRIPTION style. The box is too small to show all the help text. I know I can change the height using SetDescBoxHeight() but maybe it is possible to add automatically appearing scrol...
by gbuergisser
Mon Jan 13, 2014 1:13 pm
Forum: C++ Development
Topic: Implementing Find/Find next in wxHtmlWindow
Replies: 2
Views: 699

Re: Implementing Find/Find next in wxHtmlWindow

Thank you for your reply. Not yet using version 3. But probably that's the way to go.
by gbuergisser
Mon Jan 13, 2014 6:27 am
Forum: C++ Development
Topic: Implementing Find/Find next in wxHtmlWindow
Replies: 2
Views: 699

Implementing Find/Find next in wxHtmlWindow

Hi all, In my application I use a wxHtmlWindow to display report data. Now I'd like to add 'Find/Find next' functionality (using wxFindReplaceDialog). But how shall I visually indicate the occurances of the search string in the html window? The only idea I have is to rebuild the file and include col...
by gbuergisser
Thu Feb 07, 2013 12:47 pm
Forum: C++ Development
Topic: Screenshot not working using xwin32
Replies: 0
Views: 605

Screenshot not working using xwin32

Hi all, I'm trying to implement a screenshot function which should store the complete window contents as a png file. Basically the code is working fine, see the code snippet below. The application is running natively on Linux and displayed via an X-server on Microsoft Windows. Now the problem: When ...
by gbuergisser
Wed Oct 10, 2012 9:47 am
Forum: C++ Development
Topic: How to tell if wxArtProvider::GetIcon() was successful?
Replies: 6
Views: 1550

Re: How to tell if wxArtProvider::GetIcon() was successful?

I copied/pasted your snippet into my application and it reports "ok=1 width=16 height=16". But then no icon is visible in the list ctrl that uses it. May be a platform dependent behaviour...
by gbuergisser
Tue Oct 09, 2012 11:36 am
Forum: C++ Development
Topic: How to tell if wxArtProvider::GetIcon() was successful?
Replies: 6
Views: 1550

Re: How to tell if wxArtProvider::GetIcon() was successful?

Hmm, I think it needs some clarification: I originally tried IsOK() and not Ok(). But I now have tried both. And for a wxNullIcon they really return false. So far so good. But the real problem seems to be that wxArtProvider::GetIcon() doesn not return a wxNullIcon if it is called with a name it cann...