Click here to Skip to main content
15,887,135 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: std c++ structures Pin
markkuk3-Mar-06 12:18
markkuk3-Mar-06 12:18 
GeneralRe: std c++ structures Pin
Peter Charlesworth3-Mar-06 12:29
Peter Charlesworth3-Mar-06 12:29 
QuestionDoes kernel driver can invoke GetLogicalDriveStrings()? Pin
momer3-Mar-06 3:20
momer3-Mar-06 3:20 
Questionchanging brush attributes at runtime Pin
pc_dev3-Mar-06 2:09
pc_dev3-Mar-06 2:09 
AnswerRe: changing brush attributes at runtime Pin
Chris Losinger3-Mar-06 2:15
professionalChris Losinger3-Mar-06 2:15 
General[OT] Pin
toxcct3-Mar-06 2:35
toxcct3-Mar-06 2:35 
GeneralRe: [OT] Pin
Chris Losinger3-Mar-06 3:03
professionalChris Losinger3-Mar-06 3:03 
GeneralRe: changing brush attributes at runtime Pin
pc_dev3-Mar-06 3:26
pc_dev3-Mar-06 3:26 
Thanks for reply.

Chris Losinger wrote:
create them both at the start of your app, and destroy them both at the end

If there were only two brushes needed then I would do the same but in my case i can't tell how much brushes will be needed, eg 1000.

in above case the best option is to create on eand change its attributes at run time.
GeneralRe: changing brush attributes at runtime Pin
Chris Losinger3-Mar-06 3:53
professionalChris Losinger3-Mar-06 3:53 
AnswerRe: changing brush attributes at runtime Pin
Stephen Hewitt3-Mar-06 2:17
Stephen Hewitt3-Mar-06 2:17 
AnswerRe: changing brush attributes at runtime Pin
Gary R. Wheeler3-Mar-06 12:36
Gary R. Wheeler3-Mar-06 12:36 
QuestionMouse hook Pin
kk_mfc3-Mar-06 1:18
kk_mfc3-Mar-06 1:18 
AnswerRe: Mouse hook Pin
Naveen3-Mar-06 2:21
Naveen3-Mar-06 2:21 
GeneralRe: Mouse hook Pin
kk_mfc5-Mar-06 18:44
kk_mfc5-Mar-06 18:44 
GeneralRe: Mouse hook Pin
Naveen6-Mar-06 1:37
Naveen6-Mar-06 1:37 
Questionline count Pin
caykahve3-Mar-06 1:06
caykahve3-Mar-06 1:06 
AnswerRe: line count Pin
toxcct3-Mar-06 1:35
toxcct3-Mar-06 1:35 
GeneralRe: line count Pin
caykahve3-Mar-06 2:14
caykahve3-Mar-06 2:14 
AnswerRe: line count Pin
Jack Puppy3-Mar-06 2:11
Jack Puppy3-Mar-06 2:11 
QuestionCertification Pin
arunperi3-Mar-06 1:04
arunperi3-Mar-06 1:04 
AnswerRe: Certification Pin
pc_dev3-Mar-06 3:32
pc_dev3-Mar-06 3:32 
AnswerRe: Certification Pin
David Crow3-Mar-06 3:52
David Crow3-Mar-06 3:52 
QuestionHow to do complex window UI? Pin
derek73-Mar-06 0:58
derek73-Mar-06 0:58 
AnswerRe: How to do complex window UI? Pin
Maximilien3-Mar-06 2:32
Maximilien3-Mar-06 2:32 
QuestionCListCtrl item height Pin
Naveen3-Mar-06 0:51
Naveen3-Mar-06 0:51 

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.