Sidebar

Using Directory Opus
Configuration
Programming
Reference Section
reference:plugins:plugin_sdk:utility_functions:showbitmapexpandscroll

ShowBitmapExpandScroll(
     HWND:hWnd,
     UINT:uButtonKey,
     POINT:pt,
     RECT:rcOrig,
     SIZE:sizeBitmap,
     PFNEXPANDBITMAPPAINT:pfnPaintCB,
     PFNEXPANDBITMAPMESSAGEFILTER:pfnMessageFilterCB,
     LPARAM:lParamCBData
)
→ BOOL

Arguments

hWnd

[in]

uButtonKey

[in]

pt

[in]

rcOrig

[in]

sizeBitmap

[in]

pfnPaintCB

[in]

pfnMessageFilterCB

[in]

lParamCBData

[in]

Description

The callback functions are defined as follows:

typedef void (CALLBACK* PFNEXPANDBITMAPPAINT)(HWND hWnd, HDC hDC, PAINTSTRUCT *pps, RECT rc, LPARAM lParamData);
typedef int  (CALLBACK* PFNEXPANDBITMAPMESSAGEFILTER)(HWND hWnd, MSG *pMsg, RECT rc, LPARAM lParamData);

The message filter callback must return one or more of the following flags. The hWnd may only be the first window of several tiled windows at the origin of the rc (which is the full image in screen coords).

DVP_EBMF_PASSTHROUGH
DVP_EBMF_SWALLOW
DVP_EBMF_REDRAW