Click here to Skip to main content
15,915,163 members
Home / Discussions / C#
   

C#

 
AnswerRe: is that possible to add mp3 to projects !!! PinPopular
OriginalGriff18-Oct-11 22:48
mveOriginalGriff18-Oct-11 22:48 
GeneralRe: is that possible to add mp3 to projects !!! Pin
X9X20-Oct-11 2:10
X9X20-Oct-11 2:10 
GeneralRe: is that possible to add mp3 to projects !!! Pin
OriginalGriff20-Oct-11 2:28
mveOriginalGriff20-Oct-11 2:28 
AnswerRe: is that possible to add mp3 to projects !!! Pin
Richard MacCutchan18-Oct-11 22:50
mveRichard MacCutchan18-Oct-11 22:50 
GeneralRe: is that possible to add mp3 to projects !!! Pin
Pascal Ganaye19-Oct-11 5:05
Pascal Ganaye19-Oct-11 5:05 
GeneralRe: is that possible to add mp3 to projects !!! Pin
Richard MacCutchan19-Oct-11 5:36
mveRichard MacCutchan19-Oct-11 5:36 
AnswerRe: is that possible to add mp3 to projects !!! Pin
JP_Rocks20-Oct-11 3:23
JP_Rocks20-Oct-11 3:23 
QuestionUsing Invoke to Manipulate the UI Pin
Richard Andrew x6418-Oct-11 19:40
professionalRichard Andrew x6418-Oct-11 19:40 
When my background thread calls the following code,

C#
public void Func(object Request, object Response)
{
    if (this.InvokeRequired)
    {
        this.Invoke(new ResponseHandlerDelegate(ResponseHandler), new object[] { Request, Response });
        return;
    }

    // Do stuff with the UI
    //
}


does the background thread get blocked at the Invoke call until the UI thread completes the function call?



The difficult we do right away...
...the impossible takes slightly longer.

AnswerRe: Using Invoke to Manipulate the UI Pin
lukeer18-Oct-11 20:30
lukeer18-Oct-11 20:30 
GeneralRe: Using Invoke to Manipulate the UI Pin
Richard Andrew x6418-Oct-11 20:35
professionalRichard Andrew x6418-Oct-11 20:35 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon18-Oct-11 21:46
mvePete O'Hanlon18-Oct-11 21:46 
GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova18-Oct-11 22:36
BobJanova18-Oct-11 22:36 
GeneralRe: Using Invoke to Manipulate the UI Pin
Reiss18-Oct-11 22:57
professionalReiss18-Oct-11 22:57 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pascal Ganaye19-Oct-11 2:06
Pascal Ganaye19-Oct-11 2:06 
GeneralRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 4:21
sitebuilderLuc Pattyn19-Oct-11 4:21 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pascal Ganaye19-Oct-11 4:57
Pascal Ganaye19-Oct-11 4:57 
GeneralRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 6:03
sitebuilderLuc Pattyn19-Oct-11 6:03 
GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova19-Oct-11 2:33
BobJanova19-Oct-11 2:33 
GeneralRe: Using Invoke to Manipulate the UI Pin
Bernhard Hiller19-Oct-11 3:55
Bernhard Hiller19-Oct-11 3:55 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon18-Oct-11 22:59
mvePete O'Hanlon18-Oct-11 22:59 
GeneralRe: Using Invoke to Manipulate the UI Pin
Richard Andrew x6419-Oct-11 0:26
professionalRichard Andrew x6419-Oct-11 0:26 
GeneralRe: Using Invoke to Manipulate the UI Pin
Pete O'Hanlon19-Oct-11 0:36
mvePete O'Hanlon19-Oct-11 0:36 
GeneralRe: Using Invoke to Manipulate the UI Pin
BobJanova19-Oct-11 2:38
BobJanova19-Oct-11 2:38 
GeneralRe: Using Invoke to Manipulate the UI Pin
Dave Kreskowiak19-Oct-11 5:07
mveDave Kreskowiak19-Oct-11 5:07 
AnswerRe: Using Invoke to Manipulate the UI Pin
Luc Pattyn19-Oct-11 1:53
sitebuilderLuc Pattyn19-Oct-11 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.