Click here to Skip to main content
11,720,562 members (56,346 online)
Click here to Skip to main content

Perforated Tape Toolbar

, 26 Jan 2000 100.9K 1.5K 19
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

    You may also be interested in...

    Comments and Discussions

     
    GeneralCool. Good on You Pin
    EinsteinJ11-Oct-05 1:21
    memberEinsteinJ11-Oct-05 1:21 
    GeneralKewl Pin
    Colin Davies29-Jun-02 21:45
    memberColin Davies29-Jun-02 21:45 
    GeneralIt *IS* cool Pin
    Lisa12-Sep-00 16:22
    sussLisa12-Sep-00 16:22 
    GeneralI Like it! You just need... Pin
    K. A.16-Jul-00 19:32
    sussK. A.16-Jul-00 19:32 
    GeneralRe: I Like it! You just need... Pin
    Merlinblack25-Apr-05 16:54
    memberMerlinblack25-Apr-05 16:54 
    Generalarticle Pin
    Tim Henley12-Apr-00 9:59
    sussTim Henley12-Apr-00 9:59 
    GeneralThis should be placed under Codeproject NDA.. Pin
    Peter19-Jul-00 16:47
    sussPeter19-Jul-00 16:47 
    GeneralThis article Pin
    Chris Maunder22-Feb-00 18:44
    sussChris Maunder22-Feb-00 18:44 
    GeneralRe: This article Pin
    Jeremy Davis22-Feb-00 22:16
    sussJeremy Davis22-Feb-00 22:16 
    GeneralI think I understand... Pin
    Steve Carleton12-Feb-00 6:47
    sussSteve Carleton12-Feb-00 6:47 
    GeneralCool - not bloody likely Pin
    Lars P4-Feb-00 8:50
    sussLars P4-Feb-00 8:50 
    Generalnot very 'cool' Pin
    jean Poche27-Jan-00 20:46
    sussjean Poche27-Jan-00 20:46 
    QuestionIs it design only? Pin
    Uwe Keim27-Jan-00 19:42
    sussUwe 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 | Terms of Use | Mobile
    Web04 | 2.8.150901.1 | Last Updated 27 Jan 2000
    Article Copyright 2000 by Oleg A. Mostovlyansky
    Everything else Copyright © CodeProject, 1999-2015
    Layout: fixed | fluid