Asynchronous Operations and Message Boxes in the IP Phone Suite (Windows Embedded CE 6.0)
1/6/2010
The most important function of an IP phone is the ability to make and receive calls. Because a user might pick up the handset to make a call or receive a phone call at any time, the IP Phone Suite is designed to never block and be continually responsive.
To make this a reality, the suite applications cannot show dialogs modally. Instead, all dialogs are modeless. This enables the applications of the suite to always display the user interface for things like outgoing or incoming calls regardless of the current state of any of the applications.
Although the dialogs are modeless, they appear to be modal to the user, unless an action occurs that must pre-empt the dialog.
You can use the PhCommon dynamic link library to create custom dialogs, modeless as well as modal and/or hidden. This includes creating regular custom dialog boxes through a call to PHDialogScreen or specialized dialogs, called menu screens via a call to PHMenuScreen or even message boxes, aka MessageBox. The interface call for a MessageBox would be PHMessageBox.
For more information about custom dialogs, please see Using the PhCommon Core Component.
See Also
Reference
PhCommon Reference
PHDialogScreen
PHMenuScreen
PHMessageBox