home *** CD-ROM | disk | FTP | other *** search
-
- ΓòÉΓòÉΓòÉ 1. Move Pop-Up Keyboard Window ΓòÉΓòÉΓòÉ
-
- Select "Demo", then "Start Demo" to start the Demonstration Program. The
- dialog displays a row of pushbuttons which controls the position and size of a
- Pop-Up Keyboard.
-
- Button Actions:
- LOAD - Loads the default Pop-Up Keyboard.
- MOVE - Moves the Pop-Up Keyboard.
- ENLARGE - Enlarges the Pop-Up Keyboard.
- SHRINK - Shrinks the Pop-Up Keyboard.
- CLOSE - Closes the Pop-Up Keyboard.
-
-
- ΓòÉΓòÉΓòÉ 2. LOAD ΓòÉΓòÉΓòÉ
-
- LOAD - Loads the default Pop-Up Keyboard.
-
- Example:
-
- APIRET rc;
-
- rc = (APIRET) VkpLoadKeyboard( NULL,
- hwnd )
-
- hwnd - The window handle of the frame
- that owns the Pop-Up Keyboard.
-
-
- ΓòÉΓòÉΓòÉ 3. MOVE ΓòÉΓòÉΓòÉ
-
- MOVE - Repositions the Pop-Up Keyboard. The keyboard will be positioned at
- the lower border of the Demo window. If the window is too low for the
- Pop_Up Keyboard to be completely displayed underneath, then the
- keyboard will be positioned at the upper border. Move the Demo window around,
- press the Move button and see what happens.
-
- Example:
-
- APIRET rc;
- LONG lX, lY;
-
- rc = (APIRET) VkpSetKbPos( lX, /* new keyboard position, x-coordinate */
- lY, /* new keyboard position, y-coordinate */
- 0L, 0L, /* no change in Pop-Up Keyboard size */
- SWP_MOVE, /* flag to move the Pop-Up Keyboard */
- hwnd ) /* owner of the Pop-Up keyboard */
-
-
- ΓòÉΓòÉΓòÉ 4. ENLARGE ΓòÉΓòÉΓòÉ
-
- ENLARGE - Enlarges a Pop-Up Keyboard. The keyboard size is increased in
- fixed increments. If the new size will put part of the Pop-Up Keyboard
- beyond the screen border, then it will not be resized.
-
- Example:
-
- APIRET rc;
- LONG lCx, lCy;
-
- rc = (APIRET) VkpSetKbPos( 0L, 0L, /* no change in Pop-Up Keyboard position */
- lCx, /* new keyboard width */
- lCy, /* new keyboard height */
- SWP_SIZE, /* flag to resize the Pop-Up Keyboard */
- hwnd ) /* owner of the Pop-Up keyboard */
-
-
- ΓòÉΓòÉΓòÉ 5. SHRINK ΓòÉΓòÉΓòÉ
-
- SHRINK - Shrinks the Pop-Up Keyboard. The keyboard cannot be reduced
- below a fixed size.
-
- Example:
-
- APIRET rc;
- LONG lCx, lCy;
-
- rc = (APIRET) VkpSetKbPos( 0L, 0L, /* no change in Pop-Up Keyboard position */
- lCx, /* new keyboard width */
- lCy, /* new keyboard height */
- SWP_SIZE, /* flag to resize the Pop-Up Keyboard */
- hwnd ) /* owner of the Pop-Up keyboard */
-
-
- ΓòÉΓòÉΓòÉ 6. CLOSE ΓòÉΓòÉΓòÉ
-
- CLOSE - Closes the Pop-Up Keyboard.
-
- Example:
-
- BOOL rc;
-
- rc = (APIRET) VkpCloseKb( hwnd )
-
- hwnd - The window handle of the frame
- that owns the Pop-Up Keyboard.
-