I gues from your question you are using wxDev-C++. You can add events manually with the code in the block provided in the generated event table.
Sof.T
Search found 864 matches
- Sat Sep 06, 2008 11:01 am
- Forum: C++ Development
- Topic: OnLeave function for wxEdit?
- Replies: 5
- Views: 1580
- Mon Aug 11, 2008 7:57 am
- Forum: wxDev-C++
- Topic: wxAUI: docking/undocking ("tearing off") Notebook
- Replies: 4
- Views: 1748
- Tue Jul 22, 2008 7:43 am
- Forum: C++ Development
- Topic: SetClippingRegion question
- Replies: 2
- Views: 990
- Sun Jul 20, 2008 9:14 pm
- Forum: wxDev-C++
- Topic: Help with WxDevcpp and programming
- Replies: 3
- Views: 1064
Unlike ordinary C++ programming there is no main function. The program is event driven not sequential. I found it difficult to understand when I first started to program like this. The program starts in the ...App.C file in the function called Init. When the program starts it sits there waiting for ...
- Sun Jul 20, 2008 6:04 pm
- Forum: wxDev-C++
- Topic: Help with WxDevcpp and programming
- Replies: 3
- Views: 1064
- Thu Jul 17, 2008 4:47 am
- Forum: General Development
- Topic: wxdev-cpp with Win32 - The Forger's Win32 Tutorial
- Replies: 2
- Views: 1109
- Tue Jul 15, 2008 6:16 pm
- Forum: wxDev-C++
- Topic: initiate an event
- Replies: 6
- Views: 1953
- Mon Jul 14, 2008 4:37 pm
- Forum: wxDev-C++
- Topic: wxTreeCtrl
- Replies: 3
- Views: 1054
Here are a couple of functions to help, they return a true value if the artist or genre is found. You need to pass in a string containing the name of the artist or genre and a wxTreeItemId. If the function returns true the wxTreeItemId will contain the location of the item. bool JuzbrigFrm::FindArti...
- Sat Jul 12, 2008 1:42 pm
- Forum: wxDev-C++
- Topic: wxToolbar/wxBitmap importing?
- Replies: 6
- Views: 1790
- Thu Jul 10, 2008 8:51 pm
- Forum: wxDev-C++
- Topic: can mingw do bitwise operations?
- Replies: 3
- Views: 1407
- Thu Jul 10, 2008 8:50 pm
- Forum: wxDev-C++
- Topic: Linking .lib
- Replies: 1
- Views: 706
- Tue Jul 08, 2008 7:23 am
- Forum: C++ Development
- Topic: disable event raising
- Replies: 10
- Views: 4081
In the EventHandler you could implement something like MyGrid::Refresh() { this->SetHandleEvent(false); .... //Do Append and SetCursor .... this->SetHandleEvent(true); } MyPanel::OnGridSelectCell() { if(MyGrid->GetHandleEvent()) { //Handle event } else { event.Skip(); } } MyGrid::SetHandleEvent(bool...
- Sun Jul 06, 2008 8:23 pm
- Forum: wxDev-C++
- Topic: wxToolbar/wxBitmap importing?
- Replies: 6
- Views: 1790
- Sun Jul 06, 2008 9:18 am
- Forum: wxDev-C++
- Topic: wxToolbar/wxBitmap importing?
- Replies: 6
- Views: 1790
I take it you want to use PNG files rather than the XPM files that wxDev-C++ would generate for you. It is slightly awkward, but easy enough. First you need to convert them into c style arrays using a version of Bin2C which you can get from many places on the Internet. You then add these files to yo...
- Sat Jul 05, 2008 8:58 am
- Forum: C++ Development
- Topic: wxString.ToDouble, .ToLong
- Replies: 6
- Views: 2169
The Format command uses the C style of format specifiers. The article here might help you with the information you need. In particular look at width and precision.
Sof.T
Sof.T