Click here to Skip to main content
15,922,584 members
Home / Discussions / COM
   

COM

 
GeneralRe: hWnd in COM Question. Pin
Heath Stewart13-Nov-03 2:54
protectorHeath Stewart13-Nov-03 2:54 
Just pass the HWND to your CNormalDlg constructor. Inside the constructor when you either use a wrapper class or create the window manually (via RegisterWindow then CreateWindow, or their extended equivalents) you pass the parent HWND that was passed to your constructor. If this is an MFC class - and it appears to be - and you're deriving from CDialog - and your class name indicates such - then call the base class constructor for CDialog which takes a parent CWnd. Don't forget to call the base class constructor, though.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: hWnd in COM Question. Pin
Prakash Nadar14-Nov-03 3:12
Prakash Nadar14-Nov-03 3:12 
GeneralRe: hWnd in COM Question. Pin
Anonymous17-Nov-03 22:07
Anonymous17-Nov-03 22:07 
GeneralDTE.LaunchWizard() Pin
RockHard PartyNipples11-Nov-03 8:25
RockHard PartyNipples11-Nov-03 8:25 
GeneralIIS mime Type Pin
fenil jacob10-Nov-03 23:38
fenil jacob10-Nov-03 23:38 
GeneralRe: IIS mime Type Pin
Vi211-Nov-03 19:21
Vi211-Nov-03 19:21 
GeneralCoGetClassObjectFromURL Pin
JOG10-Nov-03 14:35
JOG10-Nov-03 14:35 
QuestionCan the operator be overloaded in ATL and how? Pin
sqwang10-Nov-03 13:42
sqwang10-Nov-03 13:42 
GeneralDllMain issues Pin
Matt Gates7-Nov-03 17:51
Matt Gates7-Nov-03 17:51 
GeneralRe: DllMain issues Pin
MultiThread8-Nov-03 7:17
MultiThread8-Nov-03 7:17 
GeneralRe: DllMain issues Pin
Matt Gates9-Nov-03 12:06
Matt Gates9-Nov-03 12:06 
GeneralCOM+ proxy application problem Pin
Member 7638697-Nov-03 4:54
Member 7638697-Nov-03 4:54 
GeneralRe: COM+ proxy application problem Pin
MultiThread8-Nov-03 7:22
MultiThread8-Nov-03 7:22 
GeneralRe: COM+ proxy application problem Pin
Anonymous13-Nov-03 4:09
Anonymous13-Nov-03 4:09 
GeneralRe: COM+ proxy application problem Pin
Steve S13-Nov-03 4:34
Steve S13-Nov-03 4:34 
GeneralCoGetClassObject( ) and Shell extension Pin
Jin Yao6-Nov-03 3:50
Jin Yao6-Nov-03 3:50 
QuestionHow do I use a COM component in Java? Pin
melwyn5-Nov-03 23:32
melwyn5-Nov-03 23:32 
AnswerRe: How do I use a COM component in Java? Pin
Giles12-Nov-03 3:07
Giles12-Nov-03 3:07 
GeneralRe: How do I use a COM component in Java? Pin
melwyn13-Nov-03 1:21
melwyn13-Nov-03 1:21 
Questionhow to make default parameters for method? Pin
ashxly5-Nov-03 22:20
ashxly5-Nov-03 22:20 
AnswerRe: how to make default parameters for method? Pin
Vi210-Nov-03 3:12
Vi210-Nov-03 3:12 
QuestionHow do i register a dll into the assembly cache Pin
Srikar Y4-Nov-03 21:03
Srikar Y4-Nov-03 21:03 
AnswerRe: How do i register a dll into the assembly cache Pin
MultiThread10-Nov-03 17:11
MultiThread10-Nov-03 17:11 
GeneralDCOM problem (Very urgent!!!) Pin
Orkun GEDiK4-Nov-03 19:17
Orkun GEDiK4-Nov-03 19:17 
Generaloffice add in Pin
Member 6721434-Nov-03 18:30
Member 6721434-Nov-03 18:30 

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.