mnemonics

How do I override ProcessMnemonic()?

One of my forms requires special handling for two of its mnemonics which are attached to one control ("In" and "Out" UltraLabels with an UltraTrackBar in between). One possible solution is to override ProcessMnemonic() in a manner like so: (I can only include pseudocode) // For each control c in the form // - If the control is visible...

How can I use mnemonics to make an Infragistics UltraTrackBar zoom in and out?

I have an Infragistics UltraTrackBar control which I am using as a zoom bar. On either side of it, there are UltraLabels marked Out and In. The form that it is on has mnemonics for all of its other labels, so I want to put mnemonics on Out and In as well. I gave the Out and In labels the same TabIndex, and the zoom bar's is one higher...

What mechanisms could be used to easily generate a high entropy password on a smartphone without having to resort to alphanumeric input?

I'm working on a version of Password Safe for android. Password Safe uses a passphrase to encrypt your passwords, but typing out long passphrases on a smartphone can be tedious, especially if they're masked. I'd like to investigate using alternatives to a passphrase, such as arrays of simple images. Are there any good examples of su...

How do you remember the order of the expressions in a for loop?

It's a pretty simple question, I always have to go check here and then I hit my head and say it's so obvious. But really after a week of not using it I usually end up writing for ($i = 1; $i++; $i <= 10;) { echo $i; } some Mnemonic might help ...

Mnemonic for C# generic types

I often forget if i have to use in or out when defining covarient and contravarient generic types. In java i have the mnemonic PECS (producer extends consumer super) to help me. Do you know a similar mnemonic for c#? ...

SingleFrameApplication that does NOT require ALT to activate menuitem mnemonics?

In the NetBeans 6.9 IDE, if you create a New Project >> Java >> Java Desktop Application and run it, you will find that the menu items have mnemonics, but only after ALT is pressed. (The netbeans program itself uses this style of menu.) However, if you create a new File >> Swing GUI Forms >> JFrame Form, and add a simple menubar with m...

How can I prevent Alt codes in a .NET app?

Hi, I have a .NET app with buttons which use numbers for mnemonics. (e.g. "&1 - Check" and "&2 - Cash") When I hit Alt+1, I expect the Check button to be clicked. This works when I use the standard number keys on a keyboard. However, when I hit Alt+1 using the number pad, Windows takes over and inserts the symbol that matches the "alt c...