Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Anti-Microsoft rant

  1. May 21, 2012 #1

    Borek

    User Avatar

    Staff: Mentor

    Sigh, I am fighting CMFCToolBar class. There is a method called LoadToolBar. One of the parameters is BOOL bLocked. Explanation in the help:

    (see here)

    Precision of the description is overwhelming. Trick is, help doesn't explain what a locked toolbar is.

    It would qualify for the lame jokes, but I am afraid it was NOT intended to be a joke.
     
  2. jcsd
  3. May 21, 2012 #2

    I like Serena

    User Avatar
    Homework Helper

    Educated guess: "locked" means you can't move and/or resize the toolbar, while "unlocked" means you can.
    This would be similar to the Windows taskbar.

    This is a user interface feature that is typically not documented in the API documentation.
    It will or should be documented in a user manual.
    If you really want to know, try both.
    You'll no doubt see different user interface behavior, and you'll have to decide which behavior you want.


    As for the documentation, yes it's of no use.
    It would have been better if either explained better, or left out completely.
    This kind of documentation is not uncommon when a software engineer is forced to document everything, especially if he doesn't even know himself what it is supposed to do.


    Btw, I don't like Microsoft's Foundation Classes (MFC).
    It's too unwieldy, although it is rich in functionality.
     
  4. May 21, 2012 #3

    Borek

    User Avatar

    Staff: Mentor

    That was my first idea and first thing I tested, unfortunately, it is completely off. In reality it is about how the toolbar images (buttons) are treated. Something like when they are locked user can't change them - but I am not delving deeper, as it is not a functionality I need.
     
    Last edited: May 21, 2012
  5. May 21, 2012 #4

    Borg

    User Avatar
    Gold Member

    The isLocked method has a little extra info that seems to agree with ILS. I would assume that the method is using the variable in question but it is Microsoft we're talking about...
     
  6. May 21, 2012 #5

    Borek

    User Avatar

    Staff: Mentor

    There is a difference between repositioning the toolbar and repositioning/adding/removing buttons. Locked means you can't do the latter, but you can still freely move the toolbar and have it either as a floating window or docked below menu.

    At least I checked that locked toolbar can be docked/undocked and moved, I am not interested in modifying buttons so I have not investigated further.
     
  7. May 21, 2012 #6

    turbo

    User Avatar
    Gold Member

    MS is not a really helpful company for OS issues. They were much better back when MS DOS was being developed, IMO. I have two recently-purchased computers with Win7 installed and I am really not impressed.

    I was never a fan of Unix and its later variants, but there is not a whole lot else on the horizon... Sad.
     
  8. May 22, 2012 #7

    I like Serena

    User Avatar
    Homework Helper

    I disagree.
    Microsoft has the most extensive knowledge base (KB) there is.
    Any issue you have, you can usually find in the KB, especially when programming.

    In the old days, Microsoft was a company with vision (Bill).
    They replaced the old DOS system (that they made too) with a Windows system that had centralized drivers for hardware, that had lots of software coming with it, and that was much cheaper than any other option.

    Each version augmented a lot of new functionality until they designed Windows NT from scratch (by "Dave"), creating a clean and advanced platform.

    Of course that is more than 15 years ago, and new versions of Windows do not seem to augment all that much any more, except in price. ;)


    As for other systems on the horizon... what about Linux (Ubuntu) and MacOS?

    The new Ubuntu is as user friendly as Windows is.
    It is well documented on the internet.
    And it has LibreOffice, which is basically the same (and compatible) with Microsoft Office.
    My only gripe is that Microsoft Office is still more user friendly and has more extensive functionality than LibreOffice (or OpenOffice).
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Anti-Microsoft rant
  1. Microsoft excel help (Replies: 2)

Loading...