Click here to Skip to main content
15,904,287 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: Device context trouble Pin
Hamid_RT1-Jun-06 20:43
Hamid_RT1-Jun-06 20:43 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:10
shivditya1-Jun-06 21:10 
I tried solutions you given that day but it didnot worked.
How to get the window

CDC* pDC;// = this->GetDC();
HWND hwnd = ::GetActiveWindow();
HDC hdc = ::GetDC(hwnd);
pDC->SetOutputDC(hdc);
nextpos(pDC);


just now I tried longest path it also didnot worked.
I removed thread still I am able to get and pass the dc.
moment I assign anything to pDC it gives error

|| ART OF LIVING ||
GeneralRe: Device context trouble Pin
Hamid_RT1-Jun-06 21:35
Hamid_RT1-Jun-06 21:35 
GeneralRe: Device context trouble Pin
shivditya1-Jun-06 21:44
shivditya1-Jun-06 21:44 
Questionprogram executing error Pin
Y_Kaushik1-Jun-06 19:53
Y_Kaushik1-Jun-06 19:53 
QuestionRe: program executing error Pin
Hamid_RT1-Jun-06 20:12
Hamid_RT1-Jun-06 20:12 
AnswerRe: program executing error Pin
toxcct1-Jun-06 21:49
toxcct1-Jun-06 21:49 
QuestionClosing a invisible web browser Pin
KongHL1-Jun-06 19:47
KongHL1-Jun-06 19:47 
AnswerRe: Closing a invisible web browser Pin
Benoy Bose1-Jun-06 20:33
Benoy Bose1-Jun-06 20:33 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 21:15
KongHL1-Jun-06 21:15 
AnswerRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 21:59
ThatsAlok1-Jun-06 21:59 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:09
KongHL1-Jun-06 22:09 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 22:13
ThatsAlok1-Jun-06 22:13 
GeneralRe: Closing a invisible web browser Pin
KongHL1-Jun-06 22:18
KongHL1-Jun-06 22:18 
GeneralRe: Closing a invisible web browser Pin
ThatsAlok1-Jun-06 23:42
ThatsAlok1-Jun-06 23:42 
QuestionSDL screen in MFC applcation Pin
Manjunath S1-Jun-06 19:43
Manjunath S1-Jun-06 19:43 
QuestionRe: SDL screen in MFC applcation Pin
Hamid_RT1-Jun-06 20:11
Hamid_RT1-Jun-06 20:11 
AnswerRe: SDL screen in MFC applcation Pin
Maxwell Chen1-Jun-06 20:20
Maxwell Chen1-Jun-06 20:20 
AnswerRe: SDL screen in MFC applcation [modified] Pin
toxcct1-Jun-06 21:45
toxcct1-Jun-06 21: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.