Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reading from Serial Port to a struct Pin
led mike11-Oct-06 6:12
led mike11-Oct-06 6:12 
GeneralRe: Reading from Serial Port to a struct Pin
NYTSX11-Oct-06 8:41
NYTSX11-Oct-06 8:41 
QuestionSending data Pin
The underdog11-Oct-06 2:43
The underdog11-Oct-06 2:43 
AnswerRe: Sending data Pin
User 665811-Oct-06 3:48
User 665811-Oct-06 3:48 
Questionascii 128-255 characters Pin
faladrim11-Oct-06 2:19
faladrim11-Oct-06 2:19 
AnswerRe: ascii 128-255 characters Pin
Bekjong11-Oct-06 4:55
Bekjong11-Oct-06 4:55 
QuestionMDI parent child interaction Pin
tim_gunning11-Oct-06 2:01
tim_gunning11-Oct-06 2:01 
AnswerRe: MDI parent child interaction Pin
mikone11-Oct-06 4:04
mikone11-Oct-06 4:04 
sometimes (especially when you have a high cpu load) the controls do not invalidate (redraw, whatever Wink | ;) ) though you change some of their values. In this case, you will have to use "System.Windows.Forms.Application.DoEvents()" - this static method allows you to let your application do all of the stuff in the queue.

I guess this won't be a solution for your problem because the interval between popping up a messagebox and clicking its "ok" button is enough time to get its events done...

try to add this statement first - if it does not work add a label1.Invalidate() which causes the label to redraw itself and all its child controls. (you also could invalidate the whole form to make sure everythings updated).

I guess this will help but i'm not sure at all.

Good luck,
mik
GeneralRe: MDI parent child interaction Pin
tim_gunning11-Oct-06 7:35
tim_gunning11-Oct-06 7:35 
GeneralRe: MDI parent child interaction Pin
mikone11-Oct-06 7:42
mikone11-Oct-06 7:42 
GeneralRe: MDI parent child interaction Pin
tim_gunning11-Oct-06 7:46
tim_gunning11-Oct-06 7:46 
QuestionNoob question regarding creating notepad Pin
Irfan Faruki11-Oct-06 1:56
Irfan Faruki11-Oct-06 1:56 
AnswerRe: Noob question regarding creating notepad Pin
Andrei Ungureanu11-Oct-06 3:02
Andrei Ungureanu11-Oct-06 3:02 
GeneralRe: Noob question regarding creating notepad Pin
Irfan Faruki11-Oct-06 4:47
Irfan Faruki11-Oct-06 4:47 
QuestionHow do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 0:54
dy1311-Oct-06 0:54 
AnswerRe: How do I "embed" text into an image? Like what msn emoticon does Pin
eggsovereasy11-Oct-06 4:02
eggsovereasy11-Oct-06 4:02 
GeneralRe: How do I "embed" text into an image? Like what msn emoticon does Pin
dy1311-Oct-06 17:36
dy1311-Oct-06 17:36 
Questionpropertygrid validation of a field Pin
praveenqwe11-Oct-06 0:43
praveenqwe11-Oct-06 0:43 
AnswerRe: propertygrid validation of a field Pin
visualhint11-Oct-06 6:04
visualhint11-Oct-06 6:04 
Questionserial port Pin
dhanaid10-Oct-06 23:52
dhanaid10-Oct-06 23:52 
QuestionPopulate Table from excel sheet ? Pin
Gammaza10-Oct-06 23:15
Gammaza10-Oct-06 23:15 
AnswerRe: Populate Table from excel sheet ? Pin
mikone11-Oct-06 3:41
mikone11-Oct-06 3:41 
GeneralRe: Populate Table from excel sheet ? Pin
Gammaza11-Oct-06 20:43
Gammaza11-Oct-06 20:43 
Questionget clicked link Pin
m_mor10-Oct-06 23:00
m_mor10-Oct-06 23:00 
AnswerRe: get clicked link Pin
Niiiissssshhhhhuuuuu11-Oct-06 1:45
Niiiissssshhhhhuuuuu11-Oct-06 1:45 

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.