Berkeley CSUA MOTD:Entry 39966
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2005/10/3-5 [Computer/SW/Languages/C_Cplusplus] UID:39966 Activity:nil
10/3    Windows Explorer question: Is it possible to modify the context menu
        (right click) to add a custom action?  I have templates of spreadsheets
        I want to copy quickly to certain folders.  I envision using the
        context menu in this manner: Right-click -> Create Template Here ->
        [template1], [template2], [templateN].  It should have one of those
        right arrows that will expand into another menu from which I can choose
        templates 1 thru N.  I tried Googling and there's a lot of information
        on customizing Windows, but I haven't hit on the right search terms for
        what I'm trying to do as described above.  If anyone knows how, or has
        the right search terms, please let me know.
        \_ Try "explorer extension"
           \_ Thanks for this tip.  The closest Google match seems like this
              one from MS: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp  This article is called "Creating Shell
              Extension Handlers".  I'm not a developer by any means, and this
              article provides code samples, so I'm afraid I'm over my head
              here.  If someone has the time, can you take a glance and let
              me know if this is even going down the right path?  If it is,
              I'll try to do some learning, but I'd rather take a path of less
              resistance and use an app to create these "expanding context
              menus", if such an app exists.  --op
              \_ You'll probably have a hard time doing this if you aren't a
                 developer.  The best you might hope for is to add your
                 templates to the ShellNew folder.  But anyway, try:
                 http://csua.org/u/dlq
                 \_ Another nice tip.  The "Extending the New Menu" section
                    could be a stop-gap.  I would be able to right-click ->
                    New -> template1 ... N; the drawback is that I could have
                    a very long menu.  If I could define some arbitrary command
                    with expanding menus, it would be much more flexible.  I
                    know the command in my original post is "Create Template
                    Here" but I might as well generalize it.  Was the "Creating
                    Shell Extension Handlers" article going down the right
                    path though?  --op
                    \_ No, my link is better.
              \_ You're not going to be able to do this if you aren't a
                 developer.  The best you can hope for is to add your
                 templates to the ShellNew folder.
        \_ There must be a way, because after I install ClearCase on my XP,
           I see some new items when I right-click on file in ClearCase VOBS.
           I don't know how, though.
        \_ An open-source example is TortoiseSVN which I use for subversion.
           Check http://TortoiseSVN.tigris.org
           \_ I looked through this briefly, but I don't even know which part
              of the src to begin with to figure out how they did all that
              integration.  --op
2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2013/5/6 [Transportation/Car, Computer/HW/Printer] UID:54672 Activity:nil
5/6     http://h20565.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?spf_p.tpst=kbDocDisplay&spf_p.prp_kbDocDisplay=wsrp-navigationalState%3DdocId%253Demr_na-c03747345-1%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken
        \_ seems like I get these every 6 months or so from HP.  Do all drives
           have these kind of issues and I only see the ones from HP because
           they are diligent about reporting/fixing these issues?  Or do they
           suck?   (It's not actually their drives so...)  Also, do I really
           need to bring down my production infrastructure and fix all this
	...
2012/7/19-11/7 [Computer/SW/Languages/C_Cplusplus] UID:54439 Activity:nil
7/19    In C or C++, how do I write the code of a function with variable
        number of parameters in order to pass the variable parameters to
        another function that also has variable number of parameters?  Thanks.
        \_ The usual way (works on gcc 3.0+, Visual Studio 2005+):
               #define foo(fmt, ...) printf(fmt, ##__VA_ARGS__)
           The cool new way (works on gcc 4.3+):
	...
2010/8/8-9/7 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Web] UID:53914 Activity:nil
8/8     Trying to make a list of interesting features languages have
        touted as this whole PL field comes around, trying to see if they
        have basis in the culture of the time: feel free to add some/dispute
        1970 C, "portability"
        1980 C++, classes, oop, iterators, streams, functors, templates
             expert systems
	...
2008/6/24-27 [Computer/Companies/Google, Computer/Companies/Yahoo] UID:50360 Activity:nil Cat_by:auto
6/24    Yahoo vs. Google vs. Bear Sterns employee attrition. Yahoo may be
        dying but it's nothing compared to Bear. Google still rocks, so
        hold on to their stocks! And if you're leaving Yahoo, there's
        a resignation-letter template to use.
        http://seekingalpha.com/article/82514-yahoo-google-bear-sterns-the-employee-turnover-perspective?source=yahoo
	...
Cache (888 bytes)
msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_extending/extensionhandlers/shell_ext.asp -> msdn.microsoft.com/library/shared/deeptree/bot/bot.asp?dtcnfg=/library/deeptreeconfig.xml
Welcome to the MSDN Library Welcome to the MSDN Library Component Development Component Development Data Access Data Access Development (General) Development (General) Enterprise Development Enterprise Development Graphics and Multimedia Graphics and Multimedia Messaging and Collaboration Messaging and Collaboration Mobile and Embedded Development Mobile and Embedded Development .NET Development .NET Development Networking and Directory Services Networking and Directory Services Office Solutions Development Office Solutions Development Security Security Setup and System Administration Setup and System Administration User Interface Design and Development User Interface Design and Development Visual Tools and Languages Visual Tools and Languages Web Development Web Development Windows Development Windows Development XML and Web Services XML and Web Services MSDN Library Archive
Cache (888 bytes)
csua.org/u/dlq -> msdn.microsoft.com/library/shared/deeptree/bot/bot.asp?dtcnfg=/library/deeptreeconfig.xml
Welcome to the MSDN Library Welcome to the MSDN Library Component Development Component Development Data Access Data Access Development (General) Development (General) Enterprise Development Enterprise Development Graphics and Multimedia Graphics and Multimedia Messaging and Collaboration Messaging and Collaboration Mobile and Embedded Development Mobile and Embedded Development .NET Development .NET Development Networking and Directory Services Networking and Directory Services Office Solutions Development Office Solutions Development Security Security Setup and System Administration Setup and System Administration User Interface Design and Development User Interface Design and Development Visual Tools and Languages Visual Tools and Languages Web Development Web Development Windows Development Windows Development XML and Web Services XML and Web Services MSDN Library Archive
Cache (638 bytes)
TortoiseSVN.tigris.org
Subversion client, implemented as a windows shell ex tension. TortoiseMerge Logo TortoiseMerge is a diff viewer / patch program and part of TortoiseSVN. TortoiseSVN is a really easy-to-use version control / source control clie nt under a GPL license, ie it's free! Since it's not an integration for a specific IDE you can use it with what ever development tools you like. Features of TortoiseSVN/Subversion * Windows Shell (Explorer) integration. You can get old versions of your project and not just single files. Interrupted operations don't affect the reposito ry at all. Explorer Integration A sample of the explorer view integration.