Search found 41 matches

by cavolaccimiei
Mon Oct 15, 2007 1:49 pm
Forum: C++ Development
Topic: How do I control sound volume?
Replies: 1
Views: 500

How do I control sound volume?

Hello, Im writing an audio application (for Win32)
but I do not have a clue about changing the volume (probably
I need to act at win32 level..... ).
Can someone help me?
Thank you!
by cavolaccimiei
Thu Oct 11, 2007 1:18 pm
Forum: C++ Development
Topic: Single instance, argv and windows context menu !
Replies: 6
Views: 1220

in fact, i was right.
I had to do it through IPC, as mentioned in another post.
The real code is really really simple, so, if you are reading this, go ahead and use IPC straight away!
by cavolaccimiei
Tue Oct 09, 2007 5:33 pm
Forum: C++ Development
Topic: Single instance, argv and windows context menu !
Replies: 6
Views: 1220

I'm having troubles implementing this... I really hope this works but i have some doubts because: the m_myApp var of mySingleInstance instance named m_checker is relative to the "original" instance of the program... i think there is no way to pass that var among processes... for that i'm afraid i'll...
by cavolaccimiei
Mon Oct 01, 2007 4:24 pm
Forum: C++ Development
Topic: How do I read the items on the SECOND column of wxListCtrl?
Replies: 2
Views: 426

Thank you very much.. this is exactly what I needed!
by cavolaccimiei
Mon Oct 01, 2007 10:48 am
Forum: C++ Development
Topic: How do I read the items on the SECOND column of wxListCtrl?
Replies: 2
Views: 426

How do I read the items on the SECOND column of wxListCtrl?

I have created this wxListCtrl: lc= new wxListCtrl(this,ID_TOOLSPANEL+45,wxDefaultPosition,wxSize(-1,-1),wxLC_REPORT |wxLC_HRULES |wxLC_VRULES |wxLC_EDIT_LABELS ); lc->InsertColumn(0,_("Property"),wxLIST_FORMAT_LEFT,96); lc->InsertColumn(1,_("Value"),wxLIST_FORMAT_LEFT,512); but I'm not able to retr...
by cavolaccimiei
Tue Aug 28, 2007 10:47 am
Forum: C++ Development
Topic: How do I change the line colour of a static box?
Replies: 1
Views: 362

How do I change the line colour of a static box?

How do I change the line colour of a static box?
thanks in advance
by cavolaccimiei
Fri Aug 24, 2007 9:12 am
Forum: C++ Development
Topic: How do I get the dimension of a wxAui Pane?
Replies: 1
Views: 344

How do I get the dimension of a wxAui Pane?

How do I get the dimension of a wxAui Pane?
Thanks in advance!
by cavolaccimiei
Thu Jul 05, 2007 3:48 pm
Forum: C++ Development
Topic: how to I convert a "unsigned long long" to a wxStr
Replies: 3
Views: 837

how to I convert a "unsigned long long" to a wxStr

How to I convert a "unsigned long long" number to a wxString?
by cavolaccimiei
Thu Jun 21, 2007 10:15 am
Forum: C++ Development
Topic: how do I detect the scrollable length of a wxSlider?
Replies: 2
Views: 473

how do I detect the scrollable length of a wxSlider?

hello, how do I detect the scrollable length of a wxSlider (I need to intercept a mouse event on it so that the thumb moves on the clicked position, therefore i strongly need to know the effective scrollable length). If I call wxSlider::GetSize() (or getClientSize) I obtain a dimension that is a lit...
by cavolaccimiei
Fri Jun 15, 2007 11:02 am
Forum: C++ Development
Topic: decent wxPrintPreview?
Replies: 0
Views: 248

decent wxPrintPreview?

Is there a way to make a better "Print Preview" dialog? I find
wxPrintPreview lacking of some basic options (like "Page Setup").. is there an easy way to extend its functionalities?
Thanks in advance
by cavolaccimiei
Fri Jun 01, 2007 12:09 pm
Forum: C++ Development
Topic: How do I change dimension of sheet in preview printer mode?
Replies: 0
Views: 202

How do I change dimension of sheet in preview printer mode?

In my application I use the wxPrintout framework; I also use the wxPreviewFrame dialog to show the preview, but some info on this dialog should change according to some parameters that user has previoulsy set with "setup page", I wonder: how do i change some parameters like the dimensions of the pre...
by cavolaccimiei
Fri Jun 01, 2007 9:45 am
Forum: C++ Development
Topic: How do I detect the "landscape-portrait" from wxPr
Replies: 1
Views: 409

How do I detect the "landscape-portrait" from wxPr

Hello,
in the process of printing using the wxPrintout framework,
I have the option to set the "landscape" or "portrait" check in the setup-page dialog. But I do I actually Get() those information from the
wxPageSetupDialogData??
by cavolaccimiei
Mon May 14, 2007 10:07 am
Forum: C++ Development
Topic: AddPendingEvent generates error
Replies: 0
Views: 253

AddPendingEvent generates error

Hello,
i call AddPendingEvent(...) in a secondary thread and sometimes (especially when I call the AddPendingEvent many times), I get an error:

wxLogLastError(wxT("PostMessage(WM_NULL)"));
The error is catched inside app.cpp precisely at wxApp::WakeUpIdle()


What does this mean?
by cavolaccimiei
Wed May 09, 2007 9:59 am
Forum: C++ Development
Topic: How do I wxLogError in non-main Threads?
Replies: 1
Views: 462

How do I wxLogError in non-main Threads?

I have a parallel secondary thread in my application that intensivaly use the wxLog functions, the main thread use those functions too, but tha application freezes (deadlock) when i call a wxlogerror from the secondary thread.. Any idea?
thank you very much!
by cavolaccimiei
Fri May 04, 2007 8:52 am
Forum: C++ Development
Topic: How to properly communicate betweene threads using events?
Replies: 3
Views: 627

How to properly communicate betweene threads using events?

hi there how do I send an event from one thread to another? I noticed that when thread A sends an event to thread B the event handler get executed in thread A instead of B... Basically, I have a second thread that must send user-defined events to the main thread, I use: EVT(wxID_ANY, OnMyEventHandle...