Click here to Skip to main content
15,892,161 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGUID as parameter "conversion" failure Pin
Vaclav_29-Jul-13 5:00
Vaclav_29-Jul-13 5:00 
AnswerRe: GUID as parameter "conversion" failure Pin
Richard MacCutchan29-Jul-13 5:34
mveRichard MacCutchan29-Jul-13 5:34 
GeneralRe: GUID as parameter "conversion" failure Pin
Vaclav_29-Jul-13 7:31
Vaclav_29-Jul-13 7:31 
GeneralRe: GUID as parameter "conversion" failure Pin
Richard MacCutchan29-Jul-13 20:49
mveRichard MacCutchan29-Jul-13 20:49 
AnswerRe: GUID as parameter "conversion" failure Pin
Erudite_Eric29-Jul-13 21:27
Erudite_Eric29-Jul-13 21:27 
GeneralRe: GUID as parameter "conversion" failure Pin
Vaclav_30-Jul-13 4:21
Vaclav_30-Jul-13 4:21 
GeneralRe: GUID as parameter "conversion" failure Pin
Richard MacCutchan30-Jul-13 5:44
mveRichard MacCutchan30-Jul-13 5:44 
Generaldraw multiple lines and move then on screen Pin
appollosputnik28-Jul-13 5:13
appollosputnik28-Jul-13 5:13 
I am writing a pure C based win32 applications. I have drawn line. Now i want to translate that line, move the line whereved user wants to move on screen. Then again I drawn another line, I am drawing multiple lines.

I have created rectangle region for each line and trying to move the line.

When I move the 2nd line over the 1st line on screen the 1st line is getting wiped out. Because I am InvalidateRect() of the rect for the line being moved, so when that rectangle is crossing the other line then the other line is getting removed from the screen.

How can I rectify it. How can I have all the lined being on the screen and moved according to the user's wish. The code should be pure C and win32 no MFC. Please help me how can I do it. Any help is highly appreciated. Thanks Sujan
GeneralRe: draw multiple lines and move then on screen Pin
Richard MacCutchan28-Jul-13 6:23
mveRichard MacCutchan28-Jul-13 6:23 
GeneralRe: draw multiple lines and move then on screen Pin
appollosputnik28-Jul-13 6:49
appollosputnik28-Jul-13 6:49 
GeneralRe: draw multiple lines and move then on screen Pin
Richard MacCutchan28-Jul-13 7:09
mveRichard MacCutchan28-Jul-13 7:09 
GeneralRe: draw multiple lines and move then on screen Pin
Rajdeep_28-Jul-13 20:21
Rajdeep_28-Jul-13 20:21 
GeneralRe: draw multiple lines and move then on screen Pin
Erudite_Eric29-Jul-13 21:30
Erudite_Eric29-Jul-13 21:30 
GeneralRe: draw multiple lines and move then on screen Pin
leon de boer11-Aug-13 4:26
leon de boer11-Aug-13 4:26 
Questionwhat is the usage about _Out_opt_bytecapcount_ Pin
yu-jian28-Jul-13 1:00
yu-jian28-Jul-13 1:00 
AnswerRe: what is the usage about _Out_opt_bytecapcount_ Pin
Richard Andrew x6428-Jul-13 8:16
professionalRichard Andrew x6428-Jul-13 8:16 
Questionget the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 9:43
JoneLe8627-Jul-13 9:43 
AnswerRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 9:57
pasztorpisti27-Jul-13 9:57 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
JoneLe8627-Jul-13 10:00
JoneLe8627-Jul-13 10:00 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:01
pasztorpisti27-Jul-13 10:01 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 10:03
pasztorpisti27-Jul-13 10:03 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
Richard Andrew x6427-Jul-13 14:10
professionalRichard Andrew x6427-Jul-13 14:10 
GeneralRe: get the function address from it's name using IMAGE_IMPORT_DESCRIPTOR Pin
pasztorpisti27-Jul-13 14:50
pasztorpisti27-Jul-13 14:50 
QuestionRegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Vaclav_24-Jul-13 12:20
Vaclav_24-Jul-13 12:20 
AnswerRe: RegisterDeviceNotification in dbt.h undeclared identifier?? Pin
Richard Andrew x6424-Jul-13 14:08
professionalRichard Andrew x6424-Jul-13 14:08 

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.