Click here to Skip to main content
12,888,931 members (52,764 online)
Click here to Skip to main content


350 bookmarked
Posted 16 Nov 1999

CSizingControlBar - a resizable control bar

, 15 Aug 2000 CPOL
DevStudio-like docking window
// CSizingControlBarCF          Version 2.31
// Created: Dec 21, 1998        Last Modified: Jan 11, 2000
// See the official page at for documentation and
// the latest news.
// Copyright (C) 1998, 1999 by Cristi Posea. All rights reserved.
// This code is free for personal and commercial use, providing this 
// notice remains intact in the source files and all eventual changes are
// clearly marked with comments.
// You must obtain the author's consent before you can include this code
// in a software library.
// No warrantee of any kind, express or implied, is included with this
// software; use at your own risk, responsibility for damages (if any) to
// anyone resulting from the use of this software rests entirely with the
// user.
// Send bug reports, bug fixes, enhancements, requests, flames, etc. to:

#if !defined(SCBARCF_H_INCLUDED)

#include "sizecbar.h"

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// scbarcf.h : header file

// CSizingControlBarCF

#ifndef baseCSizingControlBarCF
#define baseCSizingControlBarCF CSizingControlBar

class CSizingControlBarCF : public baseCSizingControlBarCF

// Construction

// Overridables
    virtual void OnUpdateCmdUI(CFrameWnd* pTarget, BOOL bDisableIfNoHndler);

// Implementation
    // implementation helpers
    virtual void NcPaintGripper(CDC* pDC, CRect rcClient);

    BOOL    m_bActive; // a child has focus
    CString m_sFontFace;

// Generated message map functions
    afx_msg LRESULT OnSetText(WPARAM wParam, LPARAM lParam);



#endif // !defined(SCBARCF_H_INCLUDED)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Cristi Posea
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170424.1 | Last Updated 16 Aug 2000
Article Copyright 1999 by Cristi Posea
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid