PictureBox OnKeyDown Flag 256

Started by Fred Tomke, February 05, 2010, 06:26:27 AM

Previous topic - Next topic

Fred Tomke

Hello, in the slider sample there is a KeyDown event for the picturebox.
In the event handler there is a condition (if (= (logand intFlags 256) 256).
What does the flag 256 mean?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

That would be bit 8, which means it is an extended key (such as page down).
Owen Wengerd (Outside The Box) / ManuSoft