Search found 79 matches

by Raghu
Sat Dec 03, 2005 4:52 am
Forum: C++ Development
Topic: delay in stopping sound
Replies: 3
Views: 847

This is how I'm doing


wxSound *TrySound;
TrySound = new wxSound("ringout.wav",false);

if(TrySound->IsOk() == true)
{
TrySound->Play(wxSOUND_ASYNC | wxSOUND_LOOP);
}

TrySound -> Stop();
by Raghu
Fri Dec 02, 2005 2:28 pm
Forum: C++ Development
Topic: Problem updating TextBox
Replies: 0
Views: 351

Problem updating TextBox

I'm updating the text box like the code given below wxString Status; wxTextCtrl *TextStatusIndicator; Status.Printf("Calling %s\n ...",(uint8*)ToUri.fn_str()); TextStatusIndicator->SetValue(Status); I'm working on linux and this piece of code hangs when I execute. Is the code correct, If wrong pleas...
by Raghu
Fri Dec 02, 2005 5:06 am
Forum: C++ Development
Topic: delay in stopping sound
Replies: 3
Views: 847

delay in stopping sound

On pressing a button I'm playing the sound asynchronously with loop flag and on pressing other button I'm stopping the sound. But there is delay of 2-3 sec when I press the second button. Can I do it without the delay. Is the delay dependent on the file size. What could I do best to reduce the delay?
by Raghu
Thu Dec 01, 2005 12:42 pm
Forum: C++ Development
Topic: Problem handling sound
Replies: 4
Views: 866

I'm able to implement the wxSound properly now. On pressing a button I'm playing the sound asynchronously with loop flag and on pressing other button I'm stopping the sound. But there is delay of 2-3 sec when I press the second button. Can I do it without the delay. Is the delay dependent on the fil...
by Raghu
Thu Dec 01, 2005 8:45 am
Forum: C++ Development
Topic: Problem handling sound
Replies: 4
Views: 866

That was TrySound and not RingSound, that was typing mistake. I'm playing and stopping in different modules. I just wanted to give u how I'm dealing wxSound. IsPlaying() is only supported in Linux. I'm developing a platform independent application,So I can't use IsPlaying() in windows. Will that giv...
by Raghu
Thu Dec 01, 2005 7:18 am
Forum: C++ Development
Topic: Problem handling sound
Replies: 4
Views: 866

Problem handling sound

This is the piece of code I had used to playout sound, but Its behaving awkwardly. Sometimes the application hangs and sometimes the sound goes in loop and hangs. It seems to work properly in windows but giving problem in linux. Can someone put some thought to it. wxSound *TrySound; TrySound = new w...
by Raghu
Tue Nov 29, 2005 9:37 am
Forum: Component Writing
Topic: Linking "C" static library with wxWidgets program
Replies: 2
Views: 1019

Linking "C" static library with wxWidgets program

Continuing with the previous discussion we had before, I'm linking a "C" static library with the wxWidgets program. In wxWidgets program I make use of functions in the static library. That works fine, but the function in the static library make use of functions in the wxWidgets program, which is giv...
by Raghu
Fri Nov 18, 2005 10:12 am
Forum: C++ Development
Topic: Setshape doesn't seems to work in linux
Replies: 1
Views: 484

Setshape doesn't seems to work in linux

I created a frame and gave it rounded rectangular shape using SetShape(). It worked fine for windows. But It doesn't seems to work on linux. Actual window frame(boundary) is still visible in linux. Is there any other way?
by Raghu
Thu Nov 17, 2005 10:03 am
Forum: C++ Development
Topic: Rounded rectangular button
Replies: 4
Views: 1092

Rounded rectangular button

How to make the rectangular button look like rounded rectangular?
by Raghu
Thu Nov 17, 2005 7:02 am
Forum: C++ Development
Topic: How to change the size of the text on Button or Label?
Replies: 2
Views: 612

How to change the size of the text on Button or Label?

Can somebody explain me, how to change the size of the text on a button created using wxButton and label created using wxStaticText.
by Raghu
Wed Nov 16, 2005 5:19 am
Forum: C++ Development
Topic: how to move a frame
Replies: 3
Views: 723

Actually I wanted to use skin, something which is supported in Java.But I was disappointed not to find any such thing like wxSkin. It would be very useful if skin is supported under wxWidgets.
by Raghu
Tue Nov 15, 2005 9:12 am
Forum: C++ Development
Topic: how to move a frame
Replies: 3
Views: 723

how to move a frame

I developed a frame, and set circular shape to it using SetShape(). Now I'm not able to move the frame. How could I make the frame movable.
by Raghu
Mon Nov 14, 2005 6:28 am
Forum: C++ Development
Topic: Changing frame shape
Replies: 3
Views: 890

Changing frame shape

How could I change the shape of the window frame. Window frame by default would be rectangular, how could I make it circular or oval.
SetShape() can be used to give polygon shape, but not useful in creating circular shape. Can somebody help me out?

Thank u
by Raghu
Fri Nov 04, 2005 9:36 am
Forum: Compiler / Linking / IDE Related
Topic: linking problem
Replies: 1
Views: 895

linking problem

I'm using Chinook IDE for the development. I'm facing problem linking wxwidgets program with static library in linux I had created a library libstack.a, I had included the header files in the current project itself and placed libstack.a in standard directory $CDS\library\gcc\wxwidgets\lib. I had mad...
by Raghu
Thu Nov 03, 2005 12:18 pm
Forum: Compiler / Linking / IDE Related
Topic: linking problem with chinook IDE
Replies: 1
Views: 1042

linking problem with chinook IDE

I'm facing problem linking wxwidgets program with static library in linux I had created a library libstack.a, I had included the header files in the current project itself and placed libstack.a in standard directory $CDS\library\gcc\wxwidgets\lib. I had made the changes in build. I had specified the...