Registering two explorer bars
-
16 decembrie 2009 11:14Hi,
Is there any way we can register two explorer bars from same dll. What i want to achieve is to have two explorer bars and on some event I will show/hide any one of these.
Thanks,
Akshay
Toate mesajele
-
16 decembrie 2009 17:59Registering an explorer bar is, at the basic level, just generating some unique things like Guids and names and such, putting them in the registry and pointing it all at a DLL. There is no limit (conceptually) to how many of these you can register.So, to register two extensions in the same DLL, just register each one normally and point them to the same DLL in the COM registration.
-
17 decembrie 2009 07:33Thats right. But my concern is can we open both the explorer bars, not together, but on some differnt button clicks.
-
17 decembrie 2009 17:06
Yes. Each has it's own guid and entry in the list of available explorer bars. When you call ShowBrowserBar, you just pass the clsid of the one you want to toggle.- Propus ca răspuns de jeffdavMVP 17 decembrie 2009 17:06
-
22 decembrie 2009 04:07Thanx for the help. I have created the explorer bars. i am not using MFC. Is there any method by which we can change the width of explorer bar. We can resize the sidebar by setting the min/max size in DESKBANDINFO structure in GetBandInfo(). But this gets called once, when we open sidebar for the first time. Is there any other method.
-
22 decembrie 2009 04:35
The easiest way to resize a window is to call SetWindowPos. You may need to resize your HWNDs parent. Use GetParent().- Propus ca răspuns de jeffdavMVP 22 decembrie 2009 04:35
-
22 decembrie 2009 05:56axysharma wrote:
> Thanx for the help. I have created the explorer bars. i am not using MFC. Is there any method by which we can change the width of
> explorer bar. We can resize the sidebar by setting the min/max size in DESKBANDINFO structure in GetBandInfo(). But this gets
> called once, when we open sidebar for the first time. Is there any other method.See the part about DBID_BANDINFOCHANGED. That's how you renegotiate your size and other parameters with your container.--Igor Tandetnik -
17 martie 2010 06:30I tried DBID_BANDINFOCHANGED. GetBandInfo() function gets called, but when I assign new height and width, it doesn't gets reflected.Any idea???
-
17 martie 2010 11:16axysharma wrote:
> I tried DBID_BANDINFOCHANGED. GetBandInfo() function gets called, but when I assign new height and width, it doesn't gets
> reflected.Any idea???You are doing something wrong.
--
Igor Tandetnik -
17 martie 2010 17:21SetWindowPos(GetParent(hwnd_));
-
23 aprilie 2010 03:45
Hi,
Using RtlCaptureStackBackTrace function, I am trying to capture the back trace without using any symbol file (pdb/ map file). I am able to get the list of frame addresses. How to determine the function name and line number information from these addresses.
Thanks,
-
23 aprilie 2010 16:12Your question is completely unrelated to this thread. You should start a new thread.
-
1 octombrie 2010 01:59Did you ever resolve this? I'm having similar problems.
-
1 martie 2012 08:39Did you resolve the issue? I have met a same one
shed the light