Smart Device Functions:
Search Results for "SB_GETTEXT" in [All]
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-18.104.22.168
(UINT) SB_GETTEXT, // message ID
private const uint SB_GETTEXTLENGTH = WM_USER + 12;
private const uint SB_GETTEXT = WM_USER + 13;
uint length = (uint)SendMessage(this._handle, SB_GETTEXTLENGTH, index, 0);
// SB_GETTEXT tells the remote process to write out text to the remote memory we allocated.
StatusBar.SendMessage(this._handle, SB_GETTEXT, (IntPtr)index, allocated);