Click here to Skip to main content
15,881,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get String size Height and Width Pin
Joe Woodbury23-Mar-09 12:24
professionalJoe Woodbury23-Mar-09 12:24 
QuestionVIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 0:24
pabloesso23-Mar-09 0:24 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 2:52
Jonathan Davies23-Mar-09 2:52 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 3:32
Jonathan Davies23-Mar-09 3:32 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 3:40
pabloesso23-Mar-09 3:40 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso24-Mar-09 1:23
pabloesso24-Mar-09 1:23 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 7:02
pabloesso29-Mar-09 7:02 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 7:16
pabloesso29-Mar-09 7:16 
Ok,
below is the screenshot of my application. You can see the camera stream on the left side of the window and the TextOut results.


http://www.fileden.com/files/2009/3/19/2370332/aaa.jpg


And the code below:


 BeginPaint(hWnd,&ps);
SetBitmapBits(g_hFrameBitmap, g_nImageWidth*g_nImageHeight*3, lpVHdr->lpData);
SetBkMode(g_hFrameDC,TRANSPARENT);
SelectObject(g_hFrameDC, FONTmain);
SetTextColor(g_hFrameDC,RGB(0,0,0));
hPen = CreatePen(0, 1, RGB(210,210,210));
SelectObject(g_hFrameDC, hPen);
Rectangle(g_hFrameDC,  0,0,  320,20);
TextOut(g_hFrameDC,2,2,"AAAAAAAAAAA",10);
GetBitmapBits(g_hFrameBitmap,320*240*3,lpVHdr->lpData);
EndPaint(hWnd,&ps);

QuestionDoubt in Run time polymerphisim Pin
Cool_Phillip23-Mar-09 0:04
Cool_Phillip23-Mar-09 0:04 
AnswerRe: Doubt in Run time polymerphisim Pin
«_Superman_»23-Mar-09 0:06
professional«_Superman_»23-Mar-09 0:06 
AnswerRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 0:11
mveCPallini23-Mar-09 0:11 
GeneralRe: Doubt in Run time polymerphisim Pin
Cool_Phillip23-Mar-09 1:08
Cool_Phillip23-Mar-09 1:08 
GeneralRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 1:17
mveCPallini23-Mar-09 1:17 
QuestionHyperlink for send mail with use of static control? Pin
Le@rner22-Mar-09 23:51
Le@rner22-Mar-09 23:51 
AnswerRe: Hyperlink for send mail with use of static control? Pin
«_Superman_»23-Mar-09 0:04
professional«_Superman_»23-Mar-09 0:04 
GeneralRe: Hyperlink for send mail with use of static control? [modified] Pin
Le@rner23-Mar-09 0:54
Le@rner23-Mar-09 0:54 
GeneralRe: Hyperlink for send mail with use of static control? Pin
«_Superman_»23-Mar-09 1:36
professional«_Superman_»23-Mar-09 1:36 
GeneralRe: Hyperlink for send mail with use of static control? Pin
Le@rner23-Mar-09 1:48
Le@rner23-Mar-09 1:48 
QuestionHow to clean contents of a file Pin
PankajB22-Mar-09 23:33
PankajB22-Mar-09 23:33 
AnswerRe: How to clean contents of a file Pin
_AnsHUMAN_ 22-Mar-09 23:37
_AnsHUMAN_ 22-Mar-09 23:37 
GeneralRe: How to clean contents of a file Pin
PankajB22-Mar-09 23:40
PankajB22-Mar-09 23:40 
GeneralRe: How to clean contents of a file Pin
Cedric Moonen22-Mar-09 23:44
Cedric Moonen22-Mar-09 23:44 
GeneralRe: How to clean contents of a file Pin
«_Superman_»22-Mar-09 23:44
professional«_Superman_»22-Mar-09 23:44 
GeneralRe: How to clean contents of a file Pin
PankajB22-Mar-09 23:49
PankajB22-Mar-09 23:49 
GeneralRe: How to clean contents of a file Pin
«_Superman_»23-Mar-09 0:02
professional«_Superman_»23-Mar-09 0:02 

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.