Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all articles
Browse latest Browse all 54282

What is the struct of itemData in photoshop cs2?

$
0
0

I want to know the title of menu which is clicked. We can know the menu title of photoshop cs. Photoshop's menu is drew when we open the menu from cs2.

I got the DRAWITEMSTRUCT information when Imonitor the WM_DRAWITEM event in windows. It is the DRAWITEMSTRUCT:

typedef struct tagDRAWITEMSTRUCT {

    UINT        CtlType;

    UINT        CtlID;

    UINT        itemID;

    UINT        itemAction;

    UINT        itemState;

    HWND        hwndItem;

    HDC         hDC;

    RECT        rcItem;

    DWORD       itemData;

} DRAWITEMSTRUCT

 

The detail information of menu is in other menuitem struct which is itemData point to. I know then itemData Address. But I don't knows the menuitem struct information.

Who can tell me the struct?

I think the photoshop menuitem is more than this:

typedef struct tagMENUITEM

{

 CString strText;

 UINT uID;

 UINT uIndex;

 int uPositionImageLeft;

}MENUITEM;

typedef MENUITEM * LPMENUITEM;


Viewing all articles
Browse latest Browse all 54282

Trending Articles