Animated Background Banner West Virginia

Used to display an Animated Banner using the the CmdiMainClient class

Local Companies

Keylogic Systems Inc
(304) 296-9100
446 Spruce St
Morgantown, WV
Computer Personnel Services
(304) 746-4401
1599 Nottingham Rd
Charleston, WV
Data Consulting Svc Inc
(304) 529-3165
1017 6th Ave
Huntington, WV
Vertex Technology Management Inc
(304) 876-9347
Charles Town, WV
Teknetix
(304) 424-9400
2501 Garfield Ave
Parkersburg, WV
UB-04software.com
1.8668292763
UB-04 Software
Richmond, WV
Fred W Newton Company
(304) 485-6838
600 Ann St
Parkersburg, WV
Premium Technologies
(304) 733-3880
5841 Alt
Barboursville, WV
Computer Consumer Consultants
(304) 339-2172
Valley Head, WV
Huntington Technology Group Inc
(304) 697-6773
Huntington, WV

provided by: 
Originally published at Internet.com




The following code is used to display an Animated Banner using the the CmdiMainClient class. You will need to get a set of sequenced bitmaps to show the animation. In my example you can Right-Click to Start/Stop the animation and Left-Click to display a child window, keeping the background animation alive.

For your convenience, the code can be copied and pasted from your browser or downloaded (.zip format). #include "stdafx.h" #include "banner.h" #include "mainfrm.h" #include "resource.h" #ifdef _DEBUG #undef THIS_FILE static char BASED_CODE THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMdiMainClient CMdiMainClient::CMdiMainClient() : m_sizeClient(0, 0) { VERIFY (m_bmpBackGround.LoadBitmap(IDB_BCKGRD)); ASSERT (m_bmpBackGround.GetSafeHandle()); VERIFY (m_bmpBackGround2.LoadBitmap(IDB_BITMAP0)); ASSERT (m_bmpBackGround2.GetSafeHandle()); BmpLoaded = 1; StopRotation = FALSE; } CMdiMainClient::_1_CMdiMainClient() { if(m_bmpBackGround.GetSafeHandle()) m_bmpBackGround.DeleteObject(); if(m_bmpBackGround2.GetSafeHandle

Read article at Internet.com site

Featured Local Company

UB-04software.com

1.8668292763
UB-04 Software
Richmond, WV

Related Articles
- CNewLabel : Advanced CStatic-Derived Class West Virginia
This class (CNewLabel) is derived from CStatic and performs a lot of things that the CStatic class can not do.
- C# Tips and Tricks West Virginia
- CSS Sprites West Virginia
Related Articles
- CNewLabel : Advanced CStatic-Derived Class West Virginia
This class (CNewLabel) is derived from CStatic and performs a lot of things that the CStatic class can not do.
- C# Tips and Tricks West Virginia
- CSS Sprites West Virginia

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML