Results 1 to 8 of 8

Thread: AutoCAD Header

  1. #1
    Active Member
    Join Date
    2008-06
    Posts
    52

    Default AutoCAD Header

    This is one of those things that hard to look up just because you get so many hits on other subjects.

    anybody know how to change the AutoCAD header/title at the top left?

    thanks!

  2. #2
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,028

    Default Re: AutoCAD Header

    Look at MODEMACRO in Help.
    John B

    "With or without religion, you would have good people doing good things and evil people doing evil things. But for good people to do evil things, that takes religion." - Steven Weinberg.

  3. #3
    Woo! Hoo! my 1st post
    Join Date
    2006-10
    Posts
    1

    Default Re: AutoCAD Header

    JTB_TitleBar.lsp
    www.jtbworld.com

  4. #4
    Active Member
    Join Date
    2008-06
    Posts
    52

    Default Re: AutoCAD Header

    Thanks for the replies!

    ModeMacro changes the status line (in the old days it changed the titlebar). From what I have seen on the documentation you can't use it to change the titlebar anymore. Am I wrong?

    JTB-Titlebar-
    I'm giving this one some serious thought! I'm a little weary of using it because it's copy righted and I can't get into the DVB file (passworded). and when it's potentially being loaded coporate wide that's not really a good thing.

    Thanks!

  5. #5
    AUGI Addict jpaulsen's Avatar
    Join Date
    2002-04
    Location
    Colorado
    Posts
    1,901

    Default Re: AutoCAD Header

    I only briefly looked at JTB_TitleBar on the website so I may be missing something.

    Why do you want to modify the DVB file?

    It appears the LSP file controls what is displayed in the title bar.
    Jeff Paulsen

  6. #6
    Active Member
    Join Date
    2008-06
    Posts
    52

    Default Re: AutoCAD Header

    Jeff,
    mainly it's just a matter of paranoia. I'll be releasing the code to hundreds of CAD users on a corporate level. I just don't want to let an unknown (DVB contents) get out there. Coming from a freeware source I'm a little more weary than I would be if it came from a known trusted source.

    Beyond that... I'm just a curious cat... I want to know how they did it! LOL

    Thanks!

  7. #7
    AUGI Addict alanjt's Avatar
    Join Date
    2008-02
    Posts
    1,073

    Default Re: AutoCAD Header

    i totally understand what you are saying, but if it makes you feel any better, Autodesk has commissioned Jim Bergmark to code for them before.

  8. #8
    Active Member
    Join Date
    2008-06
    Posts
    52

    Default Re: AutoCAD Header

    I got this off of another forum. Simple code... works great!

    Private Declare Function SetWindowText Lib "user32" _
    Alias "SetWindowTextA" (ByVal hWnd As Long, ByVal lpString As String) As Long

    Sub main()
    AppHwnd = Application.hWnd
    SetWindowText AppHwnd, "This is a test" & Chr(0)
    End Sub

    Thanks for the replies!

    Robert

Similar Threads

  1. C3D Header question
    By Chud in forum AutoCAD Civil 3D - General
    Replies: 2
    Last Post: 2011-09-19, 05:13 PM
  2. File Name in the header
    By ntopliffe in forum Revit MEP - General
    Replies: 0
    Last Post: 2009-05-11, 09:28 PM
  3. Header Family
    By REVIT_MONKEY in forum Revit Structure - Families
    Replies: 1
    Last Post: 2008-08-21, 07:52 AM
  4. multilined header
    By mom of 3 in forum AutoCAD Tables
    Replies: 3
    Last Post: 2008-03-06, 08:17 PM
  5. Dropped Header
    By lhanyok in forum Revit Architecture - General
    Replies: 5
    Last Post: 2006-11-15, 09:26 PM

Posting Permissions

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