Search found 207 matches

by spectrum
Fri Oct 02, 2009 1:47 pm
Forum: C++ Development
Topic: bringing a wxApp to front
Replies: 0
Views: 389

bringing a wxApp to front

Hello All, i am stucked in a strange problem, hope someone can help me on this: I need to do the following: 1)launching my wxApp, i look for other running instances of the same application, 2) if found, then a message box pop up and advise about another instance is running 3) (here is the problem) i...
by spectrum
Wed Jul 22, 2009 1:01 pm
Forum: C++ Development
Topic: access wxStaticText object created in a different class
Replies: 2
Views: 360

hello jbird, since all the childs controls have mainframe as parent, you should be able to use wxWidgets event system. Study on http://docs.wxwidgets.org/2.8/wx_eventhandlingoverview.html#eventhandlingoverview Another way is to use wxEvtHandler::Connect, and connect the spin event to a mainframe met...
by spectrum
Wed Jul 22, 2009 12:53 pm
Forum: C++ Development
Topic: first program
Replies: 10
Views: 1194

hello,

i would try to create the controls adding wxTAB_TRAVERSAL style.

regards
by spectrum
Thu Jul 16, 2009 1:32 pm
Forum: C++ Development
Topic: vista wxMkdir
Replies: 3
Views: 681

many thanks !
by spectrum
Tue Jul 07, 2009 9:54 am
Forum: C++ Development
Topic: vista wxMkdir
Replies: 3
Views: 681

vista wxMkdir

hello all, i need some help with a probaly classic rights/security Vista issue. I designed my application that in case of some events, i write some messages in a log.txt (i create the folder/file if it not exist). I decided to create it in the application path: C:\Program Files\MyApp\bin\archive\log...
by spectrum
Fri Jun 26, 2009 5:39 pm
Forum: C++ Development
Topic: wxPlot plplot
Replies: 1
Views: 941

1) is your precompiled library really in the library path at linking time ?
2) the precompiled library could not match your program binary.
I would download the sources and recompiling them in VC++ ide.

greetings
by spectrum
Fri Jun 26, 2009 3:31 pm
Forum: C++ Development
Topic: wxSkin trasparency question
Replies: 0
Views: 305

wxSkin trasparency question

hi All,

i have a little question, some bitmap used in the wxSkinRadioButton are displaying bad on the shape limit or corners, seems with some alpha transparency problem, or also displaying "black" pixels.

I am actually working on windows 2003.

every suggestion is appreciated.

greetings,
by spectrum
Fri Jun 26, 2009 2:06 pm
Forum: C++ Development
Topic: wxDataViewListCtrl selected item color.
Replies: 0
Views: 315

wxDataViewListCtrl selected item color.

Hello all,

is there any chance to modify the background color of the selected item ?
If it is only "style" related, can i change some style information on the fly ?

Greetings
by spectrum
Fri Jun 26, 2009 2:05 pm
Forum: C++ Development
Topic: wxListCtrl ImageList
Replies: 1
Views: 769

Hi miclus, maybe is a style issue, just try to set only the "report" style, or combining it with the "small icon" style. If all you attempts fail, i used wx 2.9.0 (2.8 was someway uncomplete) wxDataViewListCtrl with custom render for this. http://docs.wxwidgets.org/trun/classwx_data_view_list_ctrl.h...
by spectrum
Thu Jun 18, 2009 6:29 am
Forum: C++ Development
Topic: wxSplashScreen text
Replies: 3
Views: 1482

many thanks !
by spectrum
Wed Jun 17, 2009 2:07 pm
Forum: C++ Development
Topic: wxSplashScreen text
Replies: 3
Views: 1482

wxSplashScreen text

hi all, i am looking for some help to get working what i think should be intended as a very common problem: In a splash screen, often, the version string for the software version need to be showed. So i tried a wxStaticText, but i cannot get the trasparent background, so i tried to connect OnPaint, ...
by spectrum
Tue Apr 21, 2009 7:11 am
Forum: C++ Development
Topic: Mouse Event question
Replies: 7
Views: 1016

Hi Clutch

I would take a look to the wxMouseEvent, in particular

EVT_ENTER_WINDOW(func)
EVT_LEAVE_WINDOW(func)

greetings
by spectrum
Thu Apr 16, 2009 3:54 pm
Forum: C++ Development
Topic: Plugin Development
Replies: 5
Views: 1042

hello Tech-Muc

i would try a wxDll, take a look here.

http://wiki.wxwidgets.org/Creating_A_DL ... pplication

There is also a kinf of wxPlugin under development, but i don't know the state.

greetings,
spectrum
by spectrum
Thu Apr 16, 2009 3:47 pm
Forum: C++ Development
Topic: Testing connection of a device
Replies: 3
Views: 925

hi dudero,

you can try wxCTB

http://wxcode.sourceforge.net/showcomp.php?name=wxCtb

there is a wxSerialPort object included, should be portable.

Otherwise, i will easily write my own ComPort object, with some #ifdefs.

greetings,
spectrum
by spectrum
Thu Apr 16, 2009 11:48 am
Forum: C++ Development
Topic: wxApp restart
Replies: 1
Views: 614

wxApp restart

Hi all, need a suggestion about the best way to restart an application. I am trying Hide(); wxTheApp->GetTopWindow()->Hide(); wxProcess::Open (Process::get().GetBinaryPath() + "/cc.exe"); wxTheApp->GetTopWindow()->Close(); but seems the new restarted app crash as soon as is started. thanks, spectrum