Results 1 to 2 of 2

Thread: Tab Stops

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2000
    Location
    Orlando, FL
    Posts
    253

    Tab Stops

    Dows anyone know how to make the tabstop work on this form with edit and a button control?

    VB Code:
    1. 'Creates the visible window
    2. mlngSetup = CreateWindowEx( _
    3.     0, _
    4.     "Database", _
    5.     "Setup", _
    6.     WS_SYSMENU Or WS_CAPTION, _
    7.     lngLeft, _
    8.     lngTop, _
    9.     450, _
    10.     301, _
    11.     glngMain, _
    12.     0, _
    13.     glngApp, _
    14.     Null _
    15. )
    16.  
    17. 'Text Box
    18. mlngText(0) = CreateWindowEx( _
    19.     WS_EX_CLIENTEDGE, _
    20.     "Edit", _
    21.     "", _
    22.     WS_CHILD Or WS_VISIBLE Or ES_AUTOHSCROLL Or WS_TABSTOP, _
    23.     125, _
    24.     74, _
    25.     305, _
    26.     21, _
    27.     mlngSetup, _
    28.     0, _
    29.     glngApp, _
    30.     Null _
    31. )
    32.  
    33. 'Button
    34. mlngButton(0) = CreateWindowEx( _
    35.     0, _
    36.     "Button", _
    37.     "&Browse...", _
    38.     WS_CHILD Or WS_VISIBLE Or WS_TABSTOP, _
    39.     274, _
    40.     101, _
    41.     75, _
    42.     22, _
    43.     mlngSetup, _
    44.     0, _
    45.     glngApp, _
    46.     Null _
    47. )
    48.  
    49. ShowWindow mlngSetup, SW_SHOWDEFAULT
    50.  
    51. 'Message loop
    52. Do While GetMessage(typMessage, 0, 0, 0) <> 0
    53.     TranslateMessage typMessage
    54.     DispatchMessage typMessage
    55. Loop
    Always looking for a better and faster way!

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Post

    What are you trying to do?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width