Click here to Skip to main content
15,796,179 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Get String size Height and Width Pin
Joe Woodbury23-Mar-09 13:24
professionalJoe Woodbury23-Mar-09 13:24 
QuestionVIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 1:24
pabloesso23-Mar-09 1:24 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 3:52
Jonathan Davies23-Mar-09 3:52 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
Jonathan Davies23-Mar-09 4:32
Jonathan Davies23-Mar-09 4:32 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso23-Mar-09 4:40
pabloesso23-Mar-09 4:40 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso24-Mar-09 2:23
pabloesso24-Mar-09 2:23 
GeneralRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 8:02
pabloesso29-Mar-09 8:02 
AnswerRe: VIDEO FOR WINDOWS - drawing TEXTOUT Pin
pabloesso29-Mar-09 8:16
pabloesso29-Mar-09 8: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 1:04
Cool_Phillip23-Mar-09 1:04 
AnswerRe: Doubt in Run time polymerphisim Pin
«_Superman_»23-Mar-09 1:06
professional«_Superman_»23-Mar-09 1:06 
AnswerRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 1:11
mveCPallini23-Mar-09 1:11 
GeneralRe: Doubt in Run time polymerphisim Pin
Cool_Phillip23-Mar-09 2:08
Cool_Phillip23-Mar-09 2:08 
GeneralRe: Doubt in Run time polymerphisim Pin
CPallini23-Mar-09 2:17
mveCPallini23-Mar-09 2:17 
QuestionHyperlink for send mail with use of static control? Pin
Le@rner23-Mar-09 0:51
Le@rner23-Mar-09 0:51 
AnswerRe: Hyperlink for send mail with use of static control? Pin
«_Superman_»23-Mar-09 1:04
professional«_Superman_»23-Mar-09 1:04 
GeneralRe: Hyperlink for send mail with use of static control? [modified] Pin
Le@rner23-Mar-09 1:54
Le@rner23-Mar-09 1:54 
GeneralRe: Hyperlink for send mail with use of static control? Pin
«_Superman_»23-Mar-09 2:36
professional«_Superman_»23-Mar-09 2:36 
GeneralRe: Hyperlink for send mail with use of static control? Pin
Le@rner23-Mar-09 2:48
Le@rner23-Mar-09 2:48 
QuestionHow to clean contents of a file Pin
PankajB23-Mar-09 0:33
PankajB23-Mar-09 0:33 
AnswerRe: How to clean contents of a file Pin
_AnsHUMAN_ 23-Mar-09 0:37
_AnsHUMAN_ 23-Mar-09 0:37 
GeneralRe: How to clean contents of a file Pin
PankajB23-Mar-09 0:40
PankajB23-Mar-09 0:40 
GeneralRe: How to clean contents of a file Pin
Cedric Moonen23-Mar-09 0:44
Cedric Moonen23-Mar-09 0:44 
GeneralRe: How to clean contents of a file Pin
«_Superman_»23-Mar-09 0:44
professional«_Superman_»23-Mar-09 0:44 
GeneralRe: How to clean contents of a file Pin
PankajB23-Mar-09 0:49
PankajB23-Mar-09 0:49 
GeneralRe: How to clean contents of a file Pin
«_Superman_»23-Mar-09 1:02
professional«_Superman_»23-Mar-09 1: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.