Click here to Skip to main content
15,919,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use LoadString() function in .dll Pin
Atul2324-Jan-07 21:56
Atul2324-Jan-07 21:56 
AnswerRe: How to use LoadString() function in .dll Pin
prasad_som24-Jan-07 22:06
prasad_som24-Jan-07 22:06 
QuestionRe: How to use LoadString() function in .dll Pin
David Crow25-Jan-07 3:08
David Crow25-Jan-07 3:08 
QuestionDVD Video Pin
yudhisthira24-Jan-07 21:51
yudhisthira24-Jan-07 21:51 
QuestionCreateWindow Pin
Waldermort24-Jan-07 21:45
Waldermort24-Jan-07 21:45 
AnswerRe: CreateWindow Pin
PJ Arends24-Jan-07 23:42
professionalPJ Arends24-Jan-07 23:42 
GeneralRe: CreateWindow Pin
Waldermort25-Jan-07 18:26
Waldermort25-Jan-07 18:26 
QuestionHow to Insert a CButton into a CListControl ? [modified] Pin
erajsri24-Jan-07 21:21
erajsri24-Jan-07 21:21 
Well I got this need to have a CListControl that should have a button in a given column ( Not all columns ). When this button is clicked I should catch the event and throw some actions, such as opening a dialog etc.

My question is how do I insert a CButton to a CListCtrl ?
I tried
CRect r; <br />
GetSubItemRect(r)<br />

and creating the button in this rect. But the problem is that the button doesnt get erased / painted nicely when the columns are resized. Please tell me how I could hav the Button resize / reposition when the List Control or its columns are resized. ... Or if there are any other easy ways to get the job done !

thanx a lot Smile | :)


-- modified at 3:26 Thursday 25th January, 2007
AnswerRe: How to Insert a CButton into a CListControl ? Pin
prasad_som24-Jan-07 21:37
prasad_som24-Jan-07 21:37 
AnswerRe: How to Insert a CButton into a CListControl ? Pin
Hamid_RT25-Jan-07 19:45
Hamid_RT25-Jan-07 19:45 
QuestionFriend function Pin
arun kumar kk24-Jan-07 19:42
arun kumar kk24-Jan-07 19:42 
AnswerRe: Friend function Pin
Stephen Hewitt24-Jan-07 19:53
Stephen Hewitt24-Jan-07 19:53 
AnswerRe: Friend function Pin
Hamid_RT25-Jan-07 19:45
Hamid_RT25-Jan-07 19:45 
QuestionTRACE in vc++ Pin
deeps_cute24-Jan-07 19:14
deeps_cute24-Jan-07 19:14 
AnswerRe: TRACE in vc++ Pin
Waldermort24-Jan-07 21:26
Waldermort24-Jan-07 21:26 
QuestionVC++ [modified] Pin
deeps_cute24-Jan-07 18:56
deeps_cute24-Jan-07 18:56 
QuestionRe: VC++ Pin
prasad_som24-Jan-07 19:08
prasad_som24-Jan-07 19:08 
Questionin vc++ Pin
deeps_cute24-Jan-07 17:38
deeps_cute24-Jan-07 17:38 
AnswerRe: in vc++ Pin
prasad_som24-Jan-07 17:53
prasad_som24-Jan-07 17:53 
AnswerRe: in vc++ Pin
Michael Dunn24-Jan-07 17:53
sitebuilderMichael Dunn24-Jan-07 17:53 
Questioncan any body help me in win32 Pin
amitmistry_petlad 24-Jan-07 17:36
amitmistry_petlad 24-Jan-07 17:36 
AnswerRe: can any body help me in win32 Pin
Blake Miller25-Jan-07 8:53
Blake Miller25-Jan-07 8:53 
GeneralRe: can any body help me in win32 Pin
amitmistry_petlad 28-Jan-07 19:35
amitmistry_petlad 28-Jan-07 19:35 
GeneralRe: can any body help me in win32 Pin
Blake Miller29-Jan-07 4:04
Blake Miller29-Jan-07 4:04 
AnswerRe: can any body help me in win32 Pin
Hamid_RT25-Jan-07 19:45
Hamid_RT25-Jan-07 19:45 

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.