Click here to Skip to main content
Click here to Skip to main content
Go to top

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 -->

    Introduction

    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);
    

    License

    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

    Share

    About the Author

    Oleg A. Mostovlyansky

    United States United States
    No Biography provided

    Comments and Discussions

     
    GeneralCool. Good on You PinmemberEinsteinJ11-Oct-05 1:21 
    GeneralKewl PinmemberColin Davies29-Jun-02 21:45 
    GeneralIt *IS* cool PinsussLisa12-Sep-00 16:22 
    GeneralI Like it! You just need... PinsussK. A.16-Jul-00 19:32 
    GeneralRe: I Like it! You just need... PinmemberMerlinblack25-Apr-05 16:54 
    Generalarticle PinsussTim Henley12-Apr-00 9:59 
    GeneralThis should be placed under Codeproject NDA.. PinsussPeter19-Jul-00 16:47 
    GeneralThis article PinsussChris Maunder22-Feb-00 18:44 
    GeneralRe: This article PinsussJeremy Davis22-Feb-00 22:16 
    GeneralI think I understand... PinsussSteve Carleton12-Feb-00 6:47 
    GeneralCool - not bloody likely PinsussLars P4-Feb-00 8:50 
    Generalnot very 'cool' Pinsussjean Poche27-Jan-00 20:46 
    QuestionIs it design only? PinsussUwe Keim27-Jan-00 19: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 | Mobile
    Web01 | 2.8.140916.1 | Last Updated 27 Jan 2000
    Article Copyright 2000 by Oleg A. Mostovlyansky
    Everything else Copyright © CodeProject, 1999-2014
    Terms of Service
    Layout: fixed | fluid