Click here to Skip to main content
15,921,716 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 4:42
includeh1022-Oct-03 4:42 
AnswerRe: How do you remove focus from a listbox manually? Pin
G. Steudtel22-Oct-03 5:08
G. Steudtel22-Oct-03 5:08 
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:17
sussKelly R22-Oct-03 5:17 
AnswerRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 5:13
David Crow22-Oct-03 5:13 
GeneralRe: How do you remove focus from a listbox manually? Pin
Kelly R22-Oct-03 5:31
sussKelly R22-Oct-03 5:31 
GeneralRe: How do you remove focus from a listbox manually? Pin
includeh1022-Oct-03 8:28
includeh1022-Oct-03 8:28 
GeneralRe: How do you remove focus from a listbox manually? Pin
David Crow22-Oct-03 8:55
David Crow22-Oct-03 8:55 
Generala simple Q about command.com Pin
includeh1022-Oct-03 4:26
includeh1022-Oct-03 4:26 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:04
sussKelly R22-Oct-03 5:04 
GeneralRe: a simple Q about command.com Pin
Kelly R22-Oct-03 5:09
sussKelly R22-Oct-03 5:09 
GeneralRe: a simple Q about command.com Pin
David Crow22-Oct-03 5:30
David Crow22-Oct-03 5:30 
GeneralRe: a simple Q about command.com Pin
Steve S22-Oct-03 6:01
Steve S22-Oct-03 6:01 
GeneralGetModuleFileName returning blank! Pin
ns22-Oct-03 3:59
ns22-Oct-03 3:59 
GeneralRe: GetModuleFileName returning blank! Pin
jhwurmbach22-Oct-03 4:16
jhwurmbach22-Oct-03 4:16 
Generalthanks., got it! Pin
ns22-Oct-03 4:37
ns22-Oct-03 4:37 
GeneralRe: GetModuleFileName returning blank! Pin
Moonspellwizard22-Oct-03 21:09
Moonspellwizard22-Oct-03 21:09 
GeneralApplication to control another Windows App Pin
Member 18130722-Oct-03 2:36
Member 18130722-Oct-03 2:36 
GeneralRe: Application to control another Windows App Pin
includeh1022-Oct-03 4:31
includeh1022-Oct-03 4:31 
GeneralRe: Application to control another Windows App Pin
Member 18130723-Oct-03 2:32
Member 18130723-Oct-03 2:32 
GeneralError deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 2:05
Atif Mushtaq22-Oct-03 2:05 
GeneralRe: Error deleteing BYTE array Pin
Ryan_Roberts22-Oct-03 2:26
Ryan_Roberts22-Oct-03 2:26 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 3:14
Atif Mushtaq22-Oct-03 3:14 
GeneralRe: Error deleteing BYTE array Pin
David Crow22-Oct-03 2:51
David Crow22-Oct-03 2:51 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 3:12
Atif Mushtaq22-Oct-03 3:12 
GeneralRe: Error deleteing BYTE array Pin
David Crow22-Oct-03 3:18
David Crow22-Oct-03 3:18 
Atif Mushtaq wrote:
On arrival of next packet i delete old memory and allocate new one.

This doesn't sound like "read only mode" to me.

Unless you need more memory, there's no need to continually reallocate the same memory. Just use memset(), or ZeroMemory() to "clear" that memory location.


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

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.