Click here to Skip to main content
15,905,420 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThe cursor does not include the table being modified or the table is not updatable through the curso Pin
V K 222-Oct-08 0:05
V K 222-Oct-08 0:05 
QuestionRe: The cursor does not include the table being modified or the table is not updatable through the curso Pin
David Crow22-Oct-08 3:32
David Crow22-Oct-08 3:32 
AnswerCross-post (1/3) Pin
Wendelius27-Oct-08 9:20
mentorWendelius27-Oct-08 9:20 
QuestionError 1917 RPC_X_PIPE_DISCIPLINE_ERROR 'The RPC call completed before all pipes were processed' with WriteEncryptedFileRaw() Pin
anayskulkarni21-Oct-08 23:57
anayskulkarni21-Oct-08 23:57 
QuestionHow to retrieve password policy settings programmatically ? [modified] Pin
Prince George21-Oct-08 23:47
Prince George21-Oct-08 23:47 
QuestionGraphic tool library advice wanted [modified] Pin
Iain Clarke, Warrior Programmer21-Oct-08 23:00
Iain Clarke, Warrior Programmer21-Oct-08 23:00 
QuestionHow do I copy the contents of a CListCtrl object ? Pin
SherTeks21-Oct-08 22:14
SherTeks21-Oct-08 22:14 
AnswerRe: How do I copy the contents of a CListCtrl object ? Pin
Iain Clarke, Warrior Programmer21-Oct-08 22:38
Iain Clarke, Warrior Programmer21-Oct-08 22:38 
There is no LB_CLONE_FROM_OTHER list control message, so you're going to have to roll your sleeves up and do it yourself.

If you already have code to fill up the first control, can you move that into a function, and call it with either CListCtrl * or a dlg ID?

Or if this will change over time, write a cloning function? Get the number of columns / rows of the first control, set the second one to the same. Call GetItem a lot on the first control, and SetItem a lot on the second?

You'll have to be careful. One thing I can think of is an items lParam - if it is a casted pointer, can you use the same pointer? Or make a new object to point to? Etc. That sort of thing is application specific though.

Iain.
QuestionShortcut key function Pin
RNarayan21-Oct-08 21:41
RNarayan21-Oct-08 21:41 
AnswerRe: Shortcut key function Pin
Iain Clarke, Warrior Programmer21-Oct-08 21:52
Iain Clarke, Warrior Programmer21-Oct-08 21:52 
QuestionHow to Check if a sofware is installed in system or not [modified] Pin
divilin thiyagaraj21-Oct-08 21:16
divilin thiyagaraj21-Oct-08 21:16 
AnswerRe: Check if a sofware is installed in system or not Pin
rrrado21-Oct-08 21:51
rrrado21-Oct-08 21:51 
GeneralRe: Check if a sofware is installed in system or not Pin
divilin thiyagaraj21-Oct-08 22:03
divilin thiyagaraj21-Oct-08 22:03 
AnswerRe: How to Check if a sofware is installed in system or not Pin
David Crow22-Oct-08 3:40
David Crow22-Oct-08 3:40 
GeneralRe: How to Check if a sofware is installed in system or not Pin
divilin thiyagaraj22-Oct-08 20:03
divilin thiyagaraj22-Oct-08 20:03 
GeneralRe: How to Check if a sofware is installed in system or not Pin
Anup N23-Oct-08 1:47
Anup N23-Oct-08 1:47 
GeneralRe: How to Check if a sofware is installed in system or not Pin
David Crow23-Oct-08 3:08
David Crow23-Oct-08 3:08 
Questionmfc sdi help Pin
soongez21-Oct-08 21:08
soongez21-Oct-08 21:08 
AnswerRe: mfc sdi help Pin
Cedric Moonen21-Oct-08 21:26
Cedric Moonen21-Oct-08 21:26 
Questionquestion for avcodec_open of ffmpeg Pin
finn_nast21-Oct-08 20:46
finn_nast21-Oct-08 20:46 
AnswerRe: question for avcodec_open of ffmpeg Pin
SandipG 21-Oct-08 21:36
SandipG 21-Oct-08 21:36 
AnswerRe: question for avcodec_open of ffmpeg Pin
sashoalm21-Oct-08 23:48
sashoalm21-Oct-08 23:48 
GeneralRe: question for avcodec_open of ffmpeg Pin
finn_nast22-Oct-08 0:11
finn_nast22-Oct-08 0:11 
GeneralRe: question for avcodec_open of ffmpeg Pin
sashoalm22-Oct-08 0:49
sashoalm22-Oct-08 0:49 
GeneralRe: question for avcodec_open of ffmpeg Pin
finn_nast22-Oct-08 1:26
finn_nast22-Oct-08 1:26 

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.