Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Error deleteing BYTE array Pin
Atif Mushtaq22-Oct-03 20:07
Atif Mushtaq22-Oct-03 20:07 
GeneralRe: Error deleteing BYTE array Pin
jhwurmbach22-Oct-03 21:23
jhwurmbach22-Oct-03 21:23 
You can also let someone else do the tiresome work of memory management: The STL:
By defining
std:vector<BYTE> buffer;
buffer resize(4000);
you get 4000 BYTEs of memory with at
BYTE* adress = &buffer[0];
.
The length of the buffer is given by std::vector::size(), and you can reallocate using buffer.resize().
To free the memory, you can always let the buffer go out of scope.

Hope this does help you a little



Who is 'General Failure'? And why is he reading my harddisk?!?

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.