In the space of 1 day I’ve had two different customers approach me about a problem they have with Windows Mobile in use in a Line of Business environment. Essentially they want to stop the ‘Cannot Connect’ notification/bubble. The problem is that it is not suppressible through a registry modification and can only be achieved through some custom coding to effectively hide the window.
This isn’t very elegant and isn’t supported by Microsoft however it does work. 🙂
To suppress the notification you need to use the following code:
HWND hwnd = ::FindWindow(L”Dialog”,L”Cannot Connect”);
if ( hwnd != NULL )
This basically hides the Cannot Connect Window.