The bottom information area is located at the bottom of the candidate window. This area is optional.
The following table shows the items displayed in the bottom information area.
| Item | Description |
|---|---|
| Menu button | Displays the menu for the candidate window. This button is optional. If a call to the CImeCUICandWindow::CBottomInfoArea::UseCandMenuButton method returns FALSE, the menu button is hidden. |
| Sort button | Arranges the candidate list by Unicode order. This button is optional. If a call to the CImeCUICandWindow::CBottomInfoArea::UseSortButton method returns FALSE, the sort button is hidden. |
| Candidate number indicator | Displays to the user, which candidate is currently selected. For example, "5/20" implies that there are 20 candidates in the list and the fifth candidate item is selected. The candidate number indicator is optional. If a call to the CImeCUICandWindow::CBottomInfoArea::UseCandNumText method returns FALSE, the text is hidden. |
The layout of the buttons and the candidate number indicator are internally calculated by the IME and cannot be customized.
The following table shows the methods of the CImeCUICandWindow::CBottomInfoArea subclass that can be used to customize the bottom information area.
| Method | Description |
|---|---|
| CImeCUICandWindow::CBottomInfoArea::IsAvailable | Determines whether the bottom information area is available. If a call to this method returns FALSE, the bottom information area is hidden. |
| CImeCUICandWindow::CBottomInfoArea::GetMargins | Retrieves the top, bottom, right, and left margins of the bottom information area. |
| CImeCUICandWindow::CBottomInfoArea::GetTextColor | Retrieves the color of the candidate number indicator in the bottom information area. |
| CImeCUICandWindow::CBottomInfoArea::UseCandMenuButton | Determines whether the IME draws the candidate menu button in the bottom information area. |
| CImeCUICandWindow::CBottomInfoArea::UseSortButton | Determines whether the IME draws the sort button in the bottom information area. |
| CImeCUICandWindow::CBottomInfoArea::UseCandNumText | Determines whether the IME draws the text describing the candidate number indicator. |
| CImeCUICandWindow::CBottomInfoArea::PaintBackground | Draws the background of the bottom information area. |
| CImeCUICandWindow::CBottomInfoArea::IsAvailable | Determines whether the bottom information area is available. |
| CImeCUICandWindow::CBottomInfoArea::CButton::AdjustRect | Retrieves the bounding rectangle of the menu and sort buttons. |
| CImeCUICandWindow::CBottomInfoArea::CButton::PaintBackground | Draws the background of the menu and sort buttons. |
| CImeCUICandWindow::CBottomInfoArea::CButton::PaintIcon | Draws the icon of the menu and sort buttons. |
See Also
Customizing the Candidate Window
Send Feedback on this topic to the authors