devxlogo

Tip Bank

Switching Between Fixed and Scientific Notation

By default, iostream objects are set to display floating point values in fixed notation. To change this, you apply the ‘scientific’ manipulator to an output stream object: #include using namespace

Avoid beeps on forms without a default button

If a form contains one CommandButton control whose Default property is set to True, the Enter key activates the CommandButton. If the form doesn’t contain any default CommandButton control, however,

Hide and show the mouse cursor

At times you may want to temporarily hide the mouse cursor, for example in order to reduce flickering. To do so you just need the ShowCursor API function: Private Declare