Search found 40 matches
- Mon Sep 10, 2007 2:23 pm
- Forum: C++ Development
- Topic: SIGSEGV bei Zuweisung
- Replies: 3
- Views: 948
- Mon Sep 10, 2007 12:41 pm
- Forum: C++ Development
- Topic: SIGSEGV bei Zuweisung
- Replies: 3
- Views: 948
SIGSEGV bei Zuweisung
Hi experts, "Vci" is a class I want to use in my program. So I coded the following: IMPLEMENT_APP( MyNewApp) bool MiniApp::OnInit(){ m_Vci1= new Vci(); frame= new CanCommFrame( NULL, -1, "CanComm", m_Vci1); SetTopWindow( frame); frame->Show( true); wxIcon icon( icoFrame); frame->...
- Tue Jun 19, 2007 12:06 am
- Forum: C++ Development
- Topic: drawing example
- Replies: 1
- Views: 795
drawing example
Hi experts, i tried to draw something on a panel. The system is Windows XP with MinGW developer studio including wxWidgets 2.6.0. This is the code: void MyPanel::DrawSomeStuff(){ wxClientDC dc1( this); dc1.SetLogicalOrigin( 0, 0); //* dc1.SetAxisOrientation( true, false); //* dc1.SetUserScale( 1.0, ...
- Thu May 10, 2007 7:59 am
- Forum: C++ Development
- Topic: Scrolling two windows with one scrollbar
- Replies: 4
- Views: 1281
new approach: surrounding wxScrolledWindow
Hi experts, @peri_ololon: Thanks for the reply. I did not test ist myself yet, but it looks like it would be necessary to derive a class for the rightmost grid that processes its ScrollWinEvents and controls the other grids. Did I get your idea? @all: Meanwhile, I tried a different attempt: put all ...
- Wed Apr 18, 2007 7:18 am
- Forum: C++ Development
- Topic: Scrolling two windows with one scrollbar, revisited
- Replies: 2
- Views: 682
- Tue Apr 17, 2007 2:11 pm
- Forum: C++ Development
- Topic: Scrolling two windows with one scrollbar, revisited
- Replies: 2
- Views: 682
Scrolling two windows with one scrollbar, revisited
Hi Experts, since I didn't get the real program to work, I tried to build a minimal compilable one out of the "Hello World" example. Here it is: #include "wx/wx.h" #include "wx/grid.h" class MyApp: public wxApp{ virtual bool OnInit(); }; class MyPanel: public wxPanel{ p...
- Tue Apr 17, 2007 7:11 am
- Forum: C++ Development
- Topic: Scrolling two windows with one scrollbar
- Replies: 4
- Views: 1281
- Mon Apr 16, 2007 9:38 am
- Forum: C++ Development
- Topic: Scrolling two windows with one scrollbar
- Replies: 4
- Views: 1281
Scrolling two windows with one scrollbar
Hi experts, after a search I found a thread called "scrollbar in window 1 control scrolling in window 2" which says catch EVT_SCROLL (see wxScrollEvent) of right window and perform the scroll on left window. you can use wxScrollEvent::GetPosition() to get the scroll bar position of right w...
- Mon Feb 12, 2007 1:28 pm
- Forum: C++ Development
- Topic: alternating wrong months in wxDateTime
- Replies: 6
- Views: 1566
Hi experts, I tried this one and it didn't work: SetDay((wxDateTime::wxDateTime_t)l_value); I also used a temporary variable, just tu be sure. wxDateTime::wxDateTime_t dttTemp; dttTemp= (wxDateTime::wxDateTime_t)l_value; SetDay( dttTemp); The code compiles ok, but during runtime it creates dates in ...
- Mon Feb 12, 2007 7:52 am
- Forum: C++ Development
- Topic: alternating wrong months in wxDateTime
- Replies: 6
- Views: 1566
- Fri Feb 02, 2007 12:18 pm
- Forum: C++ Development
- Topic: alternating wrong months in wxDateTime
- Replies: 6
- Views: 1566
alternating wrong months in wxDateTime
Hi experts, there is a wxDateTime object in my code, in fact, there are many: *( m_dtCurrentSelected)= calTop->GetDate(); refers to a member variable of the main panel. When displaying some kind of schedule, this one is transferred to it: m_grdMainGrid= new ExGrid( this, -1, m_dtCurrentSelected, ); ...
- Fri Feb 02, 2007 11:19 am
- Forum: C++ Development
- Topic: small changes stop wxFileDialog
- Replies: 2
- Views: 1003
- Thu Feb 01, 2007 6:13 pm
- Forum: C++ Development
- Topic: small changes stop wxFileDialog
- Replies: 2
- Views: 1003
small changes stop wxFileDialog
Hi experts, here is some code snippet I wrote, found working and almost bytewise copied to another method, where it fails: void MyCdpProjectsNParts::OnExport(){ // Finde einen Speicherort wxString strDirectory; wxString strFilename; wxString strFullFilename; // setzen auf %homedir%/passendesUnterver...
- Mon Jan 29, 2007 9:39 am
- Forum: C++ Development
- Topic: App crashes every now and then - pointer problem?
- Replies: 4
- Views: 1328
- Thu Jan 25, 2007 12:00 pm
- Forum: General Development
- Topic: printing tutorial
- Replies: 1
- Views: 922
printing tutorial
Hi Experts, the program I wrote developes well, thanks to many of you. It now offers the possibility to put in information about projects worked on and the time everyone spends working on them. Now I got to the next big task: printing. I found several instructions on how to use wxWidget's included p...