Click here to Skip to main content
15,925,444 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: error C2664: 'strcpy' : cannot convert parameter 1 from 'union tagCY' to 'char *' Pin
David Crow6-Nov-06 4:36
David Crow6-Nov-06 4:36 
QuestionInsert data Pin
With_problem5-Nov-06 17:26
With_problem5-Nov-06 17:26 
QuestionOpenPrinter error Pin
Archyami5-Nov-06 17:09
Archyami5-Nov-06 17:09 
AnswerRe: OpenPrinter error Pin
Waldermort5-Nov-06 18:11
Waldermort5-Nov-06 18:11 
AnswerRe: OpenPrinter error Pin
Hamid_RT5-Nov-06 18:39
Hamid_RT5-Nov-06 18:39 
GeneralOwner drawn status bar and the sizegrip [modified] Pin
PJ Arends5-Nov-06 16:09
professionalPJ Arends5-Nov-06 16:09 
GeneralRe: Owner drawn status bar and the sizegrip Pin
Nibu babu thomas5-Nov-06 18:15
Nibu babu thomas5-Nov-06 18:15 
GeneralRe: Owner drawn status bar and the sizegrip Pin
Waldermort5-Nov-06 18:21
Waldermort5-Nov-06 18:21 
The DC you are drawing to is the DC for the whole window, in this case the status bar. So basically anything you draw to it is going to overwrite anything beneath it. What you need to do is calculate the space for each item you are drawing, and make sure it only draws into that rect. My guess is that you need to subtract from the rectangle provided to DrawItem() the width of the gripper, leaving space to draw the gripper. From the picture I see you also have a progress bar, you should also resize that otherwise it is going to get clipped also.
GeneralRe: Owner drawn status bar and the sizegrip Pin
PJ Arends5-Nov-06 21:51
professionalPJ Arends5-Nov-06 21:51 
QuestionFTP REST command Pin
rayong5-Nov-06 6:53
rayong5-Nov-06 6:53 
AnswerRe: FTP REST command Pin
kakan5-Nov-06 19:21
professionalkakan5-Nov-06 19:21 
GeneralRe: FTP REST command Pin
rayong5-Nov-06 22:23
rayong5-Nov-06 22:23 
QuestionVS2005 Preprocessor quirks [modified] Pin
#realJSOP5-Nov-06 3:41
professional#realJSOP5-Nov-06 3:41 
AnswerRe: VS2005 Preprocessor quirks Pin
Sceptic Mole5-Nov-06 8:17
Sceptic Mole5-Nov-06 8:17 
GeneralRe: VS2005 Preprocessor quirks Pin
#realJSOP5-Nov-06 23:52
professional#realJSOP5-Nov-06 23:52 
AnswerRe: Modal floating controlbar Pin
Nibu babu thomas5-Nov-06 18:12
Nibu babu thomas5-Nov-06 18:12 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas13-Nov-06 21:22
Nibu babu thomas13-Nov-06 21:22 
GeneralRe: Modal floating controlbar Pin
Nibu babu thomas14-Nov-06 16:26
Nibu babu thomas14-Nov-06 16:26 
QuestionRussian Project [modified] Pin
Hadi Dayvary4-Nov-06 23:59
professionalHadi Dayvary4-Nov-06 23:59 
AnswerRe: Russian Project Pin
A_Fa5-Nov-06 0:10
A_Fa5-Nov-06 0:10 
AnswerRe: Russian Project Pin
Waldermort5-Nov-06 0:11
Waldermort5-Nov-06 0:11 
GeneralRe: Russian Project Pin
Hadi Dayvary5-Nov-06 0:44
professionalHadi Dayvary5-Nov-06 0:44 
GeneralRe: Russian Project Pin
Waldermort5-Nov-06 1:29
Waldermort5-Nov-06 1:29 
QuestionCalculating free space Pin
Waldermort4-Nov-06 22:42
Waldermort4-Nov-06 22:42 
AnswerRe: Calculating free space [modified] Pin
Stephen Hewitt5-Nov-06 11:47
Stephen Hewitt5-Nov-06 11:47 

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.