problem on show messagebox on ON_EN_CHANGE of edit control.
-
hi all, I am count the editbox character on ON_EN_CHANGE of edit control, when count is 50 show a message box, its works fine when I type in edit box, but the problem arise,when I paste the content in editbox and the count is 50,now the messagebox is popup but at this time COPY, PASTE function not working in whole system. please help me what can I do? thank in advance.
-
hi all, I am count the editbox character on ON_EN_CHANGE of edit control, when count is 50 show a message box, its works fine when I type in edit box, but the problem arise,when I paste the content in editbox and the count is 50,now the messagebox is popup but at this time COPY, PASTE function not working in whole system. please help me what can I do? thank in advance.
Le@rner wrote:
the messagebox is popup but at this time COPY, PASTE function not working in whole system.
What exactly does that mean? It's unlikely that showing a message box could disable these functions unless your code is doing something illegal.
Use the best guess
-
hi all, I am count the editbox character on ON_EN_CHANGE of edit control, when count is 50 show a message box, its works fine when I type in edit box, but the problem arise,when I paste the content in editbox and the count is 50,now the messagebox is popup but at this time COPY, PASTE function not working in whole system. please help me what can I do? thank in advance.
1 Is the problem present, if message box is still opened? 2 Or Is the problem present even after closing message box? If 1 is true and 2 not, I think that you have blocked system clipboard with your message box. You opened modal dialog (msgbox) during OnPaste msg and it cannot finish it's work untill messagebox is closed. If it cannot finish it's work, the system clipboard cannot be released. If clipboard is not released, the ctrl+c, ctrl+v doesn't work in whole system.
-
1 Is the problem present, if message box is still opened? 2 Or Is the problem present even after closing message box? If 1 is true and 2 not, I think that you have blocked system clipboard with your message box. You opened modal dialog (msgbox) during OnPaste msg and it cannot finish it's work untill messagebox is closed. If it cannot finish it's work, the system clipboard cannot be released. If clipboard is not released, the ctrl+c, ctrl+v doesn't work in whole system.