Use external viewer as Quick View
Posted: Thu 17 Sep, 2015 17:49
Hi. I'd like to use my external viewer when I press Ctrl + Q and I haven't seen any settings for that. So I decided to make a plug-in but with little luck. I was thinking of opening a new panel and then using CreateProcess to access my external viewer with the file I want to view as a parameter. But I don't really know how to do that. When I called CreateProcess, both panels are covered with my viewer and there can be seen some text from the panels on top of the viewer.
Also which is the exact function that creates a new Panel? I've been using TmpPanel source files as guidance and I've implemented GetOpenPanelInfo, ProcessPanelEvent and ClosePanel. From my logfiles the functions are called by FAR with FE_GOTFOCUS event (like the api doc says it should at creation), but i don't see an empty new panel, just a screen flash and ClosePanel is also called without me deliberatly exiting the Panel.
Any help from more experienced guys out there? This is my first trial of making a plugin. Thanks!
Also which is the exact function that creates a new Panel? I've been using TmpPanel source files as guidance and I've implemented GetOpenPanelInfo, ProcessPanelEvent and ClosePanel. From my logfiles the functions are called by FAR with FE_GOTFOCUS event (like the api doc says it should at creation), but i don't see an empty new panel, just a screen flash and ClosePanel is also called without me deliberatly exiting the Panel.
Any help from more experienced guys out there? This is my first trial of making a plugin. Thanks!