Click here to Skip to main content
15,914,642 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralMicrosoft Script Control Run-time error Pin
FAADI28-Jul-03 1:44
FAADI28-Jul-03 1:44 
Questionwhat does the erros mean? WTL Pin
ashxly27-Jul-03 18:29
ashxly27-Jul-03 18:29 
AnswerRe: what does the erros mean? WTL Pin
Michael Dunn27-Jul-03 18:52
sitebuilderMichael Dunn27-Jul-03 18:52 
GeneralRe: what does the erros mean? WTL Pin
ashxly27-Jul-03 19:28
ashxly27-Jul-03 19:28 
GeneralRe: what does the erros mean? WTL Pin
Michael Dunn27-Jul-03 19:31
sitebuilderMichael Dunn27-Jul-03 19:31 
GeneralRe: what does the erros mean? WTL Pin
ashxly27-Jul-03 19:47
ashxly27-Jul-03 19:47 
QuestionHow to SendMessage to a windowless Ctrl Pin
ray_li25-Jul-03 5:38
ray_li25-Jul-03 5:38 
AnswerRe: How to SendMessage to a windowless Ctrl Pin
Andrew Schetinin26-Jul-03 8:18
Andrew Schetinin26-Jul-03 8:18 
Hi,

As far as I know, it is not possible. Windowless ActiveX controls have no HWND by definition. Of course, COM passes RPC calls using thread message queue (in a case if the object belongs to a single-threaded appartment) but it cannot be simulated (and must not be).

The simplest way to handle it is to call a method of your control at the moment you need. The result will be exactly the same as with SendMessage - the control will process your call and return back. This will requre your caller class to hold an interface pointer to the control or provide it via a callback function.

--
Best Regards,
Andrew
GeneralAll same values in a big vecotr Pin
Anonymous24-Jul-03 11:11
Anonymous24-Jul-03 11:11 
GeneralRe: All same values in a big vecotr Pin
John M. Drescher24-Jul-03 11:42
John M. Drescher24-Jul-03 11:42 
GeneralRe: All same values in a big vecotr Pin
Anonymous24-Jul-03 12:30
Anonymous24-Jul-03 12:30 
GeneralRe: All same values in a big vecotr Pin
Michael Dunn24-Jul-03 12:43
sitebuilderMichael Dunn24-Jul-03 12:43 
GeneralRe: All same values in a big vecotr Pin
John M. Drescher24-Jul-03 13:00
John M. Drescher24-Jul-03 13:00 
Questionwhere to start? Pin
Chris Eatough24-Jul-03 1:07
Chris Eatough24-Jul-03 1:07 
AnswerRe: where to start? Pin
valikac24-Jul-03 6:46
valikac24-Jul-03 6:46 
Generalproblem with message handler invocation.. Pin
harishv23-Jul-03 12:37
harishv23-Jul-03 12:37 
GeneralRe: problem with message handler invocation.. Pin
Simon.W24-Jul-03 1:57
Simon.W24-Jul-03 1:57 
GeneralRe: problem with message handler invocation.. Pin
Hans Ruck24-Jul-03 2:12
Hans Ruck24-Jul-03 2:12 
GeneralRe: problem with message handler invocation.. Pin
harishv24-Jul-03 5:25
harishv24-Jul-03 5:25 
GeneralATL OLE DB Consumer Templates and Blobs Pin
User 2237023-Jul-03 4:01
User 2237023-Jul-03 4:01 
GeneralRe: ATL OLE DB Consumer Templates and Blobs Pin
Steve S23-Jul-03 4:41
Steve S23-Jul-03 4:41 
GeneralRe: ATL OLE DB Consumer Templates and Blobs Pin
Ed Gadziemski24-Jul-03 3:53
professionalEd Gadziemski24-Jul-03 3:53 
QuestionHow to prevent binding a Type library to a ATL Attributed DLL ? need help!!! Pin
talhalfon21-Jul-03 22:37
talhalfon21-Jul-03 22:37 
QuestionHow to prevent to write to registry from ActiveX controls? Pin
vgrigor20-Jul-03 22:45
vgrigor20-Jul-03 22:45 
QuestionCOleDocObjectItem::OnPrint(this, pInfo, TRUE) ? Pin
Mardigin19-Jul-03 12:14
Mardigin19-Jul-03 12:14 

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.