devxlogo

September 27, 2006

Disable the Standard Window Close (X) Button

This code disables the standard Window Close (X) button on the upper right corner of Windows forms: Private Const SC_CLOSE As Integer = &HF060Private Const MF_GRAYED As Integer = &H1

Using the unparsed-entity-uri XSLT Function

This tip shows how to insert an image into the result-tree of an XSLT transformation using the unparsed-entity-uri function. Suppose you have this element: And an unparsed entity such as

Using Complex Numbers

The C++ standard library can handle complex numbers. Complex numbers may be used by including . The class std::complex is defined as a template, allowing complex numbers to use different