Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to make transparent Text-Labels in CDialog ? Pin
Steve S13-Aug-03 23:32
Steve S13-Aug-03 23:32 
Problem with non-stock object approach is that you may inadvertently leak GDI objects, unless you track them in the parent CDialog.

Another approach would be to derive from CStatic, use message reflection so that the object handles it's own WM_CTLCOLORSTATIC, and returns a singleton hollow brush.

The stock object null/hollow brush could be used there too, and you'd use control variables to associated dialog members to the appropriate control(s).

Steve S
GeneralRe: How to make transparent Text-Labels in CDialog ? Pin
vgrigor13-Aug-03 21:23
vgrigor13-Aug-03 21:23 
GeneralPacket Filtering Dynamically Pin
abhinarulkar13-Aug-03 5:00
abhinarulkar13-Aug-03 5:00 
GeneralMAPI architecture Pin
ranjjj13-Aug-03 4:55
ranjjj13-Aug-03 4:55 
GeneralSimple question about radio buttons Pin
Jay Hova13-Aug-03 4:44
Jay Hova13-Aug-03 4:44 
GeneralRe: Simple question about radio buttons Pin
tmangan13-Aug-03 5:03
tmangan13-Aug-03 5:03 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 5:12
Jay Hova13-Aug-03 5:12 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 5:28
David Crow13-Aug-03 5:28 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 5:37
Jay Hova13-Aug-03 5:37 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 5:53
David Crow13-Aug-03 5:53 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 6:58
Jay Hova13-Aug-03 6:58 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 7:20
David Crow13-Aug-03 7:20 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 7:42
Jay Hova13-Aug-03 7:42 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 7:47
David Crow13-Aug-03 7:47 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:00
Jay Hova13-Aug-03 8:00 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:12
David Crow13-Aug-03 8:12 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:23
Jay Hova13-Aug-03 8:23 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:42
David Crow13-Aug-03 8:42 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 8:53
Jay Hova13-Aug-03 8:53 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 8:58
David Crow13-Aug-03 8:58 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 9:08
Jay Hova13-Aug-03 9:08 
GeneralRe: Simple question about radio buttons Pin
David Crow13-Aug-03 9:15
David Crow13-Aug-03 9:15 
GeneralRe: Simple question about radio buttons Pin
Jay Hova13-Aug-03 9:32
Jay Hova13-Aug-03 9:32 
Generalconvert a string into a date Pin
si_6913-Aug-03 4:30
si_6913-Aug-03 4:30 
GeneralRe: convert a string into a date Pin
si_6913-Aug-03 4:31
si_6913-Aug-03 4:31 

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.