Search found 35 matches
- Mon Aug 13, 2012 10:40 pm
- Forum: General Development
- Topic: wxwidgets(c/c++) interface compatibility with wxpython
- Replies: 1
- Views: 1198
wxwidgets(c/c++) interface compatibility with wxpython
I was wondering if I can keep working on my .wxs file(like the graphics interface), which is created when I was using wxwidgets with c/c++, in wxpython then?
- Sun Aug 05, 2012 8:26 pm
- Forum: C++ Development
- Topic: "send" event between methods with same parent
- Replies: 3
- Views: 1282
Re: "send" event between methods with same parent
Right on.
Follow-up question:
Is it a correct manner that we communicate between methods of same parent via events?
Follow-up question:
Is it a correct manner that we communicate between methods of same parent via events?
- Sun Aug 05, 2012 8:14 pm
- Forum: C++ Development
- Topic: "send" event between methods with same parent
- Replies: 3
- Views: 1282
"send" event between methods with same parent
I am trying to send a wxstring via wxCommandEvent within the same scope of methods in wxFrame,be like: // event table BEGIN_EVENT_TABLE(mainFrame, wxFrame) EVT_COMMAND(id, wxEVT_COMMAND_TEXT_UPDATED, mainFrame::receive) END_EVENT_TABLE() // send method void mainFrame::send(wxCommandEvent& event)...
- Sat Jul 28, 2012 5:36 am
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
also,I know in 2.9 binding mouse event to any sort of wx component doesnt really bother us but in 2.8 i have no idea about how to do this. so far,i think all i need is just catching mouse motion in wxstaticmap and both EVENT_TABLE and Connect() look good but ... 1.In Connect(),I dont know which wx e...
- Fri Jul 27, 2012 2:41 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
another question, im wondering how i implement mouse events in every child of wxFrame...
- Thu Jul 26, 2012 7:38 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
that definitely makes more sense by playing around event method tho
thanks!
thanks!
- Thu Jul 26, 2012 7:15 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
so when i start dragging,wxFrame starts capturing mouse when i decide where to drop(a bomb or candy lol) , wxFrame releases mouse,correct? and when i release mouse,obviously the object has been set to a certain position.will it be able to grab the coordinates in terms of wxPoint or simply long int.....
- Thu Jul 26, 2012 7:02 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
hmm i m trying to do a coordinates based drag and drop by capturing the exact coordinates for the next object to drop. basically, i have a map(loaded to wxStaticBitmap) and an object / person to be parachuted thats why i really want to work the coordinates out in wxStaticBitmap in a FlexGridSizer(th...
- Thu Jul 26, 2012 6:30 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
i tried wxWindow::CaptureMouse() and definitely it works well and coordinates are captured correctly. however,when the program is capturing mouse,the whole program "locks".be like,the cursor moves around and buttons in the interface are all not able to press,and the coordinates are updatin...
- Wed Jul 25, 2012 10:28 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
lol technically i didnt set the thread up so nothing to be done with thread anymore. I actually declared a mouse event at the event table: BEGIN_EVENT_TABLE(ManagerFrame,wxFrame) EVT_MOTION (ManagerFrame::OnCoordMotion) END_EVENT_TABLE() Then I created a method for my ManagerFrame: void ManagerFrame...
- Wed Jul 25, 2012 8:40 pm
- Forum: C++ Development
- Topic: Child wxPanel not capturing mouse motion
- Replies: 17
- Views: 7525
Re: Child wxPanel not capturing mouse motion
Hey guys I am here to beat dead horses... I am trying to capture the mouse motion globally in the main wxFrame. So I managed to do that with a thread specifically in charge of this + wxMouseEvent The problem is that the coordinates are apparently not changing by mouse moving when the cursor is in a ...
- Thu Jul 12, 2012 12:28 am
- Forum: C++ Development
- Topic: wxwidgets with win32 multithread API
- Replies: 1
- Views: 959
wxwidgets with win32 multithread API
Hello, I was wondering if I can work something about win32 multithread API with wxwidgets in codeblocks. In my case,I am going to write out a thread function that grabs data from local MySQL database and exhibits them in a wxGrid void __cdecl ThreadProc(void* val) { ... // grab data Grid->SetCellVal...
- Tue Jul 03, 2012 6:11 pm
- Forum: C++ Development
- Topic: wxDb connection
- Replies: 0
- Views: 1623
wxDb connection
I was wondering what should my Dsn be in win7 with MySQL 5.5+ODBC in wxwidgets+codeblocks.
I have read through the whole database overview and still quite confused about this term.
I have read through the whole database overview and still quite confused about this term.
- Sun Jul 01, 2012 12:57 am
- Forum: C++ Development
- Topic: wxDataViewCtrl issue in wxwidgets 2.8 under win7
- Replies: 1
- Views: 826
wxDataViewCtrl issue in wxwidgets 2.8 under win7
Hi everyone I have been working on a simple app that basically set up a background image and a list of icons that one can drag and drop in the background image and do stuff. I am using wxDataViewCtrl(I did not find it in the wx style UI designer in code blocks ).My program compiles successfully and ...
- Sat Jun 30, 2012 3:52 pm
- Forum: C++ Development
- Topic: Simple Application:Upload an image
- Replies: 4
- Views: 1483
Re: Simple Application:Upload an image
Hi Xav thx for hint and I tried to add a wxStaticBitmap as a child of one of my wxFlexGridSizer.Howevery,the compiler gave me "Virtual Alloc(commit): access invalid address" when compiling and obviously some settings are just wrong in my codeblocks.lol is there anything that is supposed to...