Click here to Skip to main content
15,918,471 members
Home / Discussions / C#
   

C#

 
Questionerror Exception from HRESULT: 0x80040218 Pin
canhoi12-May-10 3:10
canhoi12-May-10 3:10 
AnswerRe: error Exception from HRESULT: 0x80040218 Pin
William Winner12-May-10 6:07
William Winner12-May-10 6:07 
JokeRe: error Exception from HRESULT: 0x80040218 Pin
Michel Godfroid12-May-10 9:56
Michel Godfroid12-May-10 9:56 
AnswerRe: error Exception from HRESULT: 0x80040218 Pin
canhoi12-May-10 16:56
canhoi12-May-10 16:56 
QuestionMessage Removed Pin
12-May-10 1:18
Jordy "Kaiwa" Ruiter12-May-10 1:18 
AnswerRe: So, what now? Pin
Pete O'Hanlon12-May-10 1:33
mvePete O'Hanlon12-May-10 1:33 
GeneralRe: So, what now? Pin
Jordy "Kaiwa" Ruiter12-May-10 1:47
Jordy "Kaiwa" Ruiter12-May-10 1:47 
GeneralRe: So, what now? Pin
Not Active12-May-10 7:29
mentorNot Active12-May-10 7:29 
GeneralRe: So, what now? Pin
Jordy "Kaiwa" Ruiter12-May-10 10:29
Jordy "Kaiwa" Ruiter12-May-10 10:29 
QuestionSOAP request/response messages in WCF Pin
Gktony12-May-10 1:02
Gktony12-May-10 1:02 
AnswerRe: SOAP request/response messages in WCF Pin
Abhinav S12-May-10 1:08
Abhinav S12-May-10 1:08 
Questionaccessing events Pin
i gr812-May-10 0:49
i gr812-May-10 0:49 
AnswerRe: accessing events Pin
OriginalGriff12-May-10 1:24
mveOriginalGriff12-May-10 1:24 
GeneralRe: accessing events Pin
Luc Pattyn12-May-10 1:52
sitebuilderLuc Pattyn12-May-10 1:52 
GeneralRe: accessing events Pin
OriginalGriff12-May-10 1:56
mveOriginalGriff12-May-10 1:56 
QuestionHow to disable event handler from its execution Pin
sandeepkavade12-May-10 0:27
sandeepkavade12-May-10 0:27 
AnswerRe: How to disable event handler from its execution Pin
Peace ON12-May-10 0:33
Peace ON12-May-10 0:33 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 0:50
sandeepkavade12-May-10 0:50 
AnswerRe: How to disable event handler from its execution Pin
PIEBALDconsult12-May-10 2:51
mvePIEBALDconsult12-May-10 2:51 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 3:00
sandeepkavade12-May-10 3:00 
GeneralRe: How to disable event handler from its execution Pin
PIEBALDconsult12-May-10 3:03
mvePIEBALDconsult12-May-10 3:03 
GeneralRe: How to disable event handler from its execution Pin
sandeepkavade12-May-10 3:11
sandeepkavade12-May-10 3:11 
AnswerRe: How to disable event handler from its execution Pin
Luc Pattyn12-May-10 3:51
sitebuilderLuc Pattyn12-May-10 3:51 
GeneralRe: How to disable event handler from its execution Pin
dybs12-May-10 18:09
dybs12-May-10 18:09 
Luc Pattyn wrote:
Those Enabled changes will take effect only after your handler finishes


Does this only apply to the Enabled property of controls, or others as well, and why wait until the handler completes? I've been seeing a different behavior for something like the ComobBox.SelectedIndex property. I have an app that, when you click a button, sets some ComboBox selections, does some processing, and maybe changes the ComboBox selection again (to indicate to the user that something is actually going on). This is all happenning in a function called by my button handler on the GUI thread, and I see the ComboBox values update while it runs.

Yes, I know the fact that such a long procedure occurs in the click handler isn't the best solution (it was fine with the original program design, but we're in the process of moving this all out to a separate thread).

Thanks,

Dybs
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen

GeneralRe: How to disable event handler from its execution Pin
Luc Pattyn13-May-10 3:11
sitebuilderLuc Pattyn13-May-10 3:11 

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.