How to show a title of document window without icon?

Discussion in 'Mac Programming' started by xiaohuli170, Mar 4, 2009.

  1. xiaohuli170 macrumors newbie

    Jan 13, 2009
    Now I drag a file to the app icon in the dock, this app is based on document . I found that no little image on the left of window title after the app is run and the mainwindow is open . but when I drag a file to the dock icon before the app run and use this method to run the app , a little image on the left of window title to show the file ,just like the xcode ect. Now I want to show the little image both way or not to show the little image both way , How to do ? I think that it maybe the window property based on document , but I don't know how to fix it ? Thanks!
  2. samh004 macrumors 68020


    Mar 1, 2004
    When you hold a document of any type over an application in the dock, if the application underneath your mouse can open the document it will dim and the name of the application will appear.

    If the application you are holding the document over can not open it, it will remain unchanged and it's name will not pop up.

    This is how you know what applications can open what. And you can try this with other files.

    In the below images, a text document I created can be opened with Pages, as it's dimmed and the application name has come up. However it can not be opened with Dictionary, and thus the application has remained unchanged.

    Attached Files:

Share This Page