Click here to Skip to main content
15,906,816 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks25-Oct-09 20:35
Neville Franks25-Oct-09 20:35 
AnswerRe: Move a bitmap around a window quickly in C++ Pin
Stuart Dootson26-Oct-09 1:07
professionalStuart Dootson26-Oct-09 1:07 
GeneralRe: Move a bitmap around a window quickly in C++ Pin
Neville Franks26-Oct-09 10:10
Neville Franks26-Oct-09 10:10 
QuestionEscape Key Pin
MrMcIntyre25-Oct-09 9:27
MrMcIntyre25-Oct-09 9:27 
AnswerRe: Escape Key Pin
Iain Clarke, Warrior Programmer25-Oct-09 9:40
Iain Clarke, Warrior Programmer25-Oct-09 9:40 
GeneralRe: Escape Key Pin
MrMcIntyre25-Oct-09 10:01
MrMcIntyre25-Oct-09 10:01 
GeneralRe: Escape Key Pin
Richard MacCutchan25-Oct-09 12:42
mveRichard MacCutchan25-Oct-09 12:42 
QuestionHello! I urgently need the program code. Help me with!! Pin
vudvpro25-Oct-09 8:48
vudvpro25-Oct-09 8:48 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
CPallini25-Oct-09 9:07
mveCPallini25-Oct-09 9:07 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
Rajesh R Subramanian25-Oct-09 9:32
professionalRajesh R Subramanian25-Oct-09 9:32 
RantRe: Hello! I urgently need the program code. Help me with!! Pin
Iain Clarke, Warrior Programmer25-Oct-09 10:01
Iain Clarke, Warrior Programmer25-Oct-09 10:01 
GeneralRe: Hello! I urgently need the program code. Help me with!! Pin
vudvpro26-Oct-09 9:57
vudvpro26-Oct-09 9:57 
AnswerRe: Hello! I urgently need the program code. Help me with!! Pin
Richard MacCutchan25-Oct-09 13:20
mveRichard MacCutchan25-Oct-09 13:20 
JokeRe: Hello! I urgently need the program code. Help me with!! Pin
David Crow26-Oct-09 3:46
David Crow26-Oct-09 3:46 
Questionint returned as binary no. from CListCtrl::InsertItem Pin
Manmohan2925-Oct-09 8:29
Manmohan2925-Oct-09 8:29 
AnswerRe: int returned as binary no. from CListCtrl::InsertItem Pin
Richard MacCutchan25-Oct-09 8:46
mveRichard MacCutchan25-Oct-09 8:46 
Manmohan29 wrote:
In my MFC program the int 10 (ten) is treated as binary 10 (one & zero) i.e. == 2.


This is definitely not true.

I think the problem may be that your ListCtrl is automatically sorting the entries as you add them. So you add "192.168.0.0", "192.168.0.1" etc. Then when you insert "192.168.0.10" it will be inserted in position 2 between "192.168.0.1" and "192.168.0.2". It may be better to ensure that you format the numbers with 3 digits in every case, or turn off the auto sort feature of the ListCtrl.
GeneralRe: int returned as binary no. from CListCtrl::InsertItem Pin
Manmohan2925-Oct-09 8:54
Manmohan2925-Oct-09 8:54 
GeneralRe: int returned as binary no. from CListCtrl::InsertItem Pin
Iain Clarke, Warrior Programmer25-Oct-09 9:42
Iain Clarke, Warrior Programmer25-Oct-09 9:42 
GeneralRe: int returned as binary no. from CListCtrl::InsertItem Pin
Manmohan2925-Oct-09 9:51
Manmohan2925-Oct-09 9:51 
GeneralRe: int returned as binary no. from CListCtrl::InsertItem Pin
Richard MacCutchan25-Oct-09 12:27
mveRichard MacCutchan25-Oct-09 12:27 
JokeRe: int returned as binary no. from CListCtrl::InsertItem Pin
CPallini25-Oct-09 9:17
mveCPallini25-Oct-09 9:17 
AnswerRe: int returned as binary no. from CListCtrl::InsertItem Pin
«_Superman_»25-Oct-09 8:55
professional«_Superman_»25-Oct-09 8:55 
GeneralRe: int returned as binary no. from CListCtrl::InsertItem Pin
Manmohan2925-Oct-09 9:07
Manmohan2925-Oct-09 9:07 
AnswerRe: int returned as binary no. from CListCtrl::InsertItem Pin
Manmohan2925-Oct-09 9:46
Manmohan2925-Oct-09 9:46 
QuestionIPC Programme Need Help ! Pin
appollosputnik25-Oct-09 8:04
appollosputnik25-Oct-09 8:04 

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.