Click here to Skip to main content
15,889,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionProblem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:08
Neal beavis23-Mar-09 1:08 
QuestionRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:13
mveCPallini23-Mar-09 1:13 
AnswerRe: Problem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:18
Neal beavis23-Mar-09 1:18 
QuestionRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:28
mveCPallini23-Mar-09 1:28 
AnswerRe: Problem with my c++ project :'( Pin
Neal beavis23-Mar-09 1:35
Neal beavis23-Mar-09 1:35 
GeneralRe: Problem with my c++ project :'( Pin
CPallini23-Mar-09 1:49
mveCPallini23-Mar-09 1:49 
GeneralRe: Problem with my c++ project :'( Pin
TinyDevices23-Mar-09 2:05
professionalTinyDevices23-Mar-09 2:05 
QuestionRe: Problem with my c++ project :'( Pin
David Crow23-Mar-09 3:23
David Crow23-Mar-09 3:23 
QuestionGet String size Height and Width Pin
~Khatri Mitesh~23-Mar-09 1:04
~Khatri Mitesh~23-Mar-09 1:04 
AnswerRe: Get String size Height and Width Pin
Cedric Moonen23-Mar-09 1:06
Cedric Moonen23-Mar-09 1:06 
AnswerRe: Get String size Height and Width Pin
led mike23-Mar-09 4:41
led mike23-Mar-09 4:41 
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 

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.