Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to get the data of video card to store as BMP? Pin
Anonymous8-Dec-02 1:40
Anonymous8-Dec-02 1:40 
GeneralHelp with controls handling messages in a dialog Pin
work_to_live6-Dec-02 5:57
work_to_live6-Dec-02 5:57 
GeneralRe: Help with controls handling messages in a dialog Pin
Paul M Watt6-Dec-02 6:12
mentorPaul M Watt6-Dec-02 6:12 
GeneralRe: Help with controls handling messages in a dialog Pin
Roger Allen6-Dec-02 6:21
Roger Allen6-Dec-02 6:21 
GeneralRe: Help with controls handling messages in a dialog Pin
work_to_live6-Dec-02 6:43
work_to_live6-Dec-02 6:43 
GeneralRe: Help with controls handling messages in a dialog Pin
work_to_live6-Dec-02 7:03
work_to_live6-Dec-02 7:03 
GeneralRe: Help with controls handling messages in a dialog Pin
work_to_live6-Dec-02 7:09
work_to_live6-Dec-02 7:09 
GeneralRe: Help with controls handling messages in a dialog Pin
Roger Allen6-Dec-02 7:21
Roger Allen6-Dec-02 7:21 
You have to map the WM_INITMENUPOPUP message and enable the items on a command by command basis in this as your not using the standard MFC CCmdUI method in your own controls. After doing that, the items should be enabled as required, but instead of using a ON_COMMAND() handler for each I would recommend using the TPM_RETURNCMD option in your popup menu so that the selected item ID is returned by the call to TrackPopupMenu(). Then you can handle all the commands in the same place or farm them out to member functions as required.


Roger Allen
Sonork 100.10016

In case you're worried about what's going to become of the younger generation, it's going to grow up and start worrying about the younger generation. - Roger Allen, but not me!
QuestionHow to Detect which Application is Connected to the Internet Pin
Ranjan Banerji6-Dec-02 4:57
Ranjan Banerji6-Dec-02 4:57 
AnswerRe: How to Detect which Application is Connected to the Internet Pin
geo_m6-Dec-02 5:16
geo_m6-Dec-02 5:16 
GeneralRe: How to Detect which Application is Connected to the Internet Pin
Ranjan Banerji9-Dec-02 4:07
Ranjan Banerji9-Dec-02 4:07 
GeneralMultiple windows program Pin
sumod6-Dec-02 4:54
sumod6-Dec-02 4:54 
GeneralRe: Multiple windows program Pin
Maximilien6-Dec-02 5:05
Maximilien6-Dec-02 5:05 
GeneralRe: Multiple windows program Pin
Nitron6-Dec-02 10:51
Nitron6-Dec-02 10:51 
Questionhow not to view disassembly while debugging Pin
pnpfriend6-Dec-02 4:15
pnpfriend6-Dec-02 4:15 
AnswerRe: how not to view disassembly while debugging Pin
Paul M Watt6-Dec-02 5:55
mentorPaul M Watt6-Dec-02 5:55 
QuestionHow to use m_spClientSite Pin
hdi99kf@syd.kth.se6-Dec-02 2:41
hdi99kf@syd.kth.se6-Dec-02 2:41 
AnswerRe: How to use m_spClientSite Pin
geo_m6-Dec-02 5:07
geo_m6-Dec-02 5:07 
GeneralRe: How to use m_spClientSite Pin
charlie26-Dec-02 7:01
charlie26-Dec-02 7:01 
GeneralRe: How to use m_spClientSite Pin
geo_m6-Dec-02 8:35
geo_m6-Dec-02 8:35 
GeneralMFC and ActiveX problems Pin
amek6-Dec-02 2:07
amek6-Dec-02 2:07 
GeneralRe: MFC and ActiveX problems Pin
Nitron6-Dec-02 10:13
Nitron6-Dec-02 10:13 
GeneralMFC doc/view with non-file-based documents Pin
Taka Muraoka6-Dec-02 1:52
Taka Muraoka6-Dec-02 1:52 
GeneralRe: MFC doc/view with non-file-based documents Pin
Prem Kumar6-Dec-02 4:31
Prem Kumar6-Dec-02 4:31 
GeneralRe: MFC doc/view with non-file-based documents Pin
Taka Muraoka6-Dec-02 4:45
Taka Muraoka6-Dec-02 4:45 

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.