Search found 59 matches

by kea_
Fri May 15, 2009 5:54 pm
Forum: C++ Development
Topic: wxGrid::SetScrollLineX doesn't work.
Replies: 2
Views: 621

wxGrid::SetScrollLineX doesn't work.

Hello together, I don't know what I'm doing wrong. I use a wxGrid component and like to scroll automatically with the SetScrollLineX but the function doesn't work. Do I have to set before something? Or do I have to use the wxScrolledWindow::Scroll(x, y) function but I think then I have to override t...
by kea_
Thu Jan 29, 2009 1:47 pm
Forum: Component Writing
Topic: SubScroll, difference on scrolling
Replies: 1
Views: 1153

Problem solved.
by kea_
Thu Jan 29, 2009 6:30 am
Forum: Component Writing
Topic: SubScroll, difference on scrolling
Replies: 1
Views: 1153

SubScroll, difference on scrolling

Hello together, I'm try to write a component like a grid. But width my own design an less functions. So I created a class column, table and a sheet. In the sheet I create the column and table. If I scroll the table the column will be repainted (scrolled) very well. But if I resize the sheet the grid...
by kea_
Tue Jan 13, 2009 2:36 pm
Forum: C++ Development
Topic: csProcess OnTerminate doesn't work
Replies: 0
Views: 254

csProcess OnTerminate doesn't work

Hello together, I like to execute vbScripts and .exe file. If one of this process is killed from anybody I would like to know for sending a message or something like that. I can start the process but if I kill the process the OnTerminate event don't work. This is the source: --- main.cpp --- #includ...
by kea_
Thu Dec 18, 2008 5:30 am
Forum: Component Writing
Topic: Fire an event
Replies: 5
Views: 2287

Hi tan,

thank you for your great help.
Now it works. It's strange that it worked width static libs.

Thank you very much.

kea_
by kea_
Wed Dec 17, 2008 2:31 pm
Forum: Component Writing
Topic: Fire an event
Replies: 5
Views: 2287

Thank you for the answer,

but unfortunately it does the same.
For me it's strange that it works on the release width static libs and it doesn't work width the dll libs.

It must be something there.

Tanks for the answer
kea_
by kea_
Wed Dec 17, 2008 10:31 am
Forum: Component Writing
Topic: Fire an event
Replies: 5
Views: 2287

Fire an event

Hello together, not quit sure if it's a widget or a linking problem. I like to create my own button if I compile it width release (static libs) mode it works but it doesn't work width debug (shared libs) mode. I get this error: -------------- Build: Debug in MyCustomEvent --------------- Linking exe...
by kea_
Thu Dec 11, 2008 9:15 pm
Forum: C++ Development
Topic: Can't get wxExecute wxEXEC_SYNC to work.
Replies: 5
Views: 1130

Hello framepointer, I've got my solution. See the code below it does exactly what I like: void csExec::DoExecute(Execute exec){ if(exec.bSync){ wxProcess *process = new wxProcess(wxPROCESS_REDIRECT); long pid = wxExecute(exec.sExecute, wxEXEC_ASYNC, process); process->Redirect(); if(process){ wxInpu...
by kea_
Thu Dec 11, 2008 11:16 am
Forum: C++ Development
Topic: Can't get wxExecute wxEXEC_SYNC to work.
Replies: 5
Views: 1130

Hello framepointer, for me it looks like a b... or it does not work. See the screenshot. I have the scripts in this way started an checked it width the procexp: int code1 = wxExecute("CScript.exe D:/my_projects/cpp/Exec/App1.vbs", wxEXEC_SYNC); int code2 = wxExecute("CScript.exe D:/my_projects/cpp/E...
by kea_
Thu Dec 11, 2008 11:11 am
Forum: C++ Development
Topic: Can't get wxExecute wxEXEC_SYNC to work.
Replies: 5
Views: 1130

Hello framepointer, for me it looks like a b... or it does not work. See the screenshot. I have the scripts in this way started an checked it width the procexp: int code1 = wxExecute("CScript.exe D:/my_projects/cpp/Exec/App1.vbs", wxEXEC_SYNC); int code2 = wxExecute("CScript.exe D:/my_projects/cpp/E...
by kea_
Wed Dec 10, 2008 8:23 am
Forum: C++ Development
Topic: Can't get wxExecute wxEXEC_SYNC to work.
Replies: 5
Views: 1130

Can't get wxExecute wxEXEC_SYNC to work.

Hello together, I'm working on a program to start executables. In my example 3 VBScripts. The scripts just count to 20. If I call the scripts like this: int code1 = wxExecute("CScript.exe D:/my_projects/cpp/Exec/App1.vbs", wxEXEC_SYNC); int code2 = wxExecute("CScript.exe D:/my_projects/cpp/Exec/App2...
by kea_
Wed Nov 05, 2008 6:59 am
Forum: C++ Development
Topic: wxRichTextCtrl Key Event
Replies: 2
Views: 589

Sorry for my late response. I had a lot to do.


I did the resolve in another way.

Thank your for your answer.
kea_
by kea_
Thu Oct 30, 2008 2:02 pm
Forum: C++ Development
Topic: wxRichTextCtrl Key Event
Replies: 2
Views: 589

wxRichTextCtrl Key Event

Hello together, I am using a wxRichTextCtrl in my application. Everything works fine. I like to do the undo width the ctrl + Z keys. But I can't get it to work. I tryed to do it width EVT_RICHTEXT_CHARACTER and then catch the wxRichTextEvent::GetFlags() but it will not work. Has anybody an idea? Hav...
by kea_
Thu Oct 23, 2008 6:05 am
Forum: C++ Development
Topic: wxRichTextHTMLHandler calls an error on first time
Replies: 0
Views: 396

wxRichTextHTMLHandler calls an error on first time

Hello to all, the first time I call the function below I get an error like: 'failed in GetFaceName()' but just the first time of this call after that it works fine. Does anybody have a hint? wxString csFileSystem::LoadFile(wxString sFile, wxHtmlWindow *htmlwindow){ sFile = m_sFolder + "/" + sFile + ...
by kea_
Tue Oct 21, 2008 11:50 am
Forum: C++ Development
Topic: wxRichTextCtrl SaveFile as xml
Replies: 3
Views: 697

Ok,
it works...

Thank you very much for your great help.

kea_