Click here to Skip to main content
15,911,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionScrolling in List box Pin
m_mun11-Feb-09 22:30
m_mun11-Feb-09 22:30 
AnswerRe: Scrolling in List box Pin
Naveen11-Feb-09 22:46
Naveen11-Feb-09 22:46 
AnswerRe: Scrolling in List box Pin
Code-o-mat12-Feb-09 5:44
Code-o-mat12-Feb-09 5:44 
QuestionHow to know 32 or 64 bit Pin
john563211-Feb-09 22:27
john563211-Feb-09 22:27 
AnswerRe: How to know 32 or 64 bit Pin
Naveen11-Feb-09 22:49
Naveen11-Feb-09 22:49 
Questionread, write binary file Pin
tom4_2511-Feb-09 22:19
tom4_2511-Feb-09 22:19 
AnswerRe: read, write binary file Pin
CPallini11-Feb-09 22:34
mveCPallini11-Feb-09 22:34 
QuestionHow to set visible area of a Popup Menu? Pin
pa_ajaykumar11-Feb-09 20:37
pa_ajaykumar11-Feb-09 20:37 
In my code, I have created a Popup Menu containing a large number of menu items (does not fit in a single view). I display the same using TrackPopupMenuEX on the Menu handle.

The first time around when the Menu pops up, the the top most items of the menu are visible. Now if I scroll down the menu so that some other items are visible and close the menu in this state, the next time around when the same menu is popped up, the menu area and items visible is the same as When I had closed the menu in previous operation. The previous closing state of the menu is some how getting saved automatically.

I want to change this behavior. I want to change it such that the menu area visible on popup starts with the menu item I specify (either by Command ID or Position). Is this possible? How can I achieve it.

Thanks in advance..

P.A.Ajay Kumar M.Tech(IT) B.Tech(CS)

AnswerRe: How to set visible area of a Popup Menu? Pin
Stuart Dootson11-Feb-09 21:20
professionalStuart Dootson11-Feb-09 21:20 
GeneralRe: How to set visible area of a Popup Menu? Pin
pa_ajaykumar11-Feb-09 22:04
pa_ajaykumar11-Feb-09 22:04 
GeneralRe: How to set visible area of a Popup Menu? Pin
Stuart Dootson11-Feb-09 23:01
professionalStuart Dootson11-Feb-09 23:01 
QuestionBlinking cursor on the view. Pin
VC++Maniac11-Feb-09 20:21
VC++Maniac11-Feb-09 20:21 
AnswerRe: Blinking cursor on the view. Pin
«_Superman_»11-Feb-09 20:33
professional«_Superman_»11-Feb-09 20:33 
QuestionCOM : ATL DLL? Pin
sam_psycho11-Feb-09 20:02
sam_psycho11-Feb-09 20:02 
AnswerRe: COM : ATL DLL? Pin
Stuart Dootson11-Feb-09 21:34
professionalStuart Dootson11-Feb-09 21:34 
GeneralRe: COM : ATL DLL? Pin
sam_psycho11-Feb-09 21:53
sam_psycho11-Feb-09 21:53 
GeneralRe: COM : ATL DLL? Pin
Stuart Dootson11-Feb-09 21:57
professionalStuart Dootson11-Feb-09 21:57 
GeneralRe: COM : ATL DLL? Pin
sam_psycho11-Feb-09 22:07
sam_psycho11-Feb-09 22:07 
AnswerRe: COM : ATL DLL? Pin
frx9616-Feb-09 14:11
frx9616-Feb-09 14:11 
QuestionDeleting data from XML Pin
brucewayn11-Feb-09 19:54
brucewayn11-Feb-09 19:54 
AnswerRe: Deleting data from XML Pin
sam_psycho11-Feb-09 20:04
sam_psycho11-Feb-09 20:04 
AnswerRe: Deleting data from XML Pin
Cedric Moonen11-Feb-09 20:15
Cedric Moonen11-Feb-09 20:15 
AnswerRe: Deleting data from XML Pin
sam_psycho11-Feb-09 20:23
sam_psycho11-Feb-09 20:23 
GeneralRe: Deleting data from XML Pin
Cedric Moonen11-Feb-09 20:50
Cedric Moonen11-Feb-09 20:50 
GeneralRe: Deleting data from XML Pin
CPallini11-Feb-09 22:16
mveCPallini11-Feb-09 22:16 

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.