iimageviewer.h File Reference
#include "maxheap.h"
#include "maxtypes.h"
#include "bitmap.h"
| #define IMAGE_VIEW_API __declspec(dllimport) |
| #define WM_BV_TOOLBAR_RIGHTCLICK WM_USER + 0x8ac4 |
| #define MAX_BITMAP_VIEWER_CLASS _M("MaxBitmapViewerClass") |
- Parameters:
- Bitmap* pBitmap
The bitmap to use with the viewer. This should not be NULL.
IImageViewer::DisplayStyle displayStyle
The display style for the viewer, which is either IV_FLOATING or IV_DOCKED.
- Returns
- A pointer to a new IMaxBitmapViewer or NULL if the viewer could not be created.