Archive for the ‘Programming’ Category

Programming note: tooltips again

December 11, 2007

This posting is of historical interest. It exists to help other programmers who may come across a similar problem.

When you move your mouse over a toolbar button, a small tooltip pops up to tell you what the button does. If the button is disabled then Cardbox also shows a yellow box next to the button, telling you why it’s disabled, in the same way that it does with disabled menu items.

On Windows, the tooltip and the yellow box are adjacent, so that you can read them both. On Wine, the tooltip was in the same place as the yellow box and obscuring part of it.

(more…)

Advertisements

Programming note: WS_EX_TOPMOST

December 10, 2007

This posting is of historical interest. It exists to help other programmers who may come across a similar problem.

When you move your mouse over a disabled (grey) menu item, Cardbox tells you why it’s disabled:

Illustration of help for disabled command

On CrossOver Mac, the yellow explanatory window hid behind the main Cardbox window and couldn’t be seen.

(more…)

Programming note: tooltips

December 6, 2007

This posting is of historical interest. It exists to help other programmers who may come across the same problem.

Once Cardbox was working under Wine, we found something very awkward about using it. Whenever you moved the mouse onto a button, intending to click it, Cardbox would lose the input focus and you would have to click the mouse twice: once to get the focus back to Cardbox and once to click the button.

(more…)

Programming note: CoInitializeEx

December 5, 2007

This posting is of historical interest. It exists to help other programmers who may come across a similar problem.

(more…)

Programming note: PeekMessage

December 4, 2007

This posting is of  historical interest. It exists  to help other programmers who may come across a similar problem.

(more…)