Skip to content

Instantly share code, notes, and snippets.

@TLMcode
Created August 10, 2013 02:59
Show Gist options
  • Save TLMcode/6198834 to your computer and use it in GitHub Desktop.
Save TLMcode/6198834 to your computer and use it in GitHub Desktop.
Testing ink OCX control object
; ink.Enabled := True ; enables/disables the control
; ink.RecognitionTimeout := 100 ; speed of refresh when the mouse is lifted
; ink.BackColor := 200*256*256+250*256+250 ; background color
Gui Add, Text,, Draw in the picture box below or hand write text below that.
Gui Add, ActiveX, xm w600 h300 vss, msinkaut.InkPicture.1
Gui Add, ActiveX, xm w300 h100 vink, InkEd.InkEdit.1
(ink.UseMouseForInput := True), ink.InkInsertMode := 0
Gui, Show
Return
GuiClose:
ExitApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment