Leave Window Open

Discussion in 'AutoCAD' started by john m, Jan 28, 2004.

  1. john m

    john m Guest

    Hello,

    I posted the wrong question late the other night.
    What i really want is to find a program i have seen that is an example
    of emulating a VB program with VBA

    This program allows you to interface with autocad with the userform
    still displayed on the screen.

    I have several programs that present the user with various design
    information that need to interface with autocad at times, at other times
    just need to reference.

    It would really help if the user could flip back and forth between the
    acad window and the User Form (which remains open, or is behind )

    Of course i know i can show or hide the form under program control, but
    this program i saw somewhere allows it to be on the same level with the acad
    window...

    maybe by accessing the windows API?

    Thanks in advance for any response..

    jm
     
    john m, Jan 28, 2004
    #1
  2. Nathan Taylor, Jan 28, 2004
    #2
  3. john m

    john m Guest

    Hey thanks a lot nathan this other thing looks real interesting, but for
    right now the showmodal is what i wanted

    just didnt know what to call it


    thanks again!

    jm


    use it but I think it is what you want to do.
     
    john m, Jan 28, 2004
    #3
  4. john m

    john m Guest

    Dang it looks like the modeless form won't let me type in a text box!
    And the Showmodal property is not available at runtime!
    I'm still looking for that program i saw somewhere, it wasn't third party it
    was some shareware example on one of the ACAD VB helpsites...

    just cant remember now which one
     
    john m, Jan 28, 2004
    #4
  5. You need the AcFocusControl on your form, and set the
    KeepFocus property to True.
     
    Tony Tanzillo, Jan 29, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.