getCurrentDocIndex doesn't respect the view parameter because it passes it in WPARAM not LPARAM. Patch attached (untested though).
Thanks for the patch. Committed.
My local code had changed, but I ported your fix to the new version.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.