home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 1_2002.ISO / Data / Zips / APIInputBo79895562002.psc / ApiInputComboBox.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  2002-09-12  |  2.7 KB  |  70 lines

  1. VERSION 5.00
  2. Begin VB.Form Form1 
  3.    Caption         =   "Form1"
  4.    ClientHeight    =   3195
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   4680
  8.    ForeColor       =   &H00000000&
  9.    LinkTopic       =   "Form1"
  10.    ScaleHeight     =   3195
  11.    ScaleWidth      =   4680
  12.    StartUpPosition =   3  'Windows Default
  13.    Begin VB.CommandButton Command2 
  14.       Caption         =   "Info"
  15.       Height          =   855
  16.       Left            =   2520
  17.       TabIndex        =   1
  18.       Top             =   1080
  19.       Width           =   1455
  20.    End
  21.    Begin VB.CommandButton Command1 
  22.       Caption         =   "Show me the trick"
  23.       Height          =   855
  24.       Left            =   360
  25.       TabIndex        =   0
  26.       Top             =   1080
  27.       Width           =   1455
  28.    End
  29.    Begin VB.Label Label1 
  30.       Caption         =   "AUTOTYPE ABILITY ADDED !"
  31.       ForeColor       =   &H000000FF&
  32.       Height          =   615
  33.       Left            =   480
  34.       TabIndex        =   2
  35.       Top             =   240
  36.       Width           =   3495
  37.    End
  38. Attribute VB_Name = "Form1"
  39. Attribute VB_GlobalNameSpace = False
  40. Attribute VB_Creatable = False
  41. Attribute VB_PredeclaredId = True
  42. Attribute VB_Exposed = False
  43. 'ver 1.0
  44. 'first boguous attempt
  45. 'ver 2.0 (excelency acchived)
  46. ' in ver 1.0 nothing could be typed in text portion of combo box
  47. ' this is now ok
  48. ' in ver 1.0 wierd thing happend to Num lock, caps lock on keyboard
  49. ' this is now ok
  50. ' added ability to swallow selection on ENTER key pressed
  51. ' horizontal and vertical scroll added as and only if needed
  52. ' autotype ability added
  53. ' this last one vas especialy hard to figure out as API combobox doesn't
  54. ' get WM_CHAR message
  55. Private Sub Command1_Click()
  56. Dim tt() As Variant
  57. tt = Array("alfa", "beta", "gama", "delta", "altruit", "omegaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
  58. CreateComboBoxInputBox "API InputBox & ComboBox ver. 2.0", "Instead of typing, now user can select from combo box. Try to type in word alfa", tt
  59. End Sub
  60. Private Sub Command2_Click()
  61. MsgBox "1. '?' button glues as it should, attempting to get events from it crashed app." & Chr(10) & _
  62. "    I am interested in any solutions to this. " & Chr(10) & _
  63. "2. more comments are in declaratin section module" & Chr(10) & _
  64. "3. If you realy like this and you know the stuff then tell me:" & Chr(10) & _
  65. "3.1.  How to change APIInputBox & ComboBox main window icon - how to get it from resource" & Chr(10) & _
  66. "3.2.  How to put picture into API created window (allso from resource), I read somewhere that it can be puted into EDIT class ?" & Chr(10) & _
  67. "" & Chr(10) & _
  68. "Thanks for any ereplay to: kozlicki@yahoo.com"
  69. End Sub
  70.