Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Auto-update of my app? Pin
ThatsAlok14-Jan-05 2:07
ThatsAlok14-Jan-05 2:07 
GeneralRe: Auto-update of my app? Pin
Hoornet9314-Jan-05 2:37
Hoornet9314-Jan-05 2:37 
GeneralRe: Auto-update of my app? Pin
ThatsAlok14-Jan-05 18:11
ThatsAlok14-Jan-05 18:11 
AnswerRe: Auto-update of my app? Pin
Geert van Horrik24-Feb-05 1:27
Geert van Horrik24-Feb-05 1:27 
GeneralZ order Pin
Arrun13-Jan-05 1:18
Arrun13-Jan-05 1:18 
GeneralRe: Z order Pin
Shog913-Jan-05 11:51
sitebuilderShog913-Jan-05 11:51 
GeneralBitmap Picking and Moving Pin
masd7913-Jan-05 0:56
masd7913-Jan-05 0:56 
GeneralRe: Bitmap Picking and Moving Pin
KaЯl13-Jan-05 4:44
KaЯl13-Jan-05 4:44 
I would try it to do it this way:

1) When clicking the left button, create a temporary CBitmap object, compatible with a memory DC. Using this memory DC, draw the wanted area on the CBitmap.
2) When moving the mouse
a) If the CBitmap was previously drawn, draw the CBitmap in its old position using a XOR mode (that is clearing the previous drawing)
b) draw the CBitmap in its new position in XOR mode
3) When releasing the left button: clearing the drawing of the CBitmap object in its old position ( = drawing in XOR mode), update the data, delete the temporary CBitmap object, redraw the window.







Fold With Us!
Sie wollen mein Herz am rechten Fleck
Doch seh ich dann nach unten weg
Da schlägt es links

GeneralMathematics question Pin
Rassul Yunussov13-Jan-05 0:04
Rassul Yunussov13-Jan-05 0:04 
GeneralRe: Mathematics question Pin
Selvam R13-Jan-05 0:15
professionalSelvam R13-Jan-05 0:15 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer13-Jan-05 5:16
Iain Clarke, Warrior Programmer13-Jan-05 5:16 
GeneralRe: Mathematics question Pin
Rassul Yunussov18-Jan-05 19:59
Rassul Yunussov18-Jan-05 19:59 
GeneralRe: Mathematics question Pin
Iain Clarke, Warrior Programmer18-Jan-05 22:50
Iain Clarke, Warrior Programmer18-Jan-05 22:50 
QuestionPush Button Properies-Icon prompt? Pin
José Luis Sogorb12-Jan-05 23:57
José Luis Sogorb12-Jan-05 23:57 
AnswerRe: Push Button Properies-Icon prompt? Pin
Selvam R13-Jan-05 0:05
professionalSelvam R13-Jan-05 0:05 
GeneralRe: Push Button Properies-Icon prompt? Pin
José Luis Sogorb13-Jan-05 23:18
José Luis Sogorb13-Jan-05 23:18 
Generalreading from serial port Pin
doneirik12-Jan-05 23:37
doneirik12-Jan-05 23:37 
GeneralRe: reading from serial port Pin
Blake Miller13-Jan-05 4:38
Blake Miller13-Jan-05 4:38 
Questionhow to get a running application Pin
spiced12-Jan-05 23:31
spiced12-Jan-05 23:31 
AnswerRe: how to get a running application Pin
Selvam R12-Jan-05 23:42
professionalSelvam R12-Jan-05 23:42 
GeneralRe: how to get a running application Pin
spiced13-Jan-05 0:16
spiced13-Jan-05 0:16 
GeneralRe: how to get a running application Pin
ThatsAlok13-Jan-05 0:51
ThatsAlok13-Jan-05 0:51 
GeneralRe: how to get a running application Pin
spiced13-Jan-05 17:07
spiced13-Jan-05 17:07 
GeneralRe: how to get a running application Pin
ThatsAlok13-Jan-05 18:47
ThatsAlok13-Jan-05 18:47 
GeneralApplication fails in Release mode.... Pin
Jagadeesh VN12-Jan-05 23:27
Jagadeesh VN12-Jan-05 23:27 

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.