Click here to Skip to main content
15,905,781 members
Home / Discussions / COM
   

COM

 
GeneralRe: Really struggling with GetTypeFromProgID Pin
DaveC42691329-Aug-05 10:03
DaveC42691329-Aug-05 10:03 
GeneralRe: Really struggling with GetTypeFromProgID Pin
Jörgen Sigvardsson29-Aug-05 19:53
Jörgen Sigvardsson29-Aug-05 19:53 
GeneralRe: Really struggling with GetTypeFromProgID Pin
DaveC42691330-Aug-05 2:59
DaveC42691330-Aug-05 2:59 
QuestionActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala27-Aug-05 1:53
Ashwin kumar Gurujala27-Aug-05 1:53 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson27-Aug-05 13:22
Jörgen Sigvardsson27-Aug-05 13:22 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala28-Aug-05 19:55
Ashwin kumar Gurujala28-Aug-05 19:55 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson29-Aug-05 9:16
Jörgen Sigvardsson29-Aug-05 9:16 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala1-Sep-05 1:37
Ashwin kumar Gurujala1-Sep-05 1:37 
Thanks for the Solution,

One problem how can i pass handle of bitmap to object of CBitmap.... or is there any other way of using it....

HBITMAP hBmp;
hBmp = ::LoadBitmap( hLibrary, MAKEINTRESOURCE(nID) );

//! Here LoadBitmap Accepts HICON & CBitmap*...but not HBITMAP..So how can I pass HBITMAP to CImageList so that it can be attached to CToolBar

CBitmap obBitmap;
obBitmap.LoadBitmap( hBmp ); //error...how to pass hBmp

CImageList obImageList;
obImageList.Create(18,18,ILC_COLOR8,2,1);
obImageList.Add( &obBitmap , RGB(0,0,0));

CToolBar obToolBar;
obToolBar.GetToolBarCtrl().SetImageList(&obImageList);



-- modified at 7:43 Thursday 1st September, 2005
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Jörgen Sigvardsson1-Sep-05 9:48
Jörgen Sigvardsson1-Sep-05 9:48 
GeneralRe: ActiveX Control's Bitmaps in ToolBox Pin
Ashwin kumar Gurujala9-Sep-05 0:02
Ashwin kumar Gurujala9-Sep-05 0:02 
QuestionCalling remote components method Pin
Anonymous27-Aug-05 0:16
Anonymous27-Aug-05 0:16 
QuestionRe: Calling remote components method Pin
sudeesht31-Aug-05 0:12
sudeesht31-Aug-05 0:12 
QuestionLNK2019 Pin
bondguru26-Aug-05 2:33
bondguru26-Aug-05 2:33 
Questionactivex question... Pin
l a u r e n25-Aug-05 20:20
l a u r e n25-Aug-05 20:20 
GeneralRe: activex question... Pin
Jörgen Sigvardsson26-Aug-05 9:55
Jörgen Sigvardsson26-Aug-05 9:55 
GeneralRe: activex question... Pin
Anonymous26-Aug-05 10:10
Anonymous26-Aug-05 10:10 
GeneralRe: activex question... Pin
Jörgen Sigvardsson26-Aug-05 22:35
Jörgen Sigvardsson26-Aug-05 22:35 
GeneralRe: activex question... Pin
l a u r e n27-Aug-05 6:58
l a u r e n27-Aug-05 6:58 
GeneralRe: activex question... Pin
l a u r e n27-Aug-05 8:29
l a u r e n27-Aug-05 8:29 
GeneralRe: activex question... Pin
Jörgen Sigvardsson27-Aug-05 13:20
Jörgen Sigvardsson27-Aug-05 13:20 
GeneralRe: activex question... Pin
l a u r e n27-Aug-05 16:46
l a u r e n27-Aug-05 16:46 
Questionsocket problem Pin
Ganesh_T25-Aug-05 18:58
Ganesh_T25-Aug-05 18:58 
QuestionDriver interface Pin
Paresh emb25-Aug-05 5:52
Paresh emb25-Aug-05 5:52 
QuestionTopics for DCOM Pin
V.G25-Aug-05 2:55
V.G25-Aug-05 2:55 
QuestionManifest Pin
Alex_Y25-Aug-05 2:37
Alex_Y25-Aug-05 2:37 

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.