rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvWindowsDisplayConfig Class Reference

Display configuration class for Windows applications. More...

#include <ilviews/windows/config.h>

Inheritance diagram for IlvWindowsDisplayConfig:
IlvDisplayConfig

List of all members.

Public Member Functions

HINSTANCE getHInstance () const
 Gets the HINSTANCE associated with the IlvDisplay.
HPALETTE getHPalette () const
 Gets the HPALETTE currently used by the drawing functions of Rogue Wave Views.
void setHPalette (HPALETTE hPalette, IlBoolean owner=((IlBoolean) 0))

Friends

class IlvDisplay

Detailed Description

Display configuration class for Windows applications.

Library: winviews

This class is a predefined subtype of IlvDisplayConfig that is dedicated for Rogue Wave Views applications running on Windows. The display configuration callback of these applications will actually receive an instance of this class (see IlvDisplay constructors for details).


Member Function Documentation

HINSTANCE IlvWindowsDisplayConfig::getHInstance (  )  const

Gets the HINSTANCE associated with the IlvDisplay.

Returns:
The pointer to the HINSTANCE used to create the IlvDisplay instance.
HPALETTE IlvWindowsDisplayConfig::getHPalette (  )  const

Gets the HPALETTE currently used by the drawing functions of Rogue Wave Views.

Returns:
The HPALETTE used by the drawing functions.
void IlvWindowsDisplayConfig::setHPalette ( HPALETTE  hPalette,
IlBoolean  owner = ((IlBoolean) 0) 
)

short Sets the HPALETTE used by the drawing functions.

Parameters:
hPalette An HPALETTE that will be used by the drawing functions.
owner An IlBoolean, whose default value is IlFalse, that specifies whether Rogue Wave Views may release this palette (if the value is IlTrue) or not.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.