undocked toolbars show up when app not visible

Discussion in 'AutoCAD' started by Jorge Jimenez, Mar 3, 2004.

  1. Hi,

    Loading ACAD from VB6 like this:
    Set AcadApp = CreateObject("AutoCAD.Application.15")

    any undocked toolbar shows up flotating in the windows desktop.
    Looks pretty wierd with no AutoCAD behind.
    There's no need to set the visible property to False since that is the
    default, but doing so doesn't help a bit.

    Doing this will hide them:
    AcadApp.WindowState = acMin

    But still, while AutoCAD is loading, they show up for a couple of seconds,
    just long enough to make things look bad.

    Anyone know how to get rid of that problem ?
    (acad 2002, vb6 sp5, XP pro all sps applied)
     
    Jorge Jimenez, Mar 3, 2004
    #1
  2. Jorge,

    I believe you need to change your desktop to use Windows Classical instead
    of Windows XP style and the issue will go away. I know the XP style causes
    other issues with the visibility of controls within forms, too.

    HTH,

    Mike
     
    Mike Tuersley, Mar 3, 2004
    #2
  3. Thanks for the info.
    Hate to switch to Windows Classical though. Is there any other way ?
     
    Jorge Jimenez, Mar 3, 2004
    #3
  4. I've seen the same problem with Windows 2000.

    Regards - Nathan
     
    Nathan Taylor, Mar 3, 2004
    #4
  5. Uhmm, interesting.!
     
    Jorge Jimenez, Mar 4, 2004
    #5
  6. I had the same problem, too. What I did was minimizing (or hiding) ACAD app
    since all controls/menus/toolbars get loaded. As they do, I maximize the app
    window and leave it on. During menu loading (acad is minimized) the toolbars
    got loaded and showed up against the desktop (huh). Now I do it other way
    round - first load menus with all toolbars hidden, then maximize the app and
    "turn on" toolbars.

    P.S. You will also notice that minimized ACAD app somehow gets maximized for
    the time of switching to the user profile different than the current one.
    Then gets minimized again, on it's own. Funny...

    Regards,
    Maksim Sestic
     
    Maksim Sestic, Mar 4, 2004
    #6
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.