Search found 148 matches

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

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: 6533

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: 1109

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("LineStyle", "1"); Not su...
by timg
Wed Mar 03, 2010 5:28 pm
Forum: C++ Development
Topic: wxAuiNotebook: on tab move page keeps old index
Replies: 1
Views: 490

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: 2012

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: 5013

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: 2023

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: 1211

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: 2287

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

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: 2104

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: 1182

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: 367

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

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: 366

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

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