Search found 10 matches

by ifvimy
Wed Dec 11, 2019 4:20 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

Re: how to make a wxPanel like Layer

Yes.
by ifvimy
Tue Dec 10, 2019 8:19 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

Re: how to make a wxPanel like Layer

Hi, Yes, we got that. But what is the purpose of them? Are you trying like see-through panel, with the other one having a bitmap? Or something else? Please describe the problem you are trying to solve. Thank you. We want to put Arcgis map(Activexcontainer inherit wxPanel) at the bottom, and another...
by ifvimy
Tue Dec 10, 2019 8:01 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

Re: how to make a wxPanel like Layer

Thanks for your reply. Maybe see-through panel will work.
by ifvimy
Sun Dec 08, 2019 1:44 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

Re: how to make a wxPanel like Layer

Thanks for your reply. I mean I need to overlying wxPanels.
by ifvimy
Thu Dec 05, 2019 3:15 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

Re: how to make a wxPanel like Layer

Thanks for your reply. I want to overlap some wxPanels, each wxPanel I want to place different content, and the top wxPanel only show other wxPanel's content.
by ifvimy
Tue Dec 03, 2019 8:50 am
Forum: C++ Development
Topic: how to make a wxPanel like Layer
Replies: 9
Views: 663

how to make a wxPanel like Layer

panel1 = new wxPanel(this, wxID_ANY); panel2 = new wxPanel(this, wxID_ANY); wxButton *btn1 = new wxButton(panel1, 10000, "Btn1", wxPoint(50, 100) ); wxButton *btn2 = new wxButton(panel1, 10001, "Btn2", wxPoint(150, 100) ); Bind wxSizeEvent, and in OnSize panel1->SetSize(event.GetSize()); panel2->Se...
by ifvimy
Thu Aug 29, 2019 1:14 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 565

Re: How to use Widgets from a dll

Can you explain the use case a bit more? What about the host application? Will it use wxWidgets, too? I'm sorry. In my solution, there are so many wxPanels and wxDialogs, then I decide to write some of them in other project which will be build to dlls. First, I pass args(wxWindow *parent) to constr...
by ifvimy
Wed Aug 28, 2019 1:12 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 565

Re: How to use Widgets from a dll

Thanks for your prompt reply. I mean I want to use wxWidgets in my own dll, which maybe a wxPanel or wxDialog in it. In main application, I used the dll and try to construct dll's wxPanel, but failed to register wclass...'. Then I seen the 'dll samples', it solved, but I want to know is there a easi...
by ifvimy
Tue Aug 27, 2019 10:22 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 565

How to use Widgets from a dll

I have saw the dll sample, then if I want to use the wxPanel from the dll, for example, add the panel to a wxAuiNotbook, I tried, but failed, what should I do?And is there some easy way to use a wxPanel and etc from a dll?
Thanks a lot.
by ifvimy
Fri Aug 16, 2019 6:43 am
Forum: wxWidgets Development (Chinese)
Topic: Failed to register window class
Replies: 0
Views: 3639

Failed to register window class

各位大佬,求助,我想把一个wxPanel写在一个dll里,然后在主程序wxApp和wxFrame中去加载他,但是提示标题这个错误。我之前也搜了下论坛,但是wxSetInstance提示找不到,我现在用的wxWidgets3.1.2。求助