

winmessage EHM_DOCKWINDOW           ; (hWnd, flags) - docks the specified window in the client area.

winmessage EHM_UNDOCKWINDOW         ; (hWnd, 0) - undocks the specified window from the dock area.

winmessage EHM_FILECHANGED          ; (hWnd, 0) - the file properties are changed.
                                 ; titles, icons, etc, should be updated.

winmessage EHM_FOCUSWINDOW          ; (hWnd, 0) - try to focus given window.

winmessage EHM_GETCURRENTASMEDIT    ; (0, 0) - returns handle of currently active
                                 ; ASMEDIT window if any, NULL otherwise.

winmessage _EHM_SETACTIVETAB         ; (iTab, fRelative)



MASK_SetRelative = $00FF0000

struct TEditorTab
  .               TCITEMHEADER  ; inherit the TCITEMHEADER
  .hEditor        dd ?          ; handle to the ASMEDIT child window.
ends

etUndefined = 0
etFromFile = 1
etFromProj = 2