Click here to Skip to main content
15,923,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Decrypt string Pin
ShilpiP12-Nov-08 20:38
ShilpiP12-Nov-08 20:38 
QuestionHow to create a setup for an mfc application Pin
Dhiraj kumar Saini12-Nov-08 18:26
Dhiraj kumar Saini12-Nov-08 18:26 
AnswerRe: How to create a setup for an mfc application Pin
_AnsHUMAN_ 12-Nov-08 18:29
_AnsHUMAN_ 12-Nov-08 18:29 
GeneralRe: How to create a setup for an mfc application Pin
Dhiraj kumar Saini12-Nov-08 18:47
Dhiraj kumar Saini12-Nov-08 18:47 
AnswerRe: How to create a setup for an mfc application Pin
Hamid_RT12-Nov-08 19:12
Hamid_RT12-Nov-08 19:12 
AnswerRe: How to create a setup for an mfc application Pin
Cedric Moonen12-Nov-08 20:04
Cedric Moonen12-Nov-08 20:04 
Questionlsit view item movement Pin
trioum12-Nov-08 18:26
trioum12-Nov-08 18:26 
AnswerRe: lsit view item movement Pin
Iain Clarke, Warrior Programmer13-Nov-08 3:20
Iain Clarke, Warrior Programmer13-Nov-08 3:20 
To the best of my knowledge, there is no LVM_MOVEITEMTOANOTHERPLACE message, so you'll have to write some code.

We'll assume that the item you want to move is as position N.

1/
Make a new item as position (up: N-2, down: N+2);

2/
Copy all the information from OldItem to NewItem.

3/
Delete the old item.

That's it really! Whether you read the OldItem information from the list view, or you can just regenerate it from the original data is up to you.

You also have to be careful about moving the top item up, or bottom item down. But this is a good time to add a selection handler for your list view, and disable the up and down buttons when appropriate.

Iain.
GeneralRe: lsit view item movement Pin
trioum13-Nov-08 18:25
trioum13-Nov-08 18:25 
GeneralRe: lsit view item movement Pin
Iain Clarke, Warrior Programmer13-Nov-08 22:34
Iain Clarke, Warrior Programmer13-Nov-08 22:34 
GeneralRe: lsit view item movement Pin
trioum14-Nov-08 0:12
trioum14-Nov-08 0:12 
GeneralRe: lsit view item movement Pin
Iain Clarke, Warrior Programmer14-Nov-08 0:20
Iain Clarke, Warrior Programmer14-Nov-08 0:20 
QuestionCalling MessageMap functions Pin
Anu_Bala12-Nov-08 17:57
Anu_Bala12-Nov-08 17:57 
AnswerRe: Calling MessageMap functions Pin
AtomAnt12-Nov-08 21:33
AtomAnt12-Nov-08 21:33 
GeneralRe: Calling MessageMap functions Pin
Anu_Bala12-Nov-08 22:50
Anu_Bala12-Nov-08 22:50 
GeneralRe: Calling MessageMap functions Pin
jon_fallon13-Nov-08 1:12
jon_fallon13-Nov-08 1:12 
QuestionGrid to List box Pin
Pryabu12-Nov-08 17:41
Pryabu12-Nov-08 17:41 
AnswerRe: Grid to List box Pin
ShilpiP12-Nov-08 18:14
ShilpiP12-Nov-08 18:14 
GeneralRe: Grid to List box Pin
Hamid_RT12-Nov-08 20:45
Hamid_RT12-Nov-08 20:45 
AnswerRe: Grid to List box Pin
Hamid_RT12-Nov-08 19:15
Hamid_RT12-Nov-08 19:15 
GeneralRe: Grid to List box Pin
Pryabu12-Nov-08 20:13
Pryabu12-Nov-08 20:13 
AnswerRe: Grid to List box Pin
SandipG 12-Nov-08 21:45
SandipG 12-Nov-08 21:45 
Questionrewrite programs without gotos and breaks Pin
phokojoe12-Nov-08 17:17
phokojoe12-Nov-08 17:17 
AnswerRe: rewrite programs without gotos and breaks Pin
Sarath C12-Nov-08 17:46
Sarath C12-Nov-08 17:46 
AnswerRe: rewrite programs without gotos and breaks Pin
Subrat 470826612-Nov-08 20:32
Subrat 470826612-Nov-08 20:32 

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.