Click here to Skip to main content
15,886,797 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: bar code Pin
Monty29-Mar-06 21:56
Monty29-Mar-06 21:56 
QuestionRe: bar code Pin
David Crow10-Mar-06 2:58
David Crow10-Mar-06 2:58 
QuestionUsing the Library Pin
itkid9-Mar-06 21:41
itkid9-Mar-06 21:41 
AnswerRe: Using the Library Pin
MF9-Mar-06 22:45
MF9-Mar-06 22:45 
AnswerRe: Using the Library Pin
Stephen Hewitt9-Mar-06 22:47
Stephen Hewitt9-Mar-06 22:47 
Questionhow to show menu on right click of mouse on dialog Pin
baldha rakesh9-Mar-06 21:37
baldha rakesh9-Mar-06 21:37 
AnswerRe: how to show menu on right click of mouse on dialog Pin
Monty29-Mar-06 21:54
Monty29-Mar-06 21:54 
AnswerRe: how to show menu on right click of mouse on dialog Pin
Xing Chen9-Mar-06 21:56
Xing Chen9-Mar-06 21:56 
<br />
VOID APIENTRY DisplayContextMenu(HWND hwnd, POINT pt) <br />
{ <br />
    HMENU hmenu;            // top-level menu <br />
    HMENU hmenuTrackPopup;  // shortcut menu <br />
 <br />
    // Load the menu resource. <br />
 <br />
    if ((hmenu = LoadMenu(hinst, "ShortcutExample")) == NULL) <br />
        return; <br />
 <br />
    // TrackPopupMenu cannot display the menu bar so get <br />
    // a handle to the first shortcut menu. <br />
 <br />
    hmenuTrackPopup = GetSubMenu(hmenu, 0); <br />
 <br />
    // Display the shortcut menu. Track the right mouse <br />
    // button. <br />
 <br />
    TrackPopupMenu(hmenuTrackPopup, <br />
            TPM_LEFTALIGN | TPM_RIGHTBUTTON, <br />
            pt.x, pt.y, 0, hwnd, NULL); <br />
 <br />
    // Destroy the menu. <br />
 <br />
    DestroyMenu(hmenu); <br />
} <br />

AnswerRe: how to show menu on right click of mouse on dialog Pin
baldha rakesh9-Mar-06 21:57
baldha rakesh9-Mar-06 21:57 
AnswerRe: how to show menu on right click of mouse on dialog Pin
Hamid_RT9-Mar-06 23:12
Hamid_RT9-Mar-06 23:12 
Questionprofiling Pin
wb9-Mar-06 21:35
wb9-Mar-06 21:35 
AnswerRe: profiling Pin
Jack Puppy10-Mar-06 1:55
Jack Puppy10-Mar-06 1:55 
Questioncatching a crashing call to a third party api Pin
Jerome Conus9-Mar-06 21:20
Jerome Conus9-Mar-06 21:20 
AnswerRe: catching a crashing call to a third party api Pin
Xing Chen9-Mar-06 21:25
Xing Chen9-Mar-06 21:25 
GeneralRe: catching a crashing call to a third party api Pin
Jerome Conus9-Mar-06 21:45
Jerome Conus9-Mar-06 21:45 
AnswerRe: catching a crashing call to a third party api Pin
kakan9-Mar-06 21:32
professionalkakan9-Mar-06 21:32 
GeneralRe: catching a crashing call to a third party api Pin
Jerome Conus9-Mar-06 21:39
Jerome Conus9-Mar-06 21:39 
AnswerRe: catching a crashing call to a third party api Pin
Stephen Hewitt9-Mar-06 21:59
Stephen Hewitt9-Mar-06 21:59 
QuestionControlling powerpoint?! Pin
markhaslehurst9-Mar-06 21:04
markhaslehurst9-Mar-06 21:04 
AnswerRe: Controlling powerpoint?! Pin
Ryan Binns9-Mar-06 21:47
Ryan Binns9-Mar-06 21:47 
GeneralRe: Controlling powerpoint?! Pin
markhaslehurst9-Mar-06 21:57
markhaslehurst9-Mar-06 21:57 
GeneralRe: Controlling powerpoint?! Pin
Ryan Binns9-Mar-06 22:25
Ryan Binns9-Mar-06 22:25 
GeneralRe: Controlling powerpoint?! Pin
markhaslehurst9-Mar-06 22:33
markhaslehurst9-Mar-06 22:33 
GeneralRe: Controlling powerpoint?! Pin
Ryan Binns9-Mar-06 22:41
Ryan Binns9-Mar-06 22:41 
GeneralRe: Controlling powerpoint?! Pin
markhaslehurst10-Mar-06 0:30
markhaslehurst10-Mar-06 0:30 

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.