home *** CD-ROM | disk | FTP | other *** search
- Caret
- Demonstrate Changing Caret
- System
- ww{www
- ww{www
- Form1
- Label1
- This App demonstrates how to manipulate the caret size. In DOS, we call it the cursor, but in Windows, the cursor refers to the mouse.
- System
- Text1
- This is some text to edit
- System
- TallerButton
- Taller
- System
- ShorterButton
- Shorter
- System
- WiderButton
- Wider
- System
- NarrowerButton
- Narrower
- System
- FasterButton
- Faster
- System
- SlowerButton
- Slower
- System
- EndButton
- System
- Text1
- Command16
- Command2
- Command3
- Command4
- Command5
- Label1F
- Form_Click
- @ Form_Load$
- TextMetric
- GetTextMetrics
- CaretHeightu
- TmAveCharWidth*
- TmAveCharHeight7
- TmHeight
- Text1_Change
- Text1_GotFocus
- Caret
- CreateCaret
- CaretWidth
- ShowCaret
- Text1_LostFocus
- HideCaret
- DestroyCaret
- Form_LostFocus[
- Command5_Click
- EndButton
- TallerButtonc
- ShorterButtonL
- WiderButton
- NarrowerButton
- TallerButton_Click
- ShorterButton_Click
- WiderButton_Click
- NarrowerButton_Click
- Height
- Text1_KeyDown
- KeyCode]
- Shift
- Form_GotFocus
- Text1_DragOver
- State
- Text1_DragDrop
- EndButton_LostFocus
- EndButton_Click
- TallerButton_GotFocusF
- currentx
- currenty
- SelStart(
- GetCaretPos*
- CaretPoint
- SetCaretPos
- CaretX
- CaretY
- TallerButton_LostFocus
- SelLen
- SelLength
- Caret1
- ScaleMode
- FasterButton
- SlowerButton
- FasterButton_Click
- BlinkTime
- GetCaretBlinkTime
- SetCaretBlinkTime
- SlowerButton_Click
- CtrlhWnd
- GetFocus
- SavePos
- SaveLength
- SaveStart
- Picture1
- Picture
- Image
- FasterButton_GotFocus
- SaveSpeed
- Form_Unload
- Cancel
- These values are used to maintain the position and length
- of select text in TEXT1 while we are changing the caret
- sizee
- For restoring
- These values are used to preserve the caret sizee
- throughout the program.
- Form_Load
- Create a structure using TYPE
- Call the windows servicei
- Set up default caret size
- Text1_GotFocus
- Get the handle to the control
- Create the caretv
- Show the caretS
- Restore text selection"
- Text1_LostFocus
- Save our values
- Get rid of the caretn
- TallerButton_Click
- Make it taller
- ShorterButton_Click
- Make it shorter, as long as it's taller than 1
- WiderButton_Click
- Make it wider
- NarrowerButton_Click
- Make it narrower, as long as it's wider than 1
- EndButton_Click
- FasterButton_Click
- Get the current blink time1
- Adjust it
- 1/20th of a second
- SlowerButton_Click
- Make it slowerl
- 1/20th of a second
- Form_Unload
- Restore originalp
-