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

C / C++ / MFC

 
Generalcrashes in GetWindowPlacement Pin
ns14-Jan-03 10:49
ns14-Jan-03 10:49 
GeneralRe: crashes in GetWindowPlacement Pin
Nitron15-Jan-03 14:41
Nitron15-Jan-03 14:41 
GeneralGetActiveView - Pin
ns14-Jan-03 10:42
ns14-Jan-03 10:42 
Generalneed to get to Viewclass from mainframe Pin
ns14-Jan-03 10:31
ns14-Jan-03 10:31 
Questionhow do you attach a dialog resource to tab pages Pin
joshfl14-Jan-03 9:37
joshfl14-Jan-03 9:37 
AnswerRe: how do you attach a dialog resource to tab pages Pin
Nitron15-Jan-03 14:45
Nitron15-Jan-03 14:45 
QuestionHow do I draw a border around text? Pin
clintsinger14-Jan-03 9:29
clintsinger14-Jan-03 9:29 
AnswerRe: How do I draw a border around text? Pin
Chris Losinger14-Jan-03 10:15
professionalChris Losinger14-Jan-03 10:15 
use GetTextExtent or DrawTextEx with the DT_CALCRECT flag to find the size of the text. then draw a rect of the appropriate size at the appropriate place. that's a rectangular border.

if you actually want an outline around the individual characters (like you might find in a graphics package), then you're in for some work. one way is to draw it slightly larger in black, then draw normal size on top - one character at a time. or, you could draw the text, use some kind of filter to detect the border, overlay the images, etc..

-c



I'm not the droid you're looking for.

GeneralRe: How do I draw a border around text? Pin
clintsinger14-Jan-03 11:27
clintsinger14-Jan-03 11:27 
GeneralRe: How do I draw a border around text? Pin
Chris Losinger14-Jan-03 12:24
professionalChris Losinger14-Jan-03 12:24 
AnswerRe: How do I draw a border around text? Pin
benjymous14-Jan-03 23:02
benjymous14-Jan-03 23:02 
GeneralSHBrowseForFolder in c code gives->'Release' : is not a member of 'IMalloc' Pin
KoftaMan14-Jan-03 9:19
KoftaMan14-Jan-03 9:19 
GeneralRe: SHBrowseForFolder in c code gives->'Release' : is not a member of 'IMalloc' Pin
Stefan Pedersen14-Jan-03 9:53
Stefan Pedersen14-Jan-03 9:53 
GeneralRe: SHBrowseForFolder in c code gives->'Release' : is not a member of 'IMalloc' Pin
KoftaMan14-Jan-03 10:00
KoftaMan14-Jan-03 10:00 
GeneralRe: SHBrowseForFolder in c code gives->'Release' : is not a member of 'IMalloc' Pin
KoftaMan14-Jan-03 10:20
KoftaMan14-Jan-03 10:20 
GeneralNULL pView pointer Pin
ns14-Jan-03 8:05
ns14-Jan-03 8:05 
GeneralRe: NULL pView pointer Pin
Paul Belikian14-Jan-03 9:01
Paul Belikian14-Jan-03 9:01 
GeneralRe: NULL pView pointer Pin
ns14-Jan-03 10:09
ns14-Jan-03 10:09 
GeneralRe: NULL pView pointer Pin
ns14-Jan-03 10:11
ns14-Jan-03 10:11 
Generaltried your way but.....??? Pin
ns14-Jan-03 10:19
ns14-Jan-03 10:19 
GeneralRe: tried your way but.....??? Pin
Paul Belikian14-Jan-03 13:00
Paul Belikian14-Jan-03 13:00 
GeneralRe: tried your way but.....??? Pin
ns15-Jan-03 4:45
ns15-Jan-03 4:45 
GeneralFinding the z-order of a window Pin
Chris Sutcliffe14-Jan-03 7:23
sussChris Sutcliffe14-Jan-03 7:23 
GeneralAdding a option to start the program on boot-up.. Pin
RobJones14-Jan-03 7:02
RobJones14-Jan-03 7:02 
GeneralHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run Pin
AlexO14-Jan-03 7:31
AlexO14-Jan-03 7: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.