button images

Discussion in 'AutoCAD' started by Mack Attack, May 6, 2004.

  1. Mack Attack

    Mack Attack Guest

    What file and where are the button images held. I am creating a custom menu
    and would like to modify some of the pretty buttons.

    Thanks in Advance
    Mack
     
    Mack Attack, May 6, 2004
    #1
  2. Mack Attack

    JRWalker Guest

    AutoCAD embeds them in menu dll files (same name as the menu that uses
    them). If you want to actually edit the AutoCAD buttons, you will need to
    hack the resource dll. There are other programs that can extract them out
    and then you could use them for other toolbars. The www.afralisp.com site
    has a tutorial on hacking the dll files.

    JRWalker
     
    JRWalker, May 6, 2004
    #2
  3. If your creating a custom toolbar, and you want to alter standard AutoCAD
    toolbar bitmaps to use in your new toolbar. you have to extract the bitmaps
    from a resource DLL called "acadbtn.dll". Go to Tony Tanzillo's site, he has
    a tool there called "Resource Hacker" that allows you to copy out bitmaps
    resources from dll files. Once you have extracted and save the files you
    want as bitmaps, you can alter them and use them directly in your menu code
    (they don't have to be compiled into a new dll), just put the name of the
    bitmap in quotes and include the ".bmp" extension. Make sure you store the
    new bitmaps you are referencing in an AutoCAD support path. Optionally, you
    CAN compile the bitmaps into a new resource dll for your partial menu. The
    DLL must be the same name as the menu file and be stored in the same support
    path as the menu file for it to work. For specifics on creating a menu DLL,
    as JR pointed out, www.afralisp.com has a tutorial.
     
    Phil Kenewell, May 6, 2004
    #3
  4. Mack Attack

    mataeux Guest

    search the newsgroups for

    BMPfromMNR
    Extract icon .BMP files from menu .MNR file

    use bmpfrommnr then you still have to search the results to find the image
    you want and cut/paste/modify/save...
     
    mataeux, May 6, 2004
    #4
  5. Mack Attack

    cwanless Guest

    Hi the images you are asking for are already extracted and placed into a zip file. You can find them www.objectdcl.com. Go to the objectdcl software and go to the download section. You will find the zip files there to download for free.

    Thanks Chad Wanless
     
    cwanless, May 6, 2004
    #5
  6. Mack Attack

    JRWalker Guest

    JRWalker, May 7, 2004
    #6
  7. Mack Attack

    Mack Attack Guest

    --" you have to extract the bitmaps from a resource DLL called "acadbtn.dll"

    OK maybe it is just me but in 2005 I can not find this file. Or a file with
    the same name as the acad menu. I will keep looking but if anyone know what
    it is please let me know.

    Thanks again
    Mack
     
    Mack Attack, May 7, 2004
    #7
  8. Mack Attack

    Mack Attack Guest

    Hi the images you are asking for are already extracted and placed into a
    zip file. You can find them www.objectdcl.com. Go to the objectdcl software
    and go to the download section. You will find the zip files there to
    download for free.

    Hey this was great but I forgot to mention in the first post I am on 2005
    and they have the much prettier buttons than 2002, not that big of a deal
    but it would be nice if they looked similar. You wouldn't happen to know
    where I can get these ones would you.

    Thanks again
    Mack
     
    Mack Attack, May 7, 2004
    #8
  9. Mack Attack

    Mack Attack Guest

    BMPfromMNR
    does this work on 2005

    I have searched for all bmp and did not find one after running this lisp.
    Did not receive an error however when running so I assume it worked
     
    Mack Attack, May 7, 2004
    #9
  10. My info on this is based on Acad 2004 so I cannot tell you for sure if 2005
    has changed the way this works. If not, the file (acadbtn.dll) should be
    located in the same location as the acad.exe file. Note: Is your Windows
    Explorer set to hide hidden and system files? (In Windows Explorer, go to
    Tools > Folder Options and select the "View" tab. The option to show hidden
    files should be in the advanced settings list.)
     
    Phil Kenewell, May 7, 2004
    #10
  11. Mack Attack

    Mack Attack Guest

    My info on this is based on Acad 2004 so I cannot tell you for sure if
    2005
    Yes I can see all hidden files that is the first thing I checked (learned
    from past experiences lol). Let me ask you do your buttons on 2004 look the
    same as previous versions or are do they have that pretty feel to them (lack
    of better description)?
     
    Mack Attack, May 7, 2004
    #11
  12. Mack Attack

    spencer1971 Guest

    Yoe can just pick a button from the customise window and edit it then do a saveas as your own name...

    Spence
     
    spencer1971, May 7, 2004
    #12
  13. Yes - 2004 has the "Pretty" buttons, The higher resolution toolbar images
    have been part of AutoCAD since Acad 2002.
     
    Phil Kenewell, May 7, 2004
    #13
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.