2011/10/27 zeljko <[email protected]>: > So if original win msg have State , why it's removed and why it's changed to > Button now ?
This idea was from the original patch sender ... Maybe it was not good after all. But on one side it is good, because now LCL widgetsets are forced to use ShiftStateToKeys, and that will kill any non standard ShiftStates. ssCaps is declared in the RTL, so we can't undeclare it, so someone could try to send it to the LCL. Now we force its removal, because there is no way to fit it into the Button. Part of the fix was exactly killing this unreliable events. In Windows you would get ssCaps when caps lock=on, not when it is pressed, which was totally wrong. In other platforms you could receive part or none of them. It was a mess. -- Felipe Monteiro de Carvalho -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
