Cfaderwnd. h

Source: Internet
Author: User

/*----------------------------------------------------------------------------*/
/* Cfaderwnd header */
/*----------------------------------------------------------------------------*/
//
// File: faderwnd. h
// Author: Phil J. Pearson
// Created: 20 June 2000
// Last mod: 20 June 2000
//
/*----------------------------------------------------------------------------
/*
/* Copy right (c) 2000 by real world Software
/* All Rights Reserved.
/*
/*----------------------------------------------------------------------------*/

# Pragma once

# Ifndef ws_ex_layered
//////////////////////////////////////// /////////////////////////////////////
// Definitions copied from winuser. h
// They're normally available if you do:
// # DEFINE _ win32_winnt 0x0500
// But we don't need all that stuff for this class
//
# Define ws_ex_layered 0x00080000
# Define ulw_alpha 0x00000002
# Endif // ndef ws_ex_layered

Typedef bool (winapi * lpfnupdatelayeredwindow) (hwnd, HDC hdcdst, point * pptdst, size * psize, HDC hdcsrc,
Point * pptsrc, colorref crkey, blendfunction * pblend, DWORD dwflags );

//////////////////////////////////////// /////////////////////////////////////
// Cfaderwnd window

Class cfaderwnd: Public cwnd
{
// Construction
Public:
Cfaderwnd (cwnd * pwndtofade, uint nfadetime = 2000, byte byalpha = 255 );

// Attributes
Public:

// Operations
Public:

// Overrides
// Classwizard generated virtual function overrides
// {Afx_virtual (cfaderwnd)
Protected:
Virtual void postncdestroy () {Delete this ;}
//} Afx_virtual

// Implementation
PRIVATE:
Virtual ~ Cfaderwnd ();

// Generated message map Functions
Protected:
// {Afx_msg (cfaderwnd)
Afx_msg void ontimer (uint nidevent );
Afx_msg void onsetfocus (cwnd * poldwnd );
//} Afx_msg
Declare_message_map ()

Lpfnupdatelayeredwindow m_pupdatelayeredwindow;

Blendfunction m_blend;
Cwnd * m_pwndtofade;
};

//////////////////////////////////////// /////////////////////////////////////

// {Afx_insert_location }}
// Microsoft Visual C ++ will insert additional declarations immediately before the previous line.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.