
Software Guide
9.2.3.3CWirelessUSBStatusPropertyPage Class Methods
The CWirelessUSBStatusPropertyPage class is the Visual C++ generated file that implements the WirelessUSB Device Status Property Page, a unique property page is created for each WirelessUSB device enumerated.
Table
Method | Type | Description |
OnInitDialog() | Public | This method initializes the wireless status page, reads the current |
|
| value of the Disable Warning Message check box from the registry, |
|
| and makes a call to start the timer. |
OnDestroy() | Public | This method removes the wireless status page and stops the timer. |
OnStartTimer() | Public | This method starts the timer for the wireless status page based on the |
|
| |
OnStopTimer() | Public | This method stops the timer for the wireless status page. |
CommaStr() | Public | This method takes a numeric value and returns a CString representa- |
|
| tion of the number with commas added. |
OnTimer() | Public | This method updates the HID device values displayed on the status |
|
| page then restarts the timer; also, it occasionally requests an update |
|
| in the battery level, currently set to once every 5 seconds while the |
|
| status page is displayed. |
OnBnClickedWireless | Public | This method is called when the Disable Warning Messages check box |
USBDisableWarning |
| is changed. Base on the check box value, it either disables or enables |
| battery and signal strength warning messages for the specific HID | |
Message() |
| |
| device. The updated value is then stored in the | |
|
| |
|
| uration information for the HID device. |
9.2.3.4CWirelessUSBStatusPropertySheet Class Methods
The CWirelessUSBStatusPropertySheet class is the Visual C++ generated file that implements the WirelessUSB Status Property Sheet, which generates a unique WirelessUSB Device Status Prop- erty Page for each WirelessUSB device enumerated.
Table
Method | Type | Description |
OnInitDialog() | Public | This method initializes the wireless status property sheet and adds a |
|
| property page for each HID device in the list. |
OnBnClickedClose() | Public | This method ends the dialog box if the user selects the Close button. |
CY4672 Reference Design Guide, Document # | 117 |
[+] Feedback