Search found 211 matches
- Tue Apr 22, 2008 9:26 am
- Forum: C++ Development
- Topic: How to get the weekday name?
- Replies: 2
- Views: 1226
- Mon Apr 21, 2008 12:38 pm
- Forum: C++ Development
- Topic: How to show modal dialog in this way on Mac OSX ?
- Replies: 6
- Views: 2172
How to show modal dialog in this way on Mac OSX ?
Help, please
- Sat Apr 19, 2008 9:09 am
- Forum: C++ Development
- Topic: wxAuiSimpleTabArt
- Replies: 2
- Views: 1263
- Sat Apr 19, 2008 9:03 am
- Forum: C++ Development
- Topic: wxAuiSimpleTabArt
- Replies: 2
- Views: 1263
- Thu Apr 03, 2008 9:37 am
- Forum: C++ Development
- Topic: wxPdfDocument crash with image
- Replies: 14
- Views: 2440
In my version of wxPdf exist /** * Puts an image in the page * The image is given by an wxImage-Object * \param name Name of the image to be used as an identifier for this image object. * \param image wxImage object which will be embedded as PNG * \param x Abscissa of the upper-left corner. * \param...
- Thu Apr 03, 2008 7:46 am
- Forum: C++ Development
- Topic: wxPdfDocument crash with image
- Replies: 14
- Views: 2440
Re: wxPdfDocument crash with image
I'm trying the code samples that come with the library, but every sample with a row like this crash. Image(_T("wxpdfdoc.png"),10,8,28); Any idea? I read some very old post, is it a library bug? I use: m_pDocument->Image( _T(""), bmp.ConvertToImage(), x, y ); and this work for me...
- Thu Apr 03, 2008 12:04 am
- Forum: C++ Development
- Topic: How do I save the contents of a wxListBox to a text file?
- Replies: 9
- Views: 2221
- Wed Apr 02, 2008 10:00 pm
- Forum: C++ Development
- Topic: How do I save the contents of a wxListBox to a text file?
- Replies: 9
- Views: 2221
- Wed Apr 02, 2008 8:45 pm
- Forum: C++ Development
- Topic: Draw polygon with transparency
- Replies: 3
- Views: 1451
Code: Select all
wxPoint points[6];
border_points[0] = wxPoint( 0, 0 );
...
// draw tab outline
dc.SetPen( *wxBLACK );
dc.SetBrush(*wxTRANSPARENT_BRUSH);
dc.DrawPolygon(WXSIZEOF(points), points);
- Wed Apr 02, 2008 8:39 pm
- Forum: C++ Development
- Topic: How do I save the contents of a wxListBox to a text file?
- Replies: 9
- Views: 2221
- Wed Apr 02, 2008 7:20 pm
- Forum: C++ Development
- Topic: How do I save the contents of a wxListBox to a text file?
- Replies: 9
- Views: 2221
Code: Select all
wxArrayString list = ListBox1->GetStrings();
wxTextFile file( _T("gen_avs.bat") );
file.Open();
size_t count = list.Count();
for( size_t i = 0 ; i < count ; ++i )
file.AddLine( list[ i ] );
file.Write();
file.close();
- Wed Apr 02, 2008 9:01 am
- Forum: C++ Development
- Topic: EVT_LIST_COL_CLICK and Connect
- Replies: 4
- Views: 1196
- Wed Apr 02, 2008 8:13 am
- Forum: C++ Development
- Topic: EVT_LIST_COL_CLICK and Connect
- Replies: 4
- Views: 1196
Re: EVT_LIST_COL_CLICK and Connect
try without NULL, thisbojkar wrote:Hello. Can I use EVT_LIST_COL_CLICK with Connect not event table?This isn't work.Code: Select all
m_listCtrl->Connect( wxEVT_LIST_COL_CLICK, wxListEventHandler( CMyClass:OnList ), NULL, this);
Please help.
- Tue Apr 01, 2008 6:09 am
- Forum: C++ Development
- Topic: How do you read in values from a file
- Replies: 3
- Views: 1046
- Sat Mar 29, 2008 12:19 pm
- Forum: C++ Development
- Topic: drawline produces broken lines
- Replies: 21
- Views: 4704