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

C / C++ / MFC

 
Generalfile system api hook/file system driver Pin
anshumanshinde14-Jul-03 18:02
anshumanshinde14-Jul-03 18:02 
GeneralRe: file system api hook/file system driver Pin
Mike Nordell14-Jul-03 20:45
Mike Nordell14-Jul-03 20:45 
GeneralRe: file system api hook/file system driver Pin
anshumanshinde14-Jul-03 21:04
anshumanshinde14-Jul-03 21:04 
GeneralRe: file system api hook/file system driver Pin
Anthony_Yio15-Jul-03 0:49
Anthony_Yio15-Jul-03 0:49 
GeneralRe: file system api hook/file system driver Pin
Mike Nordell15-Jul-03 5:22
Mike Nordell15-Jul-03 5:22 
Generalrect on top of the Text Pin
spicy_kid200014-Jul-03 17:35
spicy_kid200014-Jul-03 17:35 
GeneralRe: rect on top of the Text Pin
Dave Bryant14-Jul-03 17:46
Dave Bryant14-Jul-03 17:46 
Generalnot working Pin
spicy_kid200014-Jul-03 17:54
spicy_kid200014-Jul-03 17:54 
hi Thanks for the reply...I tried that way also, pls see the code, but not working.

Thanks very much

CFont font,font2;
CSize sz;
int x1=0,y1=0,x2=0,y2=0;
CString str=_T("HELLO WORLD");
VERIFY(font.CreateFont(
25, // nHeight
0, // nWidth
0, // nEscapement
0, // nOrientation
FW_NORMAL, // nWeight
FALSE, // bItalic
FALSE, // bUnderline
0, // cStrikeOut
ANSI_CHARSET, // nCharSet
OUT_DEFAULT_PRECIS, // nOutPrecision
CLIP_DEFAULT_PRECIS, // nClipPrecision
DEFAULT_QUALITY, // nQuality
DEFAULT_PITCH | FF_SWISS, // nPitchAndFamily
"Arial Narrow")); // lpszFacename

pDC ->SelectObject(font);

sz = pDC->GetTextExtent(str);

CPen myPen(PS_SOLID,1,RGB(10,255,10));

pDC->SelectObject(&myPen);

pDC->TextOut(5, 5, str);

pDC->Rectangle(5,5,sz.cx+5,sz.cy+5);
GeneralRe: not working Pin
Dave Bryant14-Jul-03 18:02
Dave Bryant14-Jul-03 18:02 
GeneralRe: rect on top of the Text Pin
PJ Arends14-Jul-03 18:01
professionalPJ Arends14-Jul-03 18:01 
GeneralRe: rect on top of the Text Pin
PJ Arends14-Jul-03 18:09
professionalPJ Arends14-Jul-03 18:09 
GeneralRe: rect on top of the Text Pin
spicy_kid200014-Jul-03 18:18
spicy_kid200014-Jul-03 18:18 
GeneralRe: rect on top of the Text Pin
PJ Arends14-Jul-03 18:30
professionalPJ Arends14-Jul-03 18:30 
QuestionInline Assembler Macros? Pin
Aidman14-Jul-03 16:37
Aidman14-Jul-03 16:37 
AnswerRe: Inline Assembler Macros? Pin
PJ Arends14-Jul-03 17:39
professionalPJ Arends14-Jul-03 17:39 
GeneralRe: Inline Assembler Macros? Pin
Aidman14-Jul-03 22:36
Aidman14-Jul-03 22:36 
AnswerRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 19:22
Toni7814-Jul-03 19:22 
GeneralRe: Inline Assembler Macros? Pin
Aidman14-Jul-03 22:56
Aidman14-Jul-03 22:56 
GeneralRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 23:39
Toni7814-Jul-03 23:39 
GeneralRe: Inline Assembler Macros? Pin
Ryan Binns14-Jul-03 23:18
Ryan Binns14-Jul-03 23:18 
GeneralRe: Inline Assembler Macros? Pin
Toni7814-Jul-03 23:36
Toni7814-Jul-03 23:36 
GeneralRe: Inline Assembler Macros? Pin
Ryan Binns15-Jul-03 0:48
Ryan Binns15-Jul-03 0:48 
AnswerRe: Inline Assembler Macros? Pin
TheSurrealist15-Jul-03 0:00
TheSurrealist15-Jul-03 0:00 
Generalabout using OpenDriver() Pin
gdzfy14-Jul-03 16:27
gdzfy14-Jul-03 16:27 
GeneralCPropertySheet Apply button disabled Pin
haritadala14-Jul-03 13:55
haritadala14-Jul-03 13:55 

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.