Click here to Skip to main content
16,005,178 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralReusing a std::vector<> object after performing an erase() Pin
Franz Klein18-Oct-01 2:36
Franz Klein18-Oct-01 2:36 
GeneralRe: Reusing a std::vector<> object after performing an erase() Pin
Christian Graus18-Oct-01 3:07
protectorChristian Graus18-Oct-01 3:07 
GeneralRe: Reusing a std::vector<> object after performing an erase() Pin
Franz Klein18-Oct-01 4:12
Franz Klein18-Oct-01 4:12 
GeneralRe: Reusing a std::vector<> object after performing an erase() Pin
Tomasz Sowinski18-Oct-01 4:30
Tomasz Sowinski18-Oct-01 4:30 
GeneralRe: Reusing a std::vector<> object after performing an erase() Pin
Mike Burston18-Oct-01 13:05
Mike Burston18-Oct-01 13:05 
GeneralRe: Reusing a std::vector<> object after performing an erase() Pin
George Anescu18-Oct-01 5:29
George Anescu18-Oct-01 5:29 
GeneralColored Rectangles as background Pin
18-Oct-01 2:33
suss18-Oct-01 2:33 
GeneralRe: Colored Rectangles as background Pin
kumar_p318-Oct-01 3:01
kumar_p318-Oct-01 3:01 
Hi Set the Group Box's style Transparent,

In the Dialog's OnPaint, Get the 'WindowRect' of the
groupbox and convert from screen to client co-ordinates,
Then paint the rectangle with what ever color u want.

But the groupbox's text will also need to be changed
which can be done thru the WM_CTLCOLOR handler
by using the pDC->SetBkColor and SetTextColor
as u need it.

Best of luck.
Kumar

Generala question Pin
The_Server18-Oct-01 2:27
The_Server18-Oct-01 2:27 
GeneralRe: a question Pin
Andres Manggini18-Oct-01 7:12
Andres Manggini18-Oct-01 7:12 
GeneralRe: Or use WinSock API! Pin
Masaaki Onishi18-Oct-01 8:39
Masaaki Onishi18-Oct-01 8:39 
GeneralRe: a question Pin
Net Guy18-Oct-01 9:32
Net Guy18-Oct-01 9:32 
GeneralRe: a question Pin
The_Server21-Oct-01 1:00
The_Server21-Oct-01 1:00 
GeneralDynamic CMenu* Pin
Chambers18-Oct-01 1:03
Chambers18-Oct-01 1:03 
GeneralRe: Dynamic CMenu* Pin
Jon Hulatt18-Oct-01 1:40
Jon Hulatt18-Oct-01 1:40 
GeneralRe: Dynamic CMenu* Pin
kumar_p318-Oct-01 2:17
kumar_p318-Oct-01 2:17 
Generaldropdown toolbars when writing a shell namespace extension Pin
18-Oct-01 0:42
suss18-Oct-01 0:42 
GeneralConverting a CString into a CPoint Pin
18-Oct-01 0:37
suss18-Oct-01 0:37 
GeneralRe: Converting a CString into a CPoint Pin
Christian Graus18-Oct-01 2:20
protectorChristian Graus18-Oct-01 2:20 
GeneralCreateIconFromResource and cursor : plz help Pin
pepeR18-Oct-01 0:30
pepeR18-Oct-01 0:30 
GeneralTask Manager Pin
18-Oct-01 0:22
suss18-Oct-01 0:22 
GeneralRe: Task Manager Pin
kumar_p318-Oct-01 2:36
kumar_p318-Oct-01 2:36 
GeneralPalettes Pin
jerry0davis17-Oct-01 23:16
jerry0davis17-Oct-01 23:16 
GeneralRe: Palettes Pin
Jon Hulatt17-Oct-01 23:52
Jon Hulatt17-Oct-01 23:52 
GeneralRe: Palettes Pin
jerry0davis18-Oct-01 0:15
jerry0davis18-Oct-01 0:15 

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.