another problem i couldn't figure out myself:
I have limited my application to one instance. So i call SetForegroundWindow() upon other in InitInstance() of the application when there is already an instance of the same application running.
This works fine most of the time. But sometimes it only shows the title bar(incl. OK-button) of the application with the caption 'ms_sqlce_se_notification'.
Then i have to manually activate it within the list of running programs.
Could it be a notification i don't handle? Or what could be the reason for such a behaviour?
I've already searched the web for it and found almost no resource for this issue. So it would be lovely if someone already solved this problem and could tell me the solution.
Kind regards,
AndreSometimes also 'Default Ime' instead of 'ms_sqlce_se_notification' is displayed as caption on reopening.
So far i have found out that there are often hidden 'system windows' in pda applications on the same level than the main application windows. And that the function FindWindow(..) sometimes find one of the hidden windows first instead of the main applications window. Is that correct?
Greetings,
Andre
|||
Yes you are right. ms_sqlce_se_notification is a hidden system window for use in SQL CE.
Thanks,
Laxmi
|||So, comming back to the original question: How do i by-pass this issue?Regards,
Andre
No comments:
Post a Comment