Search found 84 matches

by eriX
Fri Apr 06, 2012 4:04 pm
Forum: C++ Development
Topic: Open wxPopupMenu by RightClick on wxEdit
Replies: 7
Views: 3581

Re: Open wxPopupMenu by RightClick on wxEdit

Ok. Shall I do it that way? WxEdit1->Connect(wxEVT_CONTEXT_MENU,(wxObjectEventFunction)&MyFrm::WHATSHERE?!,0,this); How can I open the WxPopupMenu ? Sorry, but I can't follow your instructions beginning from point 2 (I don't understand them - I'm not very experienced) WxPopupMenu1 = new wxMenu(wxT("...
by eriX
Fri Apr 06, 2012 2:15 pm
Forum: C++ Development
Topic: Open wxPopupMenu by RightClick on wxEdit
Replies: 7
Views: 3581

Open wxPopupMenu by RightClick on wxEdit

Hey guys, I want to open a wxPopupMenu, if the user makes a right-click on a wxEdit field. After this the Popup appears and the user can select a item (special character in this case) that becomes insert into the wxEdit element. What are the steps to create a RightClickEvent? I'm working with wxDevC...
by eriX
Mon Mar 26, 2012 4:10 pm
Forum: C++ Development
Topic: Compare Image from wxBitmapButton with WxBitmap
Replies: 6
Views: 1754

Re: Compare Image from wxBitmapButton with WxBitmap

Ok... Now I know what you meant!
I'll do it that way now.

Thank you very much.
by eriX
Mon Mar 26, 2012 2:09 pm
Forum: C++ Development
Topic: Compare Image from wxBitmapButton with WxBitmap
Replies: 6
Views: 1754

Re: Compare Image from wxBitmapButton with WxBitmap

My Code is inside a wxButton::Click procedure.

I will use global variables now, or could you give me an example of that what you mean?
by eriX
Sun Mar 25, 2012 1:51 pm
Forum: C++ Development
Topic: Compare Image from wxBitmapButton with WxBitmap
Replies: 6
Views: 1754

Re: Compare Image from wxBitmapButton with WxBitmap

Where would you set a flag?
by eriX
Sun Mar 25, 2012 12:12 pm
Forum: C++ Development
Topic: Compare Image from wxBitmapButton with WxBitmap
Replies: 6
Views: 1754

Compare Image from wxBitmapButton with WxBitmap

Hey folks, I've some trouble by comparing two images: wxBitmap WxBitmap14_ACTUAL(); WxBitmap14_AKTUELL = WxBitmapButton14->GetBitmapLabel(); wxBitmap WxBitmap14_NORMAL ("gfx/button/btn_vokabelbox_01.png", wxBITMAP_TYPE_PNG); wxBitmap WxBitmap14_HOVER ("gfx/button/btn_vokabelbox_01_h.png", wxBITMAP_T...
by eriX
Mon Mar 05, 2012 8:28 pm
Forum: C++ Development
Topic: Control childframe wxDialog from parental wxFrame
Replies: 8
Views: 1336

Re: Control childframe wxDialog from parental wxFrame

Ok...

I got the idea right now that I could operate from the dialog, too.
Maybe it's a little bit more code... but this doesn't matter.

But thanks a lot! You brought me a new idea! =D
by eriX
Mon Mar 05, 2012 8:02 pm
Forum: C++ Development
Topic: Control childframe wxDialog from parental wxFrame
Replies: 8
Views: 1336

Re: Control childframe wxDialog from parental wxFrame

What do you mean with "wxDialog derivee UI" ?

I thought a window that is started from a window (with dependencies of it (like Destroy();)) is called "childframe" - am I wrong?
by eriX
Mon Mar 05, 2012 7:52 pm
Forum: C++ Development
Topic: Control childframe wxDialog from parental wxFrame
Replies: 8
Views: 1336

Re: Control childframe wxDialog from parental wxFrame

Really? =/

I thought I could add a wxDialog to my project and design the gui...
I wanted to call it as a childframe, so that the user can put some information in it.

From the parent-window I want to grab those information from the childframe/dialog.
by eriX
Mon Mar 05, 2012 7:42 pm
Forum: C++ Development
Topic: Control childframe wxDialog from parental wxFrame
Replies: 8
Views: 1336

Re: Control childframe wxDialog from parental wxFrame

I want to use a customized dialog... isn't that possible?

I don't like those standard things...

I want to use graphics and some more objects on my dialog...
by eriX
Mon Mar 05, 2012 5:45 pm
Forum: C++ Development
Topic: Control childframe wxDialog from parental wxFrame
Replies: 8
Views: 1336

Control childframe wxDialog from parental wxFrame

Hello. I have created a childframe TextEnterDlg *dlg = new TextEnterDlg(this); if ( dlg->ShowModal() == wxID_OK ) { wxString abc = dlg.WxEdit1->GetValue(); // Here I want to receive the text that the user typed in. } My problem is, that I have no idea how I can change a label of a WxStaticText and h...
by eriX
Mon Jan 23, 2012 2:15 pm
Forum: wxDev-C++
Topic: Change different frames/panels in one window
Replies: 2
Views: 2956

Re: Change different frames/panels in one window

I don't want to use wxNotebook. I did a big research in the last hours and got the idea to use wxNotebook and to size it bigger than my window is, because then those tab-controls, borders etc. will disappear completely and I can change the Notebook pages with a button... :mrgreen: Offtopic: Sorry fo...
by eriX
Sun Jan 22, 2012 6:36 pm
Forum: wxDev-C++
Topic: Change different frames/panels in one window
Replies: 2
Views: 2956

Change different frames/panels in one window

Hello, I want to create an application without a lot of childframeing... There shall be some buttons on the top of the application, which shall change the content-section below them. In the content section there shall be some other controls (buttons, images etc.) I want to setup these "frames" in th...
by eriX
Sat Dec 17, 2011 9:44 pm
Forum: wxDev-C++
Topic: cannot find -lwregex // wxWidgets 2.9.2 DevPack
Replies: 17
Views: 8383

Re: cannot find -lwregex // wxWidgets 2.9.2 DevPack

I didn't try rebuild all #-o I thought it is the same if I delete the objects folder. Now I don't get any warnings anymore... Thank you! :wink: The last outstanding problem is unicode. Before 2.9.2 -> I added my words in the form-designer and it worked fine. Since 2.9.2 -> "Illegal byte sequence."
by eriX
Sat Dec 17, 2011 12:16 pm
Forum: wxDev-C++
Topic: cannot find -lwregex // wxWidgets 2.9.2 DevPack
Replies: 17
Views: 8383

Re: cannot find -lwregex // wxWidgets 2.9.2 DevPack

I said the project can become compiled and started successful. But I receive a lot of warnings, that I can't understand: -lsqlite3 -mwindows -lwxmsw29u -lwxmsw29u_gl -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregexu -lwxmsw29u -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32...