Display Bitmap at runtime on dialog in photoshop plugin

352 views1 repliesLast post: 7/25/2007
Hi,

I am new to photoshop SDK CS2 programming and making a new plugin. I just want to know how can I dispaly a bitmap image at runtime on dialogbox in picture box using photoshop API and not windows API or MFC API. I am using a simple dialog by extending PIDialog class.
#1
wrote in message
Hi,

I am new to photoshop SDK CS2 programming and making a new plugin. I just want to know how can I dispaly a bitmap image at runtime on dialogbox in picture box using photoshop API and not windows API or MFC API. I am using a simple dialog by extending PIDialog class.

The function to draw a bitmap in your dialog is called DrawResPicture( ). It takes a bmp resource.

Look in the adm documentation that comes with the SDK for more details.

--
Mike Russell - www.curvemeister.com
#2