Click here to Skip to main content
15,914,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionA question about bitmap ? Pin
Leesen22-Nov-01 21:57
Leesen22-Nov-01 21:57 
AnswerRe: A question about bitmap ? Pin
Nish Nishant22-Nov-01 22:27
sitebuilderNish Nishant22-Nov-01 22:27 
GeneralA bug concerning 2 threads in my program Pin
22-Nov-01 21:13
suss22-Nov-01 21:13 
GeneralRe: A bug concerning 2 threads in my program Pin
Joaquín M López Muñoz22-Nov-01 22:21
Joaquín M López Muñoz22-Nov-01 22:21 
GeneralHandle of one window. Pin
22-Nov-01 21:01
suss22-Nov-01 21:01 
GeneralRe: Handle of one window. Pin
Nish Nishant22-Nov-01 21:26
sitebuilderNish Nishant22-Nov-01 21:26 
GeneralRe: Handle of one window. Pin
25-Nov-01 21:15
suss25-Nov-01 21:15 
GeneralCustom control for displaying status Pin
Christopher Lord22-Nov-01 18:32
Christopher Lord22-Nov-01 18:32 
I am wondering if anyone could give me some pointers on making a reuseable control that has the following features.

It needs to be able to display small 16x16 icons in the position i want. no text, perhaps a tooltip.

Next, it has to change the icons when i want to... this is fairly easy.

And finally, it has to have a focus rect around the currently selected bitmap, and this selection must be retrivable by a call into it, also easy.


what i need advice on, is would I subclass out of a generic static control to do this, or would it be better to slap some bitmaps into a gdi surface?
Is there a good totorial on creating controls such as this, or, how would i go about making this out of pure gdi?

thanks for your tips!

GeneralRe: Custom control for displaying status Pin
Michael Dunn22-Nov-01 19:47
sitebuilderMichael Dunn22-Nov-01 19:47 
GeneralRe: Is CSocket "secure"? Pin
Nish Nishant22-Nov-01 19:08
sitebuilderNish Nishant22-Nov-01 19:08 
GeneralRe: Is CSocket "secure"? Pin
Rashid Thadha22-Nov-01 22:34
Rashid Thadha22-Nov-01 22:34 
GeneralText Processing Pin
Nick Parker22-Nov-01 18:07
protectorNick Parker22-Nov-01 18:07 
GeneralRe: Text Processing Pin
Michael Dunn22-Nov-01 19:50
sitebuilderMichael Dunn22-Nov-01 19:50 
GeneralRe: Text Processing Pin
Nick Parker23-Nov-01 4:09
protectorNick Parker23-Nov-01 4:09 
GeneralRe: Text Processing Pin
Michael Dunn23-Nov-01 8:14
sitebuilderMichael Dunn23-Nov-01 8:14 
GeneralRe: Text Processing Pin
Nick Parker23-Nov-01 10:57
protectorNick Parker23-Nov-01 10:57 
GeneralRe: Text Processing Pin
Michael Dunn23-Nov-01 11:17
sitebuilderMichael Dunn23-Nov-01 11:17 
GeneralRe: Text Processing Pin
Nick Parker24-Nov-01 1:54
protectorNick Parker24-Nov-01 1:54 
GeneralEnumPrinters function Pin
Brett G.22-Nov-01 16:49
Brett G.22-Nov-01 16:49 
QuestionHow to display a bitmap of 24 bits correctly?? Pin
Leesen22-Nov-01 16:23
Leesen22-Nov-01 16:23 
AnswerRe: How to display a bitmap of 24 bits correctly?? Pin
Christian Graus22-Nov-01 16:38
protectorChristian Graus22-Nov-01 16:38 
GeneralRe: How to display a bitmap of 24 bits correctly?? Pin
Leesen22-Nov-01 16:48
Leesen22-Nov-01 16:48 
GeneralRe: How to display a bitmap of 24 bits correctly?? Pin
Christian Graus22-Nov-01 17:21
protectorChristian Graus22-Nov-01 17:21 
GeneralSorting the CStringArray Pin
Tili22-Nov-01 15:11
Tili22-Nov-01 15:11 
GeneralRe: Sorting the CStringArray Pin
Christian Graus22-Nov-01 16:42
protectorChristian Graus22-Nov-01 16:42 

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.