Click here to Skip to main content
15,900,816 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionRead the contents of a file Pin
Anil_vvs12-Dec-06 17:41
Anil_vvs12-Dec-06 17:41 
AnswerRe: Read the contents of a file Pin
Stephen Hewitt12-Dec-06 18:26
Stephen Hewitt12-Dec-06 18:26 
GeneralRe: Read the contents of a file Pin
Anil_vvs12-Dec-06 18:35
Anil_vvs12-Dec-06 18:35 
GeneralRe: Read the contents of a file Pin
led mike12-Dec-06 18:40
led mike12-Dec-06 18:40 
GeneralRe: Read the contents of a file Pin
Stephen Hewitt12-Dec-06 18:42
Stephen Hewitt12-Dec-06 18:42 
QuestionAbout ATL call back event ! Pin
alicqin12-Dec-06 14:35
alicqin12-Dec-06 14:35 
QuestionDrag & Drop for menuitems Pin
benjamin2312-Dec-06 2:28
benjamin2312-Dec-06 2:28 
QuestionShow video problem in a ATL ActiveX plugin Pin
rachidovich11-Dec-06 2:54
rachidovich11-Dec-06 2:54 
I'm writing a ActiveX plugin to display video, I have problem on OnDraw method, I can't refresh received images on the display zone:

//Draw method:
HRESULT OnDraw(ATL_DRAWINFO& di)
{
RECT& rc = *(RECT*)di.prcBounds;

if( ImgBuff )
{
HBITMAP HBmp = CreateBitmap(ImgBuff->width,
ImgBuff->height,
1, 32, ImgBuff->data);

DrawState(di.hdcDraw, NULL, NULL,
(long)HBmp, NULL,
0, 0,
ImgBuff->width,
ImgBuff->height,
DST_BITMAP);

DeleteObject(HBmp);

}
else
{
.......
}

return S_OK;
}

//Buffering method
//this fonction bufferise recived image in ImgBuff

FrameReady(phVideoFrameReceivedEvent_t *ev)
{
ImgBuff = ev->frame_remote;

FireViewChange();
}

Thank you to say me how to redraw a new image the display zone??

Rachid
Questionpb when passing std::map from a library to another Pin
ledzzep11-Dec-06 1:15
ledzzep11-Dec-06 1:15 
GeneralRe: pb when passing std::map from a library to another Pin
prasad_som11-Dec-06 2:24
prasad_som11-Dec-06 2:24 
AnswerRe: pb when passing std::map from a library to another Pin
jmastry11-Dec-06 2:33
jmastry11-Dec-06 2:33 
AnswerRe: pb when passing std::map from a library to another Pin
ledzzep11-Dec-06 2:33
ledzzep11-Dec-06 2:33 
AnswerRe: pb when passing std::map from a library to another Pin
Stuart Dootson11-Dec-06 3:30
professionalStuart Dootson11-Dec-06 3:30 
GeneralRe: pb when passing std::map from a library to another Pin
Stephen Hewitt11-Dec-06 12:25
Stephen Hewitt11-Dec-06 12:25 
AnswerRe: pb when passing std::map from a library to another Pin
Nemanja Trifunovic11-Dec-06 4:09
Nemanja Trifunovic11-Dec-06 4:09 
QuestionUrgent:Identifying javascript functions againt HTML elements Pin
rana7410-Dec-06 17:14
rana7410-Dec-06 17:14 
Questionunresolved symbol with VC6 + STLPORT Pin
ciapistess9-Dec-06 14:34
ciapistess9-Dec-06 14:34 
QuestionCFile Equivalent in WTL? Pin
#realJSOP9-Dec-06 14:27
professional#realJSOP9-Dec-06 14:27 
AnswerRe: CFile Equivalent in WTL? Pin
Robin Debnath9-Dec-06 20:00
Robin Debnath9-Dec-06 20:00 
AnswerRe: CFile Equivalent in WTL? Pin
Rob Caldecott10-Dec-06 2:30
Rob Caldecott10-Dec-06 2:30 
QuestionWTL and #including io.h [modified] Pin
#realJSOP9-Dec-06 10:36
professional#realJSOP9-Dec-06 10:36 
AnswerRe: WTL and #including io.h Pin
Steve Echols9-Dec-06 10:55
Steve Echols9-Dec-06 10:55 
AnswerRe: WTL and #including io.h Pin
Rob Caldecott9-Dec-06 11:35
Rob Caldecott9-Dec-06 11:35 
GeneralRe: WTL and #including io.h Pin
#realJSOP9-Dec-06 14:19
professional#realJSOP9-Dec-06 14:19 
QuestionWTL 8.0 Pin
#realJSOP9-Dec-06 2:48
professional#realJSOP9-Dec-06 2:48 

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.