Click here to Skip to main content
15,911,891 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Get Parent handle in ATL Windowless Control Pin
Roland Rüdenauer17-Sep-06 12:02
Roland Rüdenauer17-Sep-06 12:02 
Questionowner draw CReBarCtrl [modified] Pin
Max Santos26-Aug-06 6:22
Max Santos26-Aug-06 6:22 
AnswerRe: owner draw CReBarCtrl Pin
Justin Tay26-Aug-06 15:58
Justin Tay26-Aug-06 15:58 
AnswerRe: owner draw CReBarCtrl Pin
count08-Sep-06 17:50
count08-Sep-06 17:50 
Questionvector vs. CByteArray [modified] Pin
bob1697225-Aug-06 4:06
bob1697225-Aug-06 4:06 
AnswerRe: vector vs. CByteArray Pin
Stuart Dootson25-Aug-06 5:33
professionalStuart Dootson25-Aug-06 5:33 
GeneralRe: vector vs. CByteArray Pin
bob1697225-Aug-06 5:55
bob1697225-Aug-06 5:55 
GeneralRe: vector vs. CByteArray Pin
Zac Howland25-Aug-06 7:48
Zac Howland25-Aug-06 7:48 
Stuart Dootson wrote:
You might also want to investigate std::deque - this allocates storage as a linked list of blocks, meaning that new allocations don't require relocation of existing elements.


A deque is not a linked list. It is a specialized array that allows for quick insertion at both the front and back of the array. All the memory for a deque is contiguous, just as it is for a vector.

Stuart Dootson wrote:
As for GrowBy - you're out of luck there


Not really. If you really want to customize how memory allocation is done for a given STL container, you just need to write your own allocator and pass it in as the second template parameter. This is generally not needed since the default allocator is sufficient for almost all cases, though.

If you decide to become a software engineer, you are signing up to have a 1/2" piece of silicon tell you exactly how stupid you really are for 8 hours a day, 5 days a week

Zac

GeneralRe: vector vs. CByteArray Pin
Stuart Dootson28-Aug-06 21:13
professionalStuart Dootson28-Aug-06 21:13 
GeneralRe: vector vs. CByteArray Pin
Zac Howland29-Aug-06 4:26
Zac Howland29-Aug-06 4:26 
GeneralRe: vector vs. CByteArray Pin
Jörgen Sigvardsson30-Aug-06 21:25
Jörgen Sigvardsson30-Aug-06 21:25 
QuestionHow to use WTL's CDoubleBufferImpl Pin
shaohao25-Aug-06 4:04
shaohao25-Aug-06 4:04 
AnswerRe: How to use WTL's CDoubleBufferImpl Pin
Stuart Dootson25-Aug-06 5:34
professionalStuart Dootson25-Aug-06 5:34 
AnswerRe: How to use WTL's CDoubleBufferImpl Pin
Michael Dunn25-Aug-06 7:39
sitebuilderMichael Dunn25-Aug-06 7:39 
QuestionCalling a ATL COM DLL interface from VBScript routine Pin
AKSIVAKUMAR23-Aug-06 23:11
AKSIVAKUMAR23-Aug-06 23:11 
QuestionHow does the WTL CString compare with CString from MFC? Pin
TClarke23-Aug-06 6:43
TClarke23-Aug-06 6:43 
AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Stuart Dootson23-Aug-06 8:48
professionalStuart Dootson23-Aug-06 8:48 
AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Zac Howland23-Aug-06 9:54
Zac Howland23-Aug-06 9:54 
AnswerRe: How does the WTL CString compare with CString from MFC? Pin
Michael Dunn23-Aug-06 11:56
sitebuilderMichael Dunn23-Aug-06 11:56 
GeneralRe: How does the WTL CString compare with CString from MFC? Pin
TClarke23-Aug-06 23:06
TClarke23-Aug-06 23:06 
QuestionUsing WTL with ATL to enhance ActiveX controls Pin
TClarke23-Aug-06 6:39
TClarke23-Aug-06 6:39 
AnswerRe: Using WTL with ATL to enhance ActiveX controls Pin
Jörgen Sigvardsson26-Aug-06 9:24
Jörgen Sigvardsson26-Aug-06 9:24 
GeneralRe: Using WTL with ATL to enhance ActiveX controls Pin
TClarke28-Aug-06 22:26
TClarke28-Aug-06 22:26 
QuestionSorting Multidimensional arrays Pin
Ratish Philip22-Aug-06 17:41
Ratish Philip22-Aug-06 17:41 
AnswerRe: Sorting Multidimensional arrays Pin
Stuart Dootson22-Aug-06 21:20
professionalStuart Dootson22-Aug-06 21:20 

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.