Training
Module
Format alphanumeric data for presentation in C# - Training
Explore basic methods in C# to format alphanumeric data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
There are three strings types denoted by the following ending sub-strings in the format character.
Type | Substring |
---|---|
Character string | CSTRING |
Wide character string | WSTRING |
String-able structure | SSTRING |
An example of nonconformant string is a [string] on a fixed-size array.
FC_CSTRING | FC _WSTRING
FC_PAD
string_size<2>
FC_C_CSTRING | FC_C_WSTRING
FC_PAD
–or–
FC_C_CSTRING | FC_C_WSTRING
FC_STRING_SIZED
conformance_description<>
The first format describes common strings, like a [string] char * argument. A sized conformant string has the latter description.
The conformance_description<> is a correlation descriptor and has 4 or 6 bytes depending on whether /robust is used.
The following is a nonconformant string-able structure:
FC_SSTRING
element_size<1>
number_of_elements<2>
Conformant string-able structure:
FC_C_SSTRING
element_size<1>
–or –
FC_C_SSTRING
elements_size<1>
FC_STRING_SIZED FC_PAD
conformance_description<>
The latter description is for a sized string-able structure.
Training
Module
Format alphanumeric data for presentation in C# - Training
Explore basic methods in C# to format alphanumeric data.
Documentation
IOleClientSite::OnShowWindow (oleidl.h) - Win32 apps
Notifies a container when an embedded object's window is about to become visible or invisible. This method does not apply to an object that is activated in place and therefore has no window separate from that of its container.
PropSheet_PressButton macro (prsht.h) - Win32 apps
Simulates the selection of a property sheet button. You can use this macro or send the PSM_PRESSBUTTON message explicitly.
ITfContextComposition (msctf.h) - Win32 apps
The ITfContextComposition interface is implemented by the TSF manager and is used by a text service to create and manipulate compositions. An instance of this interface is provided by ITfContext::QueryInterface with IID_ITfContextComposition.