 |
|
|
 |
|
 |
I have changed the IE skin by reading your article. I m facing one problem, each time I change the skin, I require to close the Browser Window in order to see the changes. Is there any other way to apply the changes without needing to close the browser?
|
|
|
|
 |
|
 |
For example:
when right click blank place of desktop or an opened explorer, a menu will appear.
it contain "view"
"Arrange Icons By"
"Paste"
"Paste Shortcut"
"New"
"Properties" and ...
now i want to insert a menu like "Paste", how can do it?
I know that how to insert a menu to right click menu of a file or folder as you introduced.
string keyname = "Reg Paste";
string guid = "{" + typeof(PasteMenu).GUID.ToString() + "}";
RegistryKey rk, rk2;
rk = Registry.ClassesRoot.OpenSubKey(@"xmlfile\shellex\ContextMenuHandlers", true);
rk2 = rk.OpenSubKey(keyname);
if (rk2 == null)
rk2 = rk.CreateSubKey(keyname);
rk2.SetValue("", guid);
rk2.Close();
rk.Close();
But how to registry to blank place of window?
Thanks very much if you can give me same advice!
take it easy & keep it simple....
|
|
|
|
 |
|
 |
I can't help it if this post/topic/sample example code and project is eons ago old.
I used to go thru modding files and applying this and that proggy to dress up the dog ugly 98 to make it appear much more see worthy.
Well, you might say the same applies to XP however that can involve the modding of uxtheme.dll if you are suffucuent enough to bypass WFP, and let's face it, these days a 6 year old can do that anyway.
Well, i just wanted to add that this long ago dated post still very much applies to 2006!!
It certainly makes it so much simpler to select the image from a context in a single clickie.
Thanks and i just added my rating of this article to another 5!!!
|
|
|
|
 |
|
 |
A. Riazi
|
|
|
|
 |
|
 |
One question please.
This of course is effective for explorer.
Can similar code be apply also to Internet Explorer menu background.
I'll step back and wait for reply.
Thanks
|
|
|
|
 |
|
 |
There are useful articles about hooking menus and also creating backgrounds or some other effects for menu. I suggest you to visit the menu subsection in codeproject.com
Best regards,
A. Riazi
|
|
|
|
 |
|
 |
I run "install.bat". but when right click skin, there is no "select skin" menu.
why???
My Os is winXP...
|
|
|
|
 |
|
 |
Did you right click on a bitmap?
A. Riazi
|
|
|
|
 |
|
 |
Yes. I right click on a bitmap.
But, I can't change skin.
|
|
|
|
 |
|
 |
I downloaded the exe run the bat file, the dll is registered successfully, but when I right click a .bmp file
given in the source no new menu comes, how can I change the skin? I am using Win2K and IE 5.5 with I think no service packs.
http://www.geocities.com/priyank_bolia/
|
|
|
|
 |
|
 |
Try this:
Open Registry by running RegEdit.exe.
1- Open HKEY_CLASSES_ROOT registry key.
2- Find .bmp subkey.
3- In default value, you will see name of subkey that should handle bitmaps. In the most cases you should see Paint.Picture. If this is Paint.Picture everything should be okay. You must find another reason that new menu does not appear in context menu.
4- Find Paint.Picture or everything that appear in default value of .bmp subkey.
5- If value is not Paint.Picture, browse source code and change Paint.Picture with other value that you see.
6- Compile the code and register new Dll.
A. Riazi
|
|
|
|
 |
|
 |
I find the .bmp, the entry there is PSP7.Picture, I replace with that in the source code at one place and compile it and register it successfully, but then also there was no new menu. I must add that PSP stands for Paint Shop Pro, a very popular shareware program that runs only 30 days, but you can change the system clock back and again run it and change the clock again to right time again.
http://www.geocities.com/priyank_bolia/
|
|
|
|
 |
|
 |
Change PSP7.Picture to Paint.Picture, now it must work fine.
A. Riazi
|
|
|
|
 |
|
 |
Just created a Key String in a Registry.
In the race for excellence there is not finish line.
|
|
|
|
 |
|
 |
Not just only a key string in registry. But a shell context menu and an IE trick!
I used "Ugly Article" for subject of your article because you did not provide any tricks, technology related topic or any text on body of your article. Only saying that rounding a form for VB and submitting it to MFC/C++ section. But you said "Very Bad" for what? For creating a key string in Registry!
LOL
A. Riazi
|
|
|
|
 |
|
 |
salam aghaye riazi
kheili barnameye toopi bood heif ke chizi azash nafahmidam
(yeki az shagerdan)
|
|
|
|
 |
|
 |
Salam,
Thank you very much for your comment.
Good luck, A. Riazi
|
|
|
|
 |
|
 |
Good work but I think hotbar set the skin in a different way. There is no "backbitmap" in the registry after the hotbar is installed. And the hotbar can scale the bitmap according to the size of the window. Your method tiles the bitmap, I guess. Is there any suggestion how to scale a bitmap skin?
Thanks
Yang
|
|
|
|
 |
|
 |
If you saw hotbar in two years ago, It used this method. But now, it employes new method. As you know, IE has a rebar. One of member functions of this rebar is a function for setting background bitmap.
You can write an application to read a bitmap, and set background of your rebar. It will scale it in proper size.
Hotbar (new design) uses this method. It has access to IE interface and set it's rabar. IE rebar will scale the bitmap.
A. Riazi
|
|
|
|
 |
|
 |
I've spent the past few hours plugging away at this, and can't find a way to set a rebar's background image. Any pointers? I've found RB_SETBGCOLOR, which doesn't seem to work (???) and RB_SETTEXTCOLOR, which does. No RB_SETBITMAP or whatnot to be found.
Any ideas, anyone?
Thanks,
-Rob
|
|
|
|
 |
|
 |
It is a nice idea. But I have uninstall IESkin_demo with dthe uninstall.bat but I can't return to the default skin of the explorer. Thanks.
|
|
|
|
 |
|
 |
Sorry! I'll correct it soon.
A. Riazi
|
|
|
|
 |
|
 |
So, this article is basically to promote your product? No? What? I don't see any comments on code, or methods, or anything else that might be interesting to people who are developing things that have with this to do. Oh well.
|
|
|
|
 |
|
 |
It has a story behind him. I saw hotbar[^] two years ago. I tried to do it by myself but I can't do it.
It's a question for me that how an ActiveX can control Windows Explorer and communicate with it?
After searching a long time and using some utilities (like Registry Monitor[^]) I found it! It uses Registry.
Maybe this article is useful for someone. It is a basic idea that every changes in face of IE and also behaviour of it, is taken from Registry.
A. Riazi
|
|
|
|
 |