Click here to Skip to main content
15,879,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: sorting vector that holds object [modified] Pin
Viorel.1-Jun-06 21:29
Viorel.1-Jun-06 21:29 
AnswerRe: sorting vector that holds object Pin
toxcct1-Jun-06 21:54
toxcct1-Jun-06 21:54 
QuestionHow to draw line graph without using MsExcel Pin
MikeRT1-Jun-06 20:39
MikeRT1-Jun-06 20:39 
AnswerRe: How to draw line graph without using MsExcel Pin
Cedric Moonen1-Jun-06 21:09
Cedric Moonen1-Jun-06 21:09 
QuestionIcon added to system trat but popup menu not disappear if I click somewhere else Pin
zahid_ash1-Jun-06 20:38
zahid_ash1-Jun-06 20:38 
AnswerRe: Icon added to system trat but popup menu not disappear if I click somewhere else Pin
Hamid_RT1-Jun-06 20:47
Hamid_RT1-Jun-06 20:47 
GeneralRe: used the same one but popup menu not disappear if I click on some other window Pin
zahid_ash1-Jun-06 20:54
zahid_ash1-Jun-06 20:54 
AnswerRe: Icon added to system trat but popup menu not disappear if I click somewhere else [modified] Pin
Viorel.1-Jun-06 21:52
Viorel.1-Jun-06 21:52 
MSDN library mentions this problem in the description of ::TrackPopupMenu function. In order to solve it, there is a recomendation to make the window foreground before TrackPopupMenu, and then to post a benign message immediately after TrackPopupMenu:

::SetForegroundWindow(hwnd);
::TrackPopupMenu(...);
::PostMessage(hwnd, WM_NULL, 0, 0);


Or, in case of MFC, inside a member:

SetForegroundWindow();
TrackPopupMenu(...);
PostMessage(WM_NULL);


Hope this will help.


-- modified at 10:11 Friday 2nd June, 2006
Questionprogram executing error Pin
Y_Kaushik1-Jun-06 20:31
Y_Kaushik1-Jun-06 20:31 
AnswerRe: program executing error Pin
_AnsHUMAN_ 1-Jun-06 20:37
_AnsHUMAN_ 1-Jun-06 20:37 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:50
toxcct1-Jun-06 21:50 
QuestionFFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP1-Jun-06 20:29
RahulOP1-Jun-06 20:29 
AnswerRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT1-Jun-06 20:37
Hamid_RT1-Jun-06 20:37 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP1-Jun-06 21:08
RahulOP1-Jun-06 21:08 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT1-Jun-06 21:31
Hamid_RT1-Jun-06 21:31 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
RahulOP1-Jun-06 22:43
RahulOP1-Jun-06 22:43 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
Hamid_RT2-Jun-06 1:10
Hamid_RT2-Jun-06 1:10 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ [modified] Pin
RahulOP4-Jun-06 18:36
RahulOP4-Jun-06 18:36 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:24
Hamid_RT4-Jun-06 22:24 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:38
RahulOP4-Jun-06 22:38 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 22:54
Hamid_RT4-Jun-06 22:54 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 22:57
RahulOP4-Jun-06 22:57 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
Hamid_RT4-Jun-06 23:02
Hamid_RT4-Jun-06 23:02 
GeneralRe: FFMPEG(Libavcodec DLL)+VC++ Pin
RahulOP4-Jun-06 23:12
RahulOP4-Jun-06 23:12 
QuestionDevice context trouble Pin
shivditya1-Jun-06 20:29
shivditya1-Jun-06 20:29 

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.