Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - about OBN_XT_ITEMRCLICK
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

about OBN_XT_ITEMRCLICK

 Post Reply Post Reply
Author
Message
redduke View Drop Down
Newbie
Newbie


Joined: 24 July 2005
Location: China
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote redduke Quote  Post ReplyReply Direct Link To This Post Topic: about OBN_XT_ITEMRCLICK
    Posted: 24 July 2005 at 3:14am

i want to pop up a menu when click a item

in the CXTOutBarCtrl.

but the OBN_XT_ITEMRCLICK Message is

reached even i have not click a item(just a rihgt click)

how can i detect that if it is just click on the item

from the OBN_XT_ITEMRCLICK  Message thx

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2005 at 3:36pm

Hello, try this

XT_OUTBAR_INFO* pOBInfo = (XT_OUTBAR_INFO*)lParam;

if (pOBInfo->nIndex != -1)

{

....
}

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.035 seconds.