Compartir a través de


Shell Samples (Windows Embedded CE 6.0)

1/6/2010

There is sample code spread throughout the Shell documentation.

Sample Windows Embedded CE code for the Advanced Backlight Options dialog box is in the %_WINCEROOT%\Public\Wceshellfe\Oak\Ctlpnl\AdvBacklight directory.

The following table shows some Shell code examples that are provided in the documentation; these are not complete samples.

In This Section

  • Accessibility Hot Keys
    Shows how to enable the mouse keys option, enable the hot key for that option, and direct the OS to play a siren sound when the user turns the mouse keys option on or off by using the hot key.
  • Adding Columns
    Shows how to add columns and set the number of items in the list view window.
  • BeginPaint
    A window procedure that processes a WM_PAINT message by using BeginPaint to prepare a window for painting, and then draws an icon or bitmap in the window.
  • BitBlt
    Shows how to copy the pixels in one bitmap into another bitmap.
  • ClientToScreen
    Shows how to convert the coordinates of a mouse click or stylus tap to screen coordinates and use the new coordinates in a calculation.
  • CreateDC
    Shows how to obtain a device context for the display driver.
  • Creating Shapes and Lines
    Shows how to create shapes and lines using the Rectangle, Ellipse, Polygon, and RoundRect functions.
  • Enabling High Contrast
    Shows how to enable the high-contrast option and set the color scheme to high-contrast white.
  • Enabling Sound Sentry
    Shows how to enable the sound sentry option and direct the OS to flash the entire screen when an application generates a sound.
  • Enabling Sticky Keys
    Shows how to enable the sticky keys option and direct the OS to play a sound when the user latches, locks, or releases modifier keys when using the sticky keys option.
  • Processing Keyboard Messages
    Shows the window procedure framework that a typical application uses to receive and process keystroke messages.
  • Setting Accessibility Time-out Periods
    Shows how to set the accessibility time-out period to 10 minutes and how to specify that the OS should play a descending siren sound when the time-out period elapses and the OS turns off the accessibility options.
  • Creating Timers
    Shows how to sample TimerProc callback function that draws text in a window and makes a sound when the function is called after the timer expires.
  • Enabling High Contrast
    Shows how to enable the high-contrast option and set the color scheme to high-contrast white.
  • SHBindToParent
    Shows how to retrieve the display name from an item's PIDL.
  • Working with Window Controls
    Shows how to add a control to a normal window.

    Shows how to create a push button and a static control in a dialog box.

See Also

Other Resources

Shell