Click here to Skip to main content
15,909,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSir, Windows allots 4 GB space for Proccess can you tell me Pin
CodeVarma28-Jul-06 0:42
CodeVarma28-Jul-06 0:42 
AnswerRe: Sir, Windows allots 4 GB space for Proccess can you tell me Pin
Jonathan [Darka]28-Jul-06 0:55
professionalJonathan [Darka]28-Jul-06 0:55 
Questionprogrammatic gamma correction for dual monitors Pin
srboisvert28-Jul-06 0:42
srboisvert28-Jul-06 0:42 
AnswerRe: programmatic gamma correction for dual monitors Pin
Blake Miller1-Aug-06 12:56
Blake Miller1-Aug-06 12:56 
Questionquick network functionality ? Pin
ldsdbomber28-Jul-06 0:42
ldsdbomber28-Jul-06 0:42 
QuestionPrintable area Pin
Wim Engberts28-Jul-06 0:21
Wim Engberts28-Jul-06 0:21 
QuestionDraggable Circle when Mose is inside the Circle Area. Pin
uday kiran janaswamy27-Jul-06 23:57
uday kiran janaswamy27-Jul-06 23:57 
AnswerRe: Draggable Circle when Mose is inside the Circle Area. Pin
Wim Engberts28-Jul-06 0:26
Wim Engberts28-Jul-06 0:26 
Hi,

What you do is that you create a compatible device context (CreateComaptibleDC), and you create a bitmap, the size of your original bitmap (CreateCompatibleBitmap). You select this bitmap into your compatible DC.
Now, you have an area in which you can save your original background.

First, you copy the information on the screen (from the original device context) into your compatible device context, using BitBlt.
Then you draw your circle. When you act on a mouse-move event, you restore the original background again (using BitBlt, copying from your compatible DC to your original DC) and then you re-draw the circle on its new location.

If you need some more info on the subject, I could probably cut and paste some sample code from an existing project.

Have fun!
William.
GeneralRe: Draggable Circle when Mose is inside the Circle Area. Pin
uday kiran janaswamy28-Jul-06 0:58
uday kiran janaswamy28-Jul-06 0:58 
GeneralRe: Draggable Circle when Mose is inside the Circle Area. Pin
Wim Engberts28-Jul-06 1:26
Wim Engberts28-Jul-06 1:26 
GeneralRe: Draggable Circle when Mose is inside the Circle Area. Pin
uday kiran janaswamy28-Jul-06 1:32
uday kiran janaswamy28-Jul-06 1:32 
QuestionHow to add files into External dependencies fileview Pin
Vinod Moorkkan27-Jul-06 23:41
Vinod Moorkkan27-Jul-06 23:41 
AnswerRe: How to add files into External dependencies fileview Pin
toxcct27-Jul-06 23:47
toxcct27-Jul-06 23:47 
AnswerRe: How to add files into External dependencies fileview [modified] Pin
Naveen27-Jul-06 23:58
Naveen27-Jul-06 23:58 
GeneralRe: How to add files into External dependencies fileview Pin
Vinod Moorkkan28-Jul-06 0:41
Vinod Moorkkan28-Jul-06 0:41 
GeneralRe: How to add files into External dependencies fileview Pin
Naveen28-Jul-06 0:45
Naveen28-Jul-06 0:45 
QuestionIActiveDesktop error Pin
Sarath C27-Jul-06 23:32
Sarath C27-Jul-06 23:32 
AnswerRe: IActiveDesktop error Pin
Hamid_RT28-Jul-06 0:29
Hamid_RT28-Jul-06 0:29 
GeneralRe: IActiveDesktop error Pin
Sarath C28-Jul-06 0:43
Sarath C28-Jul-06 0:43 
GeneralRe: IActiveDesktop error Pin
Hamid_RT28-Jul-06 0:56
Hamid_RT28-Jul-06 0:56 
AnswerRe: IActiveDesktop error Pin
Stephen Hewitt28-Jul-06 1:10
Stephen Hewitt28-Jul-06 1:10 
QuestionAfxBeginThread Pin
tanarnelinistit27-Jul-06 23:22
tanarnelinistit27-Jul-06 23:22 
AnswerRe: AfxBeginThread Pin
Cedric Moonen27-Jul-06 23:26
Cedric Moonen27-Jul-06 23:26 
QuestionRe: AfxBeginThread Pin
tanarnelinistit27-Jul-06 23:38
tanarnelinistit27-Jul-06 23:38 
AnswerRe: AfxBeginThread Pin
Cedric Moonen27-Jul-06 23:42
Cedric Moonen27-Jul-06 23:42 

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.