Search found 147 matches

by asadilan
Thu Feb 23, 2012 5:56 pm
Forum: C++ Development
Topic: wxFileDialog
Replies: 2
Views: 603

wxFileDialog

Hi All,

is there a way to restrict folder browsing in wxFiledialog?
i want user only be able to select a file in 1 directory only.

TIA
by asadilan
Thu Feb 23, 2012 5:11 pm
Forum: C++ Development
Topic: wxFileName
Replies: 4
Views: 1049

Re: wxFileName

that will give you the full path. in the format c:\dir1\dir2\file.ext.
not in ..\..\file.ext.
unless there is something i am missing..
by asadilan
Wed Feb 22, 2012 10:08 pm
Forum: C++ Development
Topic: wxFileName
Replies: 4
Views: 1049

wxFileName

Hi all,

i have got wxFileName x(filename).
i would like to get a string with the following format:
../../../x.txt.
is this possible?

i know there is a function called makerelativeto but how do i retrieve the filename in wxString in that format?

TIA
by asadilan
Fri Feb 17, 2012 12:31 am
Forum: C++ Development
Topic: TestDestroy()
Replies: 2
Views: 745

Re: TestDestroy()

nvm...
sorry for the noise.
by asadilan
Fri Feb 17, 2012 12:17 am
Forum: C++ Development
Topic: TestDestroy()
Replies: 2
Views: 745

TestDestroy()

Hi All,

What is the equivalent for TestDestroy for thread created using CreateThread??

TIA
by asadilan
Thu Feb 16, 2012 10:24 pm
Forum: C++ Development
Topic: wxstaticbox
Replies: 3
Views: 831

Re: wxstaticbox

make sense

Thanx
by asadilan
Wed Feb 15, 2012 10:16 pm
Forum: C++ Development
Topic: wxstaticbox
Replies: 3
Views: 831

wxstaticbox

Hi All,

Can wxStaticBox have its line change colour?
i would like to toggle between 2 colours.
i tried setbackgroundcolour and setforegroundcolour, but i dont see any change.

Clue?

TIA
by asadilan
Tue Feb 14, 2012 8:49 pm
Forum: wxCode
Topic: two colours in a curve - wxPlotCtrl
Replies: 1
Views: 1824

Re: two colours in a curve - wxPlotCtrl

i think the method is setpen or something.
you call it after you prep your data and is about to draw to the ctrl
by asadilan
Mon Feb 13, 2012 7:31 pm
Forum: C++ Development
Topic: Win32 console
Replies: 5
Views: 1575

Re: Win32 console

outputdebugstring
that will get you output in the output window, but this is for msvc.
by asadilan
Thu Feb 09, 2012 11:03 pm
Forum: C++ Development
Topic: file property
Replies: 1
Views: 465

file property

Hi All,

I would like to retrieve a file property in particular the version of the file.
I am using tortoise cvs.
is there such function with wxwidget or do i have to use windows function to get the file property


TIA
by asadilan
Thu Feb 09, 2012 4:21 pm
Forum: C++ Development
Topic: wxYield
Replies: 3
Views: 2459

Re: wxYield

Here is the question: Let me know if i am using wxYield appropriately void CCodeCoverage::DiscoverDependentFields() { wxMutex mutex; m_numberParsingThread = 0; wxBusyCursor busy; wxStopWatch sw; for (int i = 0;i<(int)mDataStruct.GetFileCount();i++) { if (m_numberParsingThread < 10)//10 seems to be r...
by asadilan
Wed Feb 08, 2012 11:16 pm
Forum: C++ Development
Topic: wxYield
Replies: 3
Views: 2459

wxYield

Anyone care to explain?
or provide a link??

TIA
by asadilan
Tue Feb 07, 2012 9:43 pm
Forum: C++ Development
Topic: how to add "are you sure?"
Replies: 4
Views: 1298

Re: how to add "are you sure?"

wxMessageDialog
wxMessageBox
by asadilan
Fri Feb 03, 2012 7:08 pm
Forum: C++ Development
Topic: wxUIActionSimulator
Replies: 1
Views: 662

wxUIActionSimulator

Hi All,

i am wondering if there is a feature that is already implemented or in the work, that is capable of recording your action towards a software and translate them to code to be used together with the action simulator.

TIA
by asadilan
Tue Jan 24, 2012 5:28 pm
Forum: C++ Development
Topic: GUI automation Test
Replies: 3
Views: 969

Re: GUI automation Test

Hi Catalin, i was reading the documentation on the wxUIActionSimulator. it seems testing is very location specific. button is at location(x,y), then click. does it mean that i have to create a different test for different screen resolution? Is there an alternative where i can just say move cursor to...