Search found 59 matches

by kea_
Tue Jul 08, 2008 8:09 am
Forum: General Development
Topic: Overwritting a function
Replies: 5
Views: 752

Hello Jorg, thank you for your answer. I think you gave me the answer. I like to do something that's not possible. Maybe I try to create an event that will be called from the first event. The reason why I don't like to do it in this way is that I don't like to do it in the way below: class cl1{ publ...
by kea_
Tue Jul 08, 2008 7:42 am
Forum: General Development
Topic: Overwritting a function
Replies: 5
Views: 752

Thanks for the answer...

I know about inheritance. I think in this case it's not meaningful. So you say it's not possible to do it in the way I like.

Greetings kea_
by kea_
Tue Jul 08, 2008 6:16 am
Forum: General Development
Topic: Overwritting a function
Replies: 5
Views: 752

Overwritting a function

Hello together, I like to have 2 classes in the first class I create the object class2 in that class I have an event and this function calls an other function that I like to overwrite from the first class. There will be a small example below. I'm not quiet sure wether it's possible to do this in thi...
by kea_
Wed May 21, 2008 8:11 am
Forum: C++ Development
Topic: Reading .dat file
Replies: 6
Views: 1541

Thank you for your answer,
I have attached a file for more information.
The file was with the Suunto Trainings Manager generated.
Now I export the file with the software from Suunto but I like to do it automaticaly.

Thanks
kea_
by kea_
Mon May 12, 2008 8:42 am
Forum: C++ Development
Topic: Reading .dat file
Replies: 6
Views: 1541

Thank you for your answer...
I don't know how they did it. But I will try the wxFileInputStream for reading this file.
They have an export in there software but then I have to do it for every file.

Greeting kea_
by kea_
Fri May 09, 2008 11:37 am
Forum: C++ Development
Topic: Reading .dat file
Replies: 6
Views: 1541

Reading .dat file

Hello together,

I try to read a .dat file. This file was created on a windows xp system.
I have searched in the internet for a solution but I couldn't find it.
Has any body a idea how I can read this data and save it as ascii file.

Thanks for your answer
kea_
by kea_
Fri Mar 14, 2008 6:51 am
Forum: C++ Development
Topic: wxGrid - wxBoxSizer, Scrollbar doesn't work
Replies: 7
Views: 1514

Hello fantaz,

I have copied your code. And I have this bad behavior.
But I found another solution for my problem.
I set the rownumber to 500 that's enough to bear down the behavior. And set the grid to invisible.

Thank you for your help.
Greetings kea_
by kea_
Thu Mar 13, 2008 10:37 am
Forum: C++ Development
Topic: wxGrid - wxBoxSizer, Scrollbar doesn't work
Replies: 7
Views: 1514

Hello fantaz,

set in your code the row number to 15.
Example: grid->CreateGrid(15, 5, wxGrid::wxGridSelectCells);

And then resize the frame. The scrollbars disappears.
And that's my problem.

Greetings kea_
by kea_
Thu Mar 13, 2008 8:35 am
Forum: C++ Development
Topic: wxGrid - wxBoxSizer, Scrollbar doesn't work
Replies: 7
Views: 1514

Thank for the help,
but unfortunately it was not the resolve.
I think it's a bug. If I resize a row or column then I get the scrollbars. But not when I resize the frame.

Greeting kea_
by kea_
Thu Mar 13, 2008 6:29 am
Forum: C++ Development
Topic: wxGrid - wxBoxSizer, Scrollbar doesn't work
Replies: 7
Views: 1514

wxGrid - wxBoxSizer, Scrollbar doesn't work

Hello together, I have created a simple application that just have a scrolledwindow and on this is a boxsizer with 2 wxstatictext components and a wxgrid in between of this two components. The problem is if I resize the window there will no scollbars appear. Has any body an idee how I can fix it? He...
by kea_
Tue Feb 26, 2008 7:58 am
Forum: C++ Development
Topic: wxClientDC and Lasso
Replies: 2
Views: 421

I've seen this example but I couldn't get it to work. But I've resolved my problem. This is my solution: wxMemoryDC memdc; wxBitmap bmp(iWidth, iHeight); m_memdc.SelectObject(bmp); m_memdc.SetBackground(wxColour("#ffffff")); m_memdc.Clear(); m_memdc.SetPen(wxColour("#000000")); m_memdc.SetBrush(*wxT...
by kea_
Mon Feb 25, 2008 6:47 am
Forum: C++ Development
Topic: wxClientDC and Lasso
Replies: 2
Views: 421

wxClientDC and Lasso

Hello together,

I'have written an application that draws something on the wxScrolledWindow now I like to select (lasso) a part of the drawing with a mouse event.
Is there an example of how I can do this? I have searched the web for a solution but didn't find anything.

Thanks a lot
kea_
by kea_
Wed Dec 12, 2007 2:29 pm
Forum: C++ Development
Topic: wxGrid RangeSelect
Replies: 2
Views: 628

:shock: Yes your right...
I have disabled the events and now it works. So I have to activate event for event to resolve where the bug was.

Thanks a lot...

Greetings kea_
by kea_
Wed Dec 12, 2007 7:37 am
Forum: C++ Development
Topic: wxGrid RangeSelect
Replies: 2
Views: 628

wxGrid RangeSelect

Hello together,

I have created a grid and like to select a range from
(col 2, row 2) to (col 2, row 4). But the range starts everytime at (col 0, row 0). Is there a posibility to change the start of range.

Please help me....

Thanks kea_