Results 1 to 4 of 4

Thread: Send Message API

  1. #1

    Thread Starter
    Hyperactive Member Wak's Avatar
    Join Date
    Nov 2000
    Location
    Brisbane, Queensland
    Posts
    298

    Unhappy

    Here's basicly what I want to do.

    I have a list box, and when I delete an item from the list box, it automaticly set focus to the first item in the list. But I want it to set focus to say item N. how would I get it to do this. I think I may need to use SendMessage API and send the keystrokes for the Down arrow N times. But not too sure. Plz help
    Visual Basic 6.0 Enterprise
    Visual C++ 6.0 Professional

    Wak

  2. #2
    Matthew Gates
    Guest
    Check out the ListIndex property of the Listbox Control.

  3. #3

    Thread Starter
    Hyperactive Member Wak's Avatar
    Join Date
    Nov 2000
    Location
    Brisbane, Queensland
    Posts
    298

    WHOAA

    I thought that that property was read-only. The things you learn. Thanx heaps.

    Visual Basic 6.0 Enterprise
    Visual C++ 6.0 Professional

    Wak

  4. #4
    Megatron
    Guest
    Or the Selected property.

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