Click here to Skip to main content
15,898,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OLE2ANSI issue in VS.Net 2003 Pin
El'Cachubrey29-Nov-04 20:25
El'Cachubrey29-Nov-04 20:25 
GeneralRe: OLE2ANSI issue in VS.Net 2003 Pin
sajpt29-Nov-04 20:48
sajpt29-Nov-04 20:48 
GeneralRe: OLE2ANSI issue in VS.Net 2003 Pin
sajpt29-Nov-04 23:22
sajpt29-Nov-04 23:22 
GeneralReading function signature from DLL... Pin
Orkun GEDiK29-Nov-04 18:50
Orkun GEDiK29-Nov-04 18:50 
GeneralRe: Reading function signature from DLL... Pin
ThatsAlok29-Nov-04 19:00
ThatsAlok29-Nov-04 19:00 
GeneralRe: Reading function signature from DLL... Pin
Orkun GEDiK29-Nov-04 20:43
Orkun GEDiK29-Nov-04 20:43 
GeneralRe: Reading function signature from DLL... Pin
ThatsAlok30-Nov-04 1:11
ThatsAlok30-Nov-04 1:11 
GeneralCopy Screen Pin
Timothy Grabrian29-Nov-04 18:09
professionalTimothy Grabrian29-Nov-04 18:09 
I'm trying to capture the whole screen, paint it in my fullscreen window, then add effects to it (transitions and such).
I have a fealing I have to use CreateCompatibleDC but I can't figure out where.

Here is a simplified version of what my code looks like:
INT ScreenWidth = GetSystemMetrics(SM_CXSCREEN);
INT ScreenHeight = GetSystemMetrics(SM_CYSCREEN);
HDC DesktopDC = GetDC(0);//I do this before my window is displayed
HDC MyDC = GetDC(hWnd);//hWnd Is my window
BitBlt(MyDC,0,0,ScreenWidth,ScreenHeight,DesktopDC,0,0,SRCCOPY);//Trying to cover my window

Any one care to help? (WIN32 API only please)

Also could you show me how to double buffer for flicker free drawing?

P.S. GDI is tough

wWw.KruncherInc.cOm
GeneralRe: Copy Screen Pin
ThatsAlok29-Nov-04 19:23
ThatsAlok29-Nov-04 19:23 
GeneralRe: Copy Screen Pin
David Crow30-Nov-04 5:42
David Crow30-Nov-04 5:42 
GeneralMsi Functions Pin
Yuvaraj N29-Nov-04 17:23
Yuvaraj N29-Nov-04 17:23 
GeneralRe: Msi Functions Pin
David Crow30-Nov-04 5:45
David Crow30-Nov-04 5:45 
Generalcombox box fields unable to select using mouse. Pin
TssPrasad29-Nov-04 17:16
sussTssPrasad29-Nov-04 17:16 
Generalcapture "End Process" event Pin
zecodela29-Nov-04 17:04
zecodela29-Nov-04 17:04 
GeneralRe: capture "End Process" event Pin
normanS30-Nov-04 2:06
normanS30-Nov-04 2:06 
GeneralRe: capture "End Process" event Pin
Blake Miller30-Nov-04 6:37
Blake Miller30-Nov-04 6:37 
GeneralRe: capture "End Process" event Pin
normanS30-Nov-04 19:29
normanS30-Nov-04 19:29 
GeneralMicrosoft common dialog control Pin
vc-programmer-29-Nov-04 16:44
vc-programmer-29-Nov-04 16:44 
GeneralRe: Microsoft common dialog control Pin
vc-programmer-29-Nov-04 19:19
vc-programmer-29-Nov-04 19:19 
GeneralSetup Project Pin
Marcus Spitzmiller29-Nov-04 16:41
Marcus Spitzmiller29-Nov-04 16:41 
GeneralActiveX question, please help. Pin
Anonymous29-Nov-04 16:03
Anonymous29-Nov-04 16:03 
GeneralRe: ActiveX question, please help. Pin
El'Cachubrey29-Nov-04 20:32
El'Cachubrey29-Nov-04 20:32 
GeneralRe: ActiveX question, please help. Pin
Anonymous1-Dec-04 11:34
Anonymous1-Dec-04 11:34 
QuestionHow to enlarge Bitmap object Pin
lisoft29-Nov-04 15:43
lisoft29-Nov-04 15:43 
AnswerRe: How to enlarge Bitmap object Pin
ThatsAlok29-Nov-04 17:09
ThatsAlok29-Nov-04 17:09 

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.