Click here to Skip to main content
15,891,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get keys of HKEY_CURRENT_USER Pin
Hamid_RT4-Nov-06 20:40
Hamid_RT4-Nov-06 20:40 
QuestionGetWindowRect() Pin
Waldermort4-Nov-06 5:46
Waldermort4-Nov-06 5:46 
AnswerRe: GetWindowRect() Pin
Steve Echols4-Nov-06 19:16
Steve Echols4-Nov-06 19:16 
GeneralRe: GetWindowRect() Pin
Waldermort4-Nov-06 21:15
Waldermort4-Nov-06 21:15 
GeneralRe: GetWindowRect() Pin
Steve Echols4-Nov-06 21:21
Steve Echols4-Nov-06 21:21 
QuestionHOWTO: get CMenu information from a CMenu pointer Pin
Mohammad A Gdeisat4-Nov-06 5:25
Mohammad A Gdeisat4-Nov-06 5:25 
AnswerRe: HOWTO: get CMenu information from a CMenu pointer Pin
Mark Salsbery4-Nov-06 8:05
Mark Salsbery4-Nov-06 8:05 
GeneralRe: HOWTO: get CMenu information from a CMenu pointer Pin
Mohammad A Gdeisat4-Nov-06 10:53
Mohammad A Gdeisat4-Nov-06 10:53 
those method did not help. what I am trying to do is as follows:

I use OnInitMenuPopup(CMenu *pPopupMenu, UINT nIndex, BOOL bSysMenu) msg handler to update the childs of a popup menu item before they are displayed.

I need to know what menu item is exactly being updated, so I want either its ID or its text.

The methods you have posted are declared as follows:
UINT GetMenuItemID(int nPos )const;
int GetMenuString( UINT nIDItem, LPTSTR lpString, int nMaxCount, UINT nFlags ) const;

those deal with the childs of a popup menu item, not the menu item itself.

Any Ideas??
Thanks alot
Mohammad



And ever has it been that love knows not its own depth until the hour of separation

GeneralRe: HOWTO: get CMenu information from a CMenu pointer Pin
Mark Salsbery4-Nov-06 12:23
Mark Salsbery4-Nov-06 12:23 
GeneralRe: HOWTO: get CMenu information from a CMenu pointer Pin
Mohammad A Gdeisat4-Nov-06 19:50
Mohammad A Gdeisat4-Nov-06 19:50 
GeneralRe: HOWTO: get CMenu information from a CMenu pointer Pin
Mark Salsbery4-Nov-06 22:48
Mark Salsbery4-Nov-06 22:48 
QuestionAbout Multi Core Pin
bouli4-Nov-06 5:17
bouli4-Nov-06 5:17 
AnswerRe: About Multi Core Pin
Mark Salsbery4-Nov-06 8:42
Mark Salsbery4-Nov-06 8:42 
GeneralRe: About Multi Core Pin
bouli4-Nov-06 13:54
bouli4-Nov-06 13:54 
GeneralRe: About Multi Core Pin
Mark Salsbery4-Nov-06 16:07
Mark Salsbery4-Nov-06 16:07 
GeneralRe: About Multi Core Pin
bouli5-Nov-06 0:28
bouli5-Nov-06 0:28 
GeneralRe: About Multi Core Pin
Mark Salsbery5-Nov-06 8:14
Mark Salsbery5-Nov-06 8:14 
GeneralRe: About Multi Core Pin
bouli5-Nov-06 8:21
bouli5-Nov-06 8:21 
GeneralRe: About Multi Core Pin
Mark Salsbery5-Nov-06 8:53
Mark Salsbery5-Nov-06 8:53 
AnswerRe: About Multi Core Pin
Mark Salsbery4-Nov-06 8:57
Mark Salsbery4-Nov-06 8:57 
QuestionAccess control from a user defined class (CFormView based SDI application) [modified] Pin
cy163@hotmail.com4-Nov-06 4:55
cy163@hotmail.com4-Nov-06 4:55 
AnswerRe: Access control from a user defined class (CFormView based SDI application) Pin
Mark Salsbery4-Nov-06 8:19
Mark Salsbery4-Nov-06 8:19 
GeneralRe: Access control from a user defined class (CFormView based SDI application) Pin
cy163@hotmail.com5-Nov-06 2:39
cy163@hotmail.com5-Nov-06 2:39 
GeneralRe: Access control from a user defined class (CFormView based SDI application) Pin
cy163@hotmail.com5-Nov-06 3:52
cy163@hotmail.com5-Nov-06 3:52 
GeneralRe: Access control from a user defined class (CFormView based SDI application) Pin
Mark Salsbery5-Nov-06 7:38
Mark Salsbery5-Nov-06 7:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.