Search found 148 matches

by timg
Thu Jul 15, 2010 6:53 pm
Forum: Open Discussion
Topic: any wx IDE?
Replies: 3
Views: 2781

I don't have any suggestion for your IDE issues, but I would suggest that you don't post the same thing to every sub-forum on this site.
by timg
Sat May 01, 2010 5:50 am
Forum: General Development
Topic: wxTextCtrl cursor position
Replies: 14
Views: 9930

Maybe try:

wxTextCtrl::SetInsertionPoint(long pos)

Sets the insertion point at the given position.
by timg
Fri Apr 09, 2010 5:00 pm
Forum: C++ Development
Topic: Communicating with Excel trough WxAutomationObject problem
Replies: 4
Views: 1928

From what I've seen, the wxAutomation stuff doesn't work well with code like this. One thing you could try is to get the Border object and then apply the property to that. excelObj.GetObject(borderObj, "ActiveCell.Borders", 1, "9"); // 9 = xlEdgeBottom borderObj.PutProperty("...
by timg
Wed Mar 03, 2010 5:28 pm
Forum: C++ Development
Topic: wxAuiNotebook: on tab move page keeps old index
Replies: 1
Views: 1052

I was looking for something similar - I needed to get the pages in the order they are displayed after the user rearranged them.

I found this patch. It did what I needed, but from the comments, it's not quite perfect.

http://trac.wxwidgets.org/ticket/10848
by timg
Tue Feb 16, 2010 10:12 pm
Forum: Announcements and Discoveries
Topic: Succeeding in the PC Game and Online Games Industry
Replies: 6
Views: 4648

Is it just me? Or does this look like SPAM?
by timg
Mon Dec 07, 2009 7:05 pm
Forum: Component Writing
Topic: wxFreeChart powerful charting library
Replies: 12
Views: 8692

Can it do log axis also? Or just linear?
by timg
Fri Oct 23, 2009 5:54 pm
Forum: Component Writing
Topic: Can i get any sample code for trasfering data to MS Excel
Replies: 3
Views: 3551

You might need to be a little more specific in what you want to transfer to and from Excel. Also, are you talking about transferring data with a running instance of Excel or with an Excel file? In the former case you would probably need to use the wxAutomation stuff. In the latter case, you might ne...
by timg
Thu Oct 01, 2009 6:48 am
Forum: C++ Development
Topic: wxAuiNotebook Tab Order
Replies: 1
Views: 1828

I was looking for something similar - I needed to get the pages in the order they are displayed after the user rearranged them.

I found this patch. It did what I needed, but from the comments, it's not quite perfect.

http://trac.wxwidgets.org/ticket/10848
by timg
Tue Sep 29, 2009 6:27 pm
Forum: C++ Development
Topic: RS232 communication
Replies: 4
Views: 3227

by timg
Tue Sep 29, 2009 4:49 pm
Forum: C++ Development
Topic: SaveAs Excel file and wxAutomationObject
Replies: 6
Views: 2974

I haven't tried it, but it seems like the line:

Code: Select all

ExcelObject.CallMethod("Workbooks.SaveAs", FileName); 
should be:

Code: Select all

ExcelObject.CallMethod("ActiveWorkbook.SaveAs", FileName); 
by timg
Fri Sep 25, 2009 4:57 pm
Forum: wxCode
Topic: How to set the colour of a curve (wxPlotCtrl)?
Replies: 4
Views: 3295

Not sure if it's the case, but is your curve selected? The last curve added stays selected, and selected curves are blue.
by timg
Wed Aug 19, 2009 1:22 am
Forum: C++ Development
Topic: Icon Resource Problem (simple?)
Replies: 5
Views: 2439

I do something similar and the only difference I can see from what you posted is that in my .rc file, I don't put quotes around the filename.

Code: Select all

anIcon ICON klp.ico
The rest is identical to what you have.
by timg
Tue Jul 21, 2009 5:05 pm
Forum: C++ Development
Topic: Writing to Com Ports?
Replies: 1
Views: 763

by timg
Wed Jul 15, 2009 1:51 am
Forum: C++ Development
Topic: wxAUINotebook - retrieve pages in tab order?
Replies: 0
Views: 638

wxAUINotebook - retrieve pages in tab order?

Is there an easy way to retrieve the pages of an AUINotebook in order?

You can drag the tabs around to re-order the pages visually, but this doesn't change the order for GetPage() calls. Is this a bug?
by timg
Fri Jun 05, 2009 5:14 pm
Forum: C++ Development
Topic: pasting into wxGrids
Replies: 1
Views: 785

Read this thread. I believe it will give you what you want.

http://forums.wxwidgets.org/viewtopic.php?t=2200