Search found 68 matches

by pschaich
Mon Dec 04, 2006 10:08 am
Forum: C++ Development
Topic: How can I read/write excel file without open it?
Replies: 7
Views: 2613

Another possibility would be SPDB. I use it.

http://www.sptk.net/index.php?act=spdb

Peter
by pschaich
Fri Dec 01, 2006 10:41 am
Forum: wxDev-C++
Topic: "wxStrings" instead of "Strings" classes
Replies: 13
Views: 2956

are you sure, you understood the use of the brackets in

-lwxmsw27(u)

?

That means either use the "u" or not - depending wether u have unicode or not.
by pschaich
Thu Nov 30, 2006 1:55 pm
Forum: wxDev-C++
Topic: error
Replies: 2
Views: 1030

a quick internet search shows that there seem to be problems with different versions of this dll.

Peter
by pschaich
Mon Nov 27, 2006 8:28 am
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

Thanks lowjoel,

I could do that by manual coding but not inside the form designer.
I think i'll have to go that way.

Peter
by pschaich
Wed Nov 22, 2006 6:05 am
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

Here's the Code: (3 static texts and one button on a panel inside a flexgridsizer) void TestFrm::CreateGUIControls(void) { //Do not add custom code here //wxDev-C++ designer will remove them. //Add the custom code before or after the blocks ////GUI Items Creation Start WxPanel1 = new wxPanel(this, I...
by pschaich
Tue Nov 21, 2006 2:04 pm
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

Didn't work either.
by pschaich
Tue Nov 21, 2006 7:06 am
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

Didn't work - if the button has focus, the key event does not propagate.
I have to click somewher on the sizer so the button loses focus and the frame catches the event.

I would like to get the key event even when the button has focus.

Peter
by pschaich
Mon Nov 20, 2006 6:49 pm
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

Thanks,


I'll try that, but I thought regarding this question a sizer would accomplish the same.

Peter
by pschaich
Mon Nov 20, 2006 7:04 am
Forum: C++ Development
Topic: wxColour - Recording RGB
Replies: 3
Views: 1174

Just a little tip:

to make the conversion Colour <-> string easier, there are the functions

wxString GetAsString(long flags) const

and

bool Set(const wxString & str)

to get and set colours from one String

http://wiki.wxwidgets.org/docbrowse.cgi ... etasstring
by pschaich
Mon Nov 13, 2006 5:25 pm
Forum: wxDev-C++
Topic: make key events propagate to the frame
Replies: 10
Views: 2650

make key events propagate to the frame

Hi there, like many others I have the problem how to achieve the propagation of key events to the frame. Assume I have a frame with only Static Texts and two buttons designed in wxDevcpp (inside a sizer) and want to catch key events in the Dialog. As we all know they are not propagated to the Dialog...
by pschaich
Wed Mar 15, 2006 3:29 pm
Forum: wxDev-C++
Topic: wxString .ToDouble() becomes int....
Replies: 6
Views: 2028

Are you sure you don't mess with different decimal point symbols (e.g. comma and point)?

Try to enter your number both ways and see what happens...

Peter
by pschaich
Mon Feb 27, 2006 5:03 pm
Forum: C++ Development
Topic: wxGrid problem
Replies: 3
Views: 1252

Hi, I have the same Problem AND there is no special code. The Problem: There is a wxGrid in a dialog. If you are in Edit mode in a cell and made some changes and then Press OK, the assertion error appears: ...src/generic/grid(3208) ...invalid row or column index in wxGridStringTable ... Regards Pete...
by pschaich
Tue Dec 27, 2005 10:14 am
Forum: wxDev-C++
Topic: Problem with Array (pls. HELP)
Replies: 6
Views: 1879

Hi again,

I jaust saw that now it should be possible even easier (here in the forum):

WX_DEFINE_ARRAY_DOUBLE(double, ArrayOfDoubles);

ArrayOfDoubles TheArray
by pschaich
Tue Dec 27, 2005 10:11 am
Forum: wxDev-C++
Topic: Problem with Array (pls. HELP)
Replies: 6
Views: 1879

hm... maybe you should try to include
<wx/dynarray.h>

I think it should be in wx.h but I do not know how you handle the includes...

Peter