|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
The TB_SETBUTTONINFOmessage sets the information for an existing button.
On a Windows Mobile device, the TB_SETBUTTONINFOmessage sets the information for an existing button on a soft key bar. The information can include the ID, text, and state of the button.
|Beginning with Windows Mobile 6.5.3, soft keys are replaced by touchable tiles on Windows Mobile Professional phones.|
TB_SETBUTTONINFO wParam = (WPARAM) (int) iID; lParam = (LPARAM) (LPTBBUTTONINFO) lptbbi;
Long pointer to a TBBUTTONINFOstructure that contains the new button information. The cbSizeand dwMaskmembers of this structure must be filled in prior to sending this message.
Windows Mobile Standard supports setting the following information in the Windows Embedded CE TBBUTTONINFOstructure:
- fsState( TBSTATE_ENABLEDand TBSTATE_HIDDENonly)
Nonzero indicates success. Zero indicates otherwise.
|Windows Embedded CE||Windows CE 3.0 and later|
|Windows Mobile||Pocket PC 2002 and later, Smartphone 2002 and later|