Click here to Skip to main content
Click here to Skip to main content

Perforated Tape Toolbar

, 26 Jan 2000
Rate this:
Please Sign up or sign in to vote.
A spectacular variation on toolbars
  • Download demo project - 31 Kb
  • Download source files - 4 Kb
  • Sample Image - TapeToolBar.gif

    <!-- Article Starts -->


    This is an alternative to the standard toolbar control. To use it, just replace your CToolBar objects with CTapeToolBar objects - easy as that!

    When you call CTapeToolBar::SetTape() the toolbar is transformed into a ticker-tape style toolbar, with moving perforations and toolbar buttons.

    Why would you use it?

    No - the question is "why would you not use it". Sure - it may not be the most practical toolbar, with users having to chase the buttons across the bar - but it does look very cool.

    CTapeToolBar has the following methods:

    // Set/Get the width of the perforations
    void SetPerfWidth(int iPerfWidth = DEFPERFWIDTH);
    int GetPerfWidth();
    // Set/Gets the time between button movements (milliseconds)
    void SetTapeTimeOut(int iTapeTimeOut = DEFTAPETIMEOUT);
    int GetTapeTimeOut();
    // Set/Gets the time between perforation movements (milliseconds)
    void SetPerfTimeOut(int iPerfTimeOut = DEFPERFTIMEOUT);
    int GetPerfTimeOut();
    // Set/Get the distance between perforations
    void SetPerfInt(int iInt = DEFPERFINTERVAL);
    int GetPerfInt();
    // Set/Get the whether the toolbar is normal or "taped"
    BOOL GetTape();
    void SetTape(BOOL bTape = TRUE);


    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here


    About the Author

    Oleg A. Mostovlyansky

    United States United States
    No Biography provided

    Comments and Discussions

    GeneralCool. Good on You PinmemberEinsteinJ11-Oct-05 2:21 
    GeneralKewl PinmemberColin Davies29-Jun-02 22:45 
    GeneralIt *IS* cool PinsussLisa12-Sep-00 17:22 
    GeneralI Like it! You just need... PinsussK. A.16-Jul-00 20:32 
    GeneralRe: I Like it! You just need... PinmemberMerlinblack25-Apr-05 17:54 
    Generalarticle PinsussTim Henley12-Apr-00 10:59 
    GeneralThis should be placed under Codeproject NDA.. PinsussPeter19-Jul-00 17:47 
    GeneralThis article PinsussChris Maunder22-Feb-00 19:44 
    GeneralRe: This article PinsussJeremy Davis22-Feb-00 23:16 
    GeneralI think I understand... PinsussSteve Carleton12-Feb-00 7:47 
    GeneralCool - not bloody likely PinsussLars P4-Feb-00 9:50 
    Generalnot very 'cool' Pinsussjean Poche27-Jan-00 21:46 
    QuestionIs it design only? PinsussUwe Keim27-Jan-00 20:42 

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    | Advertise | Privacy | Terms of Use | Mobile
    Web04 | 2.8.150302.1 | Last Updated 27 Jan 2000
    Article Copyright 2000 by Oleg A. Mostovlyansky
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid