c# - WndProc method(windows messaging) not getting data while mimimize my application -


i overriding method wndproc in c# getting data ,sent vb.net application. receiving data problem when minimize application not able receive data, when again maximize application works fine. (issue threading pause/start)

i have searched solutions.some says set property 'showintaskbar=false'. says problem of handler handle not created.

but didn't find better solution.

do have idea short out problem.

following c# code :

[dllimport("user32.dll", charset = charset.auto)] static extern int sendmessage(intptr hwnd, int msg, int wparam, int lparam); protected override void wndproc(ref message m) { switch (m.msg) {     case 0x401:         if(x==0)             buildstring.receivedstring(m.lparam);         break;      default:         base.wndproc(ref m);         break; } } 


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -