Click here to Skip to main content
15,921,351 members
Home / Discussions / COM
   

COM

 
GeneralRe: Interfaces required by an object Pin
darkbyte17-Aug-04 15:26
darkbyte17-Aug-04 15:26 
GeneralUsing a VC++ Console to access the ActiveX (exe) Pin
D*I*N*G12-Aug-04 23:19
D*I*N*G12-Aug-04 23:19 
Generalto save outlook contacts :zzz: Pin
thegrad12-Aug-04 9:52
thegrad12-Aug-04 9:52 
GeneralGetRefTypeInfo failed Pin
Dalthan12-Aug-04 9:13
Dalthan12-Aug-04 9:13 
GeneralDeriving from interfaces Pin
Hockey12-Aug-04 6:06
Hockey12-Aug-04 6:06 
GeneralRe: Deriving from interfaces Pin
Lim Bio Liong13-Aug-04 22:29
Lim Bio Liong13-Aug-04 22:29 
GeneralRe: Deriving from interfaces Pin
Jörgen Sigvardsson14-Aug-04 23:26
Jörgen Sigvardsson14-Aug-04 23:26 
Generalaccessing IShellBrowser from CFileDialog Pin
zerwuff12-Aug-04 3:33
zerwuff12-Aug-04 3:33 
hi there,
while working on an CFileDialog that automaticly selects all files in the browse-dialog
like this one from here
http://www.codeproject.com/dialog/select_all_button.asp

But I get a zero handler for the IShellBrowser
by calling this line , causing an abort


IShellBrowser* pShBrowser =
(IShellBrowser*)::SendMessage( p->m_hWnd, WM_GETISHELLBROWSER, 0, 0 );



---
the hook is assigned to the dialog that reacts properly. :


static UINT_PTR CALLBACK DialogHook(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData)
{

if (uMsg==296) // init finish
{

//jumps in here
IShellBrowser* pShBrowser =
(IShellBrowser*)::SendMessage( p->m_hWnd,
WM_GETISHELLBROWSER, 0, 0 );
}
}

btw,hwnd returns the right handler to my CFileDialog

any ideas how to get the IShellBrowser from the CFileDialog ?


thanks in advance,
zerwuff
Generaladding a button to explorer toolbar Pin
rolati10-Aug-04 11:22
rolati10-Aug-04 11:22 
GeneralNon-exposed interfaces Pin
Antti Keskinen10-Aug-04 10:01
Antti Keskinen10-Aug-04 10:01 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil10-Aug-04 18:53
Milton Karimbekallil10-Aug-04 18:53 
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 1:26
Antti Keskinen11-Aug-04 1:26 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil11-Aug-04 3:23
Milton Karimbekallil11-Aug-04 3:23 
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 4:12
Antti Keskinen11-Aug-04 4:12 
GeneralRe: Non-exposed interfaces Pin
Antti Keskinen11-Aug-04 11:25
Antti Keskinen11-Aug-04 11:25 
GeneralRe: Non-exposed interfaces Pin
Milton Karimbekallil11-Aug-04 20:09
Milton Karimbekallil11-Aug-04 20:09 
GeneralOPC - implement the custom-DLL Pin
ro_bürgel9-Aug-04 23:45
ro_bürgel9-Aug-04 23:45 
GeneralHelp: DCOM and local system account Pin
Storm749-Aug-04 20:53
Storm749-Aug-04 20:53 
GeneralRe: Help: DCOM and local system account Pin
Milton Karimbekallil9-Aug-04 22:55
Milton Karimbekallil9-Aug-04 22:55 
GeneralRe: Help: DCOM and local system account Pin
Storm7410-Aug-04 2:58
Storm7410-Aug-04 2:58 
GeneralBeginng Active-X. Need help. Pin
lovehis9-Aug-04 20:47
lovehis9-Aug-04 20:47 
GeneralRe: Beginng Active-X. Need help. Pin
Milton Karimbekallil9-Aug-04 23:10
Milton Karimbekallil9-Aug-04 23:10 
GeneralRe: Beginng Active-X. Need help. Pin
rgondzur12-Aug-04 9:36
rgondzur12-Aug-04 9:36 
GeneralInstantiating another CoClass from a CoClass method in the same component Pin
G. Raven9-Aug-04 7:44
G. Raven9-Aug-04 7:44 
GeneralRe: Instantiating another CoClass from a CoClass method in the same component Pin
Milton Karimbekallil9-Aug-04 19:08
Milton Karimbekallil9-Aug-04 19:08 

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.