Search found 93 matches

by Anil8753
Tue Dec 19, 2017 6:35 am
Forum: C++ Development
Topic: Ignore INET_E_INVALID_CERTIFICATE error wxWebView
Replies: 2
Views: 1194

Ignore INET_E_INVALID_CERTIFICATE error wxWebView

I have https intranet URL that I want to display in wxWebView. In the browser, if I try to navigate this https url a warning page like https://stackoverflow.com/questions/6933254/webbrowser-control-ignore-ssl-errors comes. In this warning page, I can opt for proceed to navigate the page and I can vi...
by Anil8753
Thu Sep 07, 2017 8:55 am
Forum: C++ Development
Topic: wxDataViewCtrl rearrange columns programmatically
Replies: 1
Views: 594

wxDataViewCtrl rearrange columns programmatically

Hi,
We can rearrange the columns by dragging and dropping to the desired position.
Same thing I need to achieve via source code. Like : wxDataViewCtrl::Move(const wxDataViewColumn* pColumn, int pos)

I am using generic wxDataViewCtrl.
by Anil8753
Thu Aug 17, 2017 9:54 am
Forum: C++ Development
Topic: wxDataViewCtrl how to Hide the RootItem
Replies: 18
Views: 6864

Re: wxDataViewCtrl how to Hide the RootItem

It is possible, make the root item null. Find the wxDataViewCtrl sample and check the list view implementation of wxDataViewCtrl.

https://github.com/wxWidgets/wxWidgets/ ... s/dataview
by Anil8753
Fri Jul 21, 2017 9:14 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 1293

Re: wxWidgets 3.0 on Mac 10.13 crashing

Issue got fixed automatically in Latest MAC 10.13 Beta 17A306f .
by Anil8753
Wed Jul 19, 2017 3:37 am
Forum: C++ Development
Topic: WxDataViewListCtrl not sorting by column
Replies: 4
Views: 2813

Re: WxDataViewListCtrl not sorting by column

After adding your items in wxDataViewCtrl call the following:

Code: Select all

wxDataViewCtrl::GetModel()->Resort();
by Anil8753
Wed Jul 12, 2017 10:06 am
Forum: Platform Related Issues
Topic: SetLabel() on wxBitmapButton does not work as expected
Replies: 2
Views: 1582

Re: SetLabel() on wxBitmapButton does not work as expected

try it const wxBitmap bmpNormal = ...; const wxBitmap bmpSelected = ...; wxButton* pBtn = new wxButton(this, wxID_ANY, wxEmptyString, wxDefaultPosition, bmpNormal.GetSize(), wxTRANSPARENT_WINDOW | wxBORDER_NONE); pBtn->SetLabelText("YOUR LABEL"); pBtn->SetBitmap(bmpNormal); pBtn->SetBitmap...
by Anil8753
Tue Jul 11, 2017 7:06 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 1293

Re: wxWidgets 3.0 on Mac 10.13 crashing

I build wxWidgets myself output as a dynamic library using XCode7.2. On close of any wxDialog, it is either hangs or crashes
by Anil8753
Mon Jul 10, 2017 11:07 am
Forum: Platform Related Issues
Topic: wxWidgets 3.0 on Mac 10.13 crashing
Replies: 4
Views: 1293

wxWidgets 3.0 on Mac 10.13 crashing

I am trying my application on macOS High Sierra (version 10.13 Beta 17A291m). Application crashes when I launch a wxDialog and close. On close it crash in wxGUIEventLoop::OSXDoRun() function in evtloop.mm (line# 301). I have no clue whether it is wxWidgets issue or Mac10.13 issue. The application wo...
by Anil8753
Tue Jul 04, 2017 11:58 am
Forum: C++ Development
Topic: Which control for huge changing list ?
Replies: 10
Views: 2619

Re: Which control for huge changing list ?

wxDataViewCtrl, I found it is a nice control for this kind of requirement. Additional it provides the inline editing as well, of course, you do not need it. Provide the flexibility to customise the look and feel by custom renderers. It's nice indeed but only if he is going to limit data and page th...
by Anil8753
Tue Jul 04, 2017 8:57 am
Forum: C++ Development
Topic: Widget like Windows Explorer in Icon Mode
Replies: 9
Views: 2503

Re: Widget like Windows Explorer in Icon Mode

probably have a look on https://github.com/Anil8753/wxThumbnailCtrl

wxListCtrl can also be used if you have lesser number of items. If you have items in thousands, I would say it is worth to check wxThumbnailCtrl once.
by Anil8753
Tue Jul 04, 2017 7:29 am
Forum: C++ Development
Topic: Which control for huge changing list ?
Replies: 10
Views: 2619

Re: Which control for huge changing list ?

wxDataViewCtrl, I found it is a nice control for this kind of requirement. Additional it provides the inline editing as well, of course, you do not need it.
Provide the flexibility to customise the look and feel by custom renderers.
by Anil8753
Tue Jul 04, 2017 5:17 am
Forum: C++ Development
Topic: Setting the background color in wxChoice
Replies: 5
Views: 2499

Re: Setting the background color in wxChoice

I feel there is no direct API to do it. But you can use the following trick implement the desire behaviour. #include <wx/artprov.h> m_pSizer = new wxBoxSizer(wxHORIZONTAL); wxChoice* pChoice = new wxChoice(this, wxID_ANY); pChoice->AppendString("One"); pChoice->AppendString("Two"...
by Anil8753
Mon Jul 03, 2017 11:50 am
Forum: Component Writing
Topic: Efficient way of display thumbnails
Replies: 16
Views: 20205

Re: Efficient way of display thumbnails

Yeah, I achieved it. Now I can display more 10K thumbnails without any performance issue. using it, I implemented exactly Windows Explorer like control. It works like charm.

You may find the source @github
https://github.com/Anil8753/wxThumbnailCtrl
by Anil8753
Mon Jul 03, 2017 10:31 am
Forum: C++ Development
Topic: How to sort columns in a wxDataViewListCtrl
Replies: 2
Views: 1581

Re: How to sort columns in a wxDataViewListCtrl

wxEVT_DATAVIEW_COLUMN_SORTED event gets fired after you click on a column for sorting and sorting is done. use the wxEVT_DATAVIEW_COLUMN_HEADER_CLICK event if you want to sort initiating event see the datavgen.cpp void OnClick(wxHeaderCtrlEvent& event) { FinishEditing(); const unsigned idx = ev...
by Anil8753
Mon Jul 03, 2017 10:27 am
Forum: C++ Development
Topic: wxBitmapButton Transparency
Replies: 1
Views: 1464

Re: wxBitmapButton Transparency

const wxBitmap bmpNormal = ... ; // transparent png const wxBitmap bmpSelected = ... ; // transparent png wxButton* pBtn = new wxButton(this, wxID_ANY, wxEmptyString, wxDefaultPosition, bmpNormal.GetSize(), wxTRANSPARENT_WINDOW | wxBORDER_NONE); pBtn->SetBitmap(bmpNormal); pBtn->SetBitmapHover(bmpS...