Click here to Skip to main content
15,915,164 members
Home / Discussions / COM
   

COM

 
GeneralUrgent!!!, Please, Application into a activex Pin
powerrajesh14-Jul-02 22:45
powerrajesh14-Jul-02 22:45 
GeneralConnecting to IE Events Pin
Alex Cramer14-Jul-02 16:05
Alex Cramer14-Jul-02 16:05 
GeneralRe: Connecting to IE Events Pin
Anonymous15-Jul-02 13:16
Anonymous15-Jul-02 13:16 
GeneralRe: Connecting to IE Events Pin
Alex Cramer15-Jul-02 17:30
Alex Cramer15-Jul-02 17:30 
GeneralCOM process killed and then reloaded Pin
sefip13-Jul-02 23:36
sefip13-Jul-02 23:36 
GeneralCompositeControl 's background Pin
Camel12-Jul-02 22:21
Camel12-Jul-02 22:21 
GeneralRe: CompositeControl 's background Pin
Brian van der Beek16-Jul-02 21:04
Brian van der Beek16-Jul-02 21:04 
QuestionCRichEditCtrl in a COM object... possible? Pin
jfugate12-Jul-02 4:39
jfugate12-Jul-02 4:39 
Hello all, I am brand new to COM/ATL programming and am trying to figure out if what I want to do is doable. I've gone through the great DCOM tutorial by Brian Hart and it's given me a good start.

Here's my situation. I've written a (free) port of the boardgame Settlers of Catan using OpenGL for 3D graphics. I recently added networking capability to it and have been cleaning up things according to user's desires. The biggest problem they all have is that my chat window, which is currently a modeless dialog box, loses the focus anytime there is an in-game event, which causes their typing to suddenly disappear in mid-sentence as the focus suddenly gets set to the main window. A screenshot of the game w/ chat window is is here.

My brilliant idea was to rewrite the chat window as a COM object, which would solve the problem of it losing focus since it would be its own window. I've got the basic COM object figured out with a dialog box in it, and a connection point back to the main app for wanting to chat. However, I can't figure out how to connect a CRichEditCtrl to the dialog box, because I don't really understand how CWindow and CWnd work, and do your controls have to be CWindow classes to be used in ATL? The current chat window is a CRichEditCtrl and I'd really like to avoid creating my own control for chatting via the COM object. Can anyone explain this a little better or point me to some resources that do? Thanks.

Jason
AnswerRe: CRichEditCtrl in a COM object... possible? Pin
Ernest Laurentin12-Jul-02 5:48
Ernest Laurentin12-Jul-02 5:48 
GeneralRe: CRichEditCtrl in a COM object... possible? Pin
jfugate12-Jul-02 5:58
jfugate12-Jul-02 5:58 
GeneralRe: CRichEditCtrl in a COM object... possible? Pin
Ernest Laurentin12-Jul-02 6:22
Ernest Laurentin12-Jul-02 6:22 
GeneralCOleDispatchDriver Pin
AJ12312-Jul-02 1:08
AJ12312-Jul-02 1:08 
GeneralRe: COleDispatchDriver Pin
AJ12312-Jul-02 5:48
AJ12312-Jul-02 5:48 
Questionhow to display data in grid Pin
Paul_S10-Jul-02 23:45
Paul_S10-Jul-02 23:45 
AnswerRe: how to display data in grid Pin
Ernest Laurentin11-Jul-02 10:34
Ernest Laurentin11-Jul-02 10:34 
GeneralComposite Property page control Pin
srisan10-Jul-02 9:31
srisan10-Jul-02 9:31 
GeneralImplemetation of Callback functions Pin
wins10-Jul-02 2:12
wins10-Jul-02 2:12 
GeneralAdd format for image icon on 2000 and XP file explorer Pin
Anonymous9-Jul-02 2:48
Anonymous9-Jul-02 2:48 
GeneralRe: Add format for image icon on 2000 and XP file explorer Pin
Anonymous13-Jul-02 6:59
Anonymous13-Jul-02 6:59 
GeneralObjectContext and it's role in COM+ Pin
MrGlover8-Jul-02 12:34
MrGlover8-Jul-02 12:34 
GeneralRe: ObjectContext and it's role in COM+ Pin
Paul Ingles20-Jul-02 13:54
Paul Ingles20-Jul-02 13:54 
GeneralRe: ObjectContext and it's role in COM+ Pin
MrGlover21-Jul-02 12:39
MrGlover21-Jul-02 12:39 
GeneralRe: ObjectContext and it's role in COM+ Pin
Paul Ingles22-Jul-02 4:10
Paul Ingles22-Jul-02 4:10 
GeneralDrag n drop within IE Pin
Per-Olov Jernberg8-Jul-02 1:43
Per-Olov Jernberg8-Jul-02 1:43 
GeneralRe: Drag n drop within IE Pin
Per-Olov Jernberg8-Jul-02 4:40
Per-Olov Jernberg8-Jul-02 4:40 

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.