PDA

View Full Version : Jumping to next Datafield using the TAB Key ?


DirectDance
02-22-2007, 09:41 AM
Hi,

is there any possibility to use the function:

GetNextDlgTabItem

in PPL ?

This is for jumping to the next data field when the Tab Button was pressed (http://msdn2.microsoft.com/en-us/library/ms645495.aspx).

All datafields will be handeled wich include the WS_TABSTOP flag.

Thanks,
DirectDance

kornalius
02-22-2007, 03:25 PM
If you use WS_TABSTOP Windows should process the TAB key press and move to the next field on the form.

PointOfLight
02-22-2007, 07:23 PM
You would only want to use GetNextDlgTabItem if:

1. You wanted to handle all of the keyboard control yourself

or

2. You wanted to override functionality (ex: make enter act like the tab key)

But yes, as long as it was #define(d) somewhere, you would be able to use that function. As Kornalius said, you don't need it.