Menu

create new file (new tab)

2007-08-29
2012-11-14
  • Merijn Bosma

    Merijn Bosma - 2007-08-29

    Hi all,

    maybe I've missed it, but how can I let Notepad++ create a new blank file / tab from a plugin?

    I've seen the SCI_SETDOCPOINTER message, but that does not create a new tab.

    tia

     
    • Merijn Bosma

      Merijn Bosma - 2007-08-30

      thanks, works like a charm

       
    • Maxime Prat

      Maxime Prat - 2007-08-29

      Hi,

      try WM_COMMAND (define in Win32 file "WinUser.h") message and  IDM_FILE_NEW (defined in Npp file resource.h) as wParam

       
MongoDB Logo MongoDB