Frustrated with Microsoft: Uncovering the Mystery of Locked Toolbars

  • Thread starter Borek
  • Start date
In summary, the author is fighting with the CMFCToolBar class and there is a method called LoadToolBar. One of the parameters is a BOOL bLocked. If this parameter is TRUE, the toolbar is locked. Otherwise, the toolbar is not locked. The precision of the description is overwhelming and the help does not 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.
  • #1
Borek
Mentor
28,947
4,240
Sigh, I am fighting CMFCToolBar class. There is a method called LoadToolBar. One of the parameters is BOOL bLocked. Explanation in the help:

[in] bLocked

A Boolean value that specifies whether the toolbar is locked or not. If this parameter is TRUE, the toolbar is locked. Otherwise, the toolbar is not locked.

(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.
 
Technology news on Phys.org
  • #2
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.
 
  • #3
I like Serena said:
Educated guess: "locked" means you can't move and/or resize the toolbar, while "unlocked" means you can.

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:
  • #4
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...
This method returns TRUE when the user cannot perform customization tasks such as repositioning toolbar buttons.

Locked toolbars use separate image lists. For more information about these image lists, see CMFCToolBar::LoadBitmapEx.
 
  • #5
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.
 
  • #6
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.
 
  • #7
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).
 

1. What is "Frustrated with Microsoft: Uncovering the Mystery of Locked Toolbars"?

"Frustrated with Microsoft: Uncovering the Mystery of Locked Toolbars" is a scientific study that aims to understand the phenomenon of locked toolbars in Microsoft software. It investigates the reasons why toolbars become locked, the impact on user experience, and potential solutions for this issue.

2. Why is it important to study locked toolbars in Microsoft software?

This topic is important because locked toolbars can significantly impact the usability of Microsoft software for users. It can lead to frustration, decreased productivity, and in some cases, the need for technical support. By understanding this issue, we can work towards improving user experience and finding solutions to this problem.

3. What research methods were used in this study?

This study utilized a combination of qualitative and quantitative research methods. It involved conducting surveys, interviews, and usability tests with individuals who have experienced locked toolbars in Microsoft software. Data was also collected from online forums and support websites to gather a larger sample of user experiences.

4. What were the main findings of this study?

The main findings of this study revealed that locked toolbars in Microsoft software are a prevalent issue that can have a significant impact on user experience. The most common reasons for locked toolbars were found to be accidental clicks and software updates. Users also reported feeling frustrated, confused, and less productive when encountering locked toolbars.

5. What are some potential solutions for the issue of locked toolbars in Microsoft software?

Based on the findings of this study, some potential solutions for locked toolbars in Microsoft software include providing clearer instructions for unlocking toolbars, implementing a warning message before locking toolbars, and improving the design of toolbars to minimize accidental clicks. It is also recommended for Microsoft to address this issue in future software updates to enhance user experience.

Back
Top