Skip to content

Return handles of notepad, editor1, editor2 #256

@vinsworldcom

Description

@vinsworldcom

There are no methods to return the handles for the notepad, editor1 and editor2 instances, but they do exist.

private:
NotepadPlusWrapper(); // default constructor disabled
HWND m_nppHandle;

protected:
void consume(std::shared_ptr<RunScriptArgs> args);
boost::shared_ptr<ScintillaWrapper> createScintillaWrapper();
boost::shared_ptr<NotepadPlusWrapper> createNotepadPlusWrapper();
virtual void queueComplete();
// Handles
HWND m_nppHandle;
HWND m_scintilla1Handle;
HWND m_scintilla2Handle;

Thought would be like:

notepad.hwnd()
editor1.hwnd()
editor2.hwnd()

to return the handles.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions