Results 1 to 3 of 3

Thread: Designing User Controls...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Posts
    217

    Designing User Controls...

    I'm trying to build a user control that will do the following.

    A. Find a window based on caption
    B. Enumerate all Controls on the window if found
    C. Allow the user to just specify the window title and control Caption to send events to the control

    Ie..

    If Msg1 was the control name

    Msg1.AppTitle "Calculator"
    Msg1.ButtonClick "3"

    This would find the app called calculator
    and send the BN_CLICK event for "3"

    I need some help on how to create the user control.
    I've made functions, modules, galore but never a control
    before. (heh i'm a poet and i didn't even know it)
    Can anybody give me a play by play on making
    Reliable, Stable Excellent controls. I can handle all of the
    api work above, but i don't know how to set the
    properties of control ect......
    I just need a guide on how to create my own user control.
    Thanks

  2. #2
    Frenzied Member vbgladiator's Avatar
    Join Date
    May 2001
    Posts
    1,950
    Go through this turorial. I used this as the starting point.

    http://www.vbworld.com/activex/controls/

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2001
    Posts
    217
    ty

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