473,487 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Resource DLLs

I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control to
support XP Themes & Styles. So I need to paint it according to the bitmaps
that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the
current shellstyle.dll, but how can I extract the bitmaps from it? It's not
a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.
Nov 15 '05 #1
2 4487
Its VB6 but it may help:
http://www.vbaccelerator.com/home/VB...ol/article.asp
"Derek Lakin" <de*********@lineone.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control to support XP Themes & Styles. So I need to paint it according to the bitmaps
that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the
current shellstyle.dll, but how can I extract the bitmaps from it? It's not a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.

Nov 15 '05 #2
Yeah, I read that already. That's how I worked out how to find the current
shellstyle.dll.
I just thought there would be a way to read bitmaps out of a dll that didn't
involve making direct calls to Win32 :/

Derek.

"Mick Doherty" <md*******@nospam.ntlworld.com> wrote in message
news:uN**************@TK2MSFTNGP09.phx.gbl...
Its VB6 but it may help:
http://www.vbaccelerator.com/home/VB...ol/article.asp

"Derek Lakin" <de*********@lineone.net> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I'm in the middle of extending my Collapsible Panel
(http://www.codeproject.com/cs/miscct...lePanelBar.asp) control

to
support XP Themes & Styles. So I need to paint it according to the bitmaps that are stored in the current shellstyle.dll.

Using uxtheme.dll I can get the current theme and work out the path to the current shellstyle.dll, but how can I extract the bitmaps from it? It's

not
a .NET resource file (satellite dll) so I can't use ResourceManager or
ResourceReader. Any ideas?

Derek.


Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
3742
by: Dan Smith | last post by:
I frequently get a LNK1000 error when building a resource-only DLL. If I rebuild, the problem usually goes away. Thanks, Dan ------ Build started: Project: vaac_startupUIRes, Configuration:...
3
1317
by: perspolis | last post by:
Hi all I have some resources for some languages. 1-To create diffrent resources,Do I have to use VC++ environment or Can I create them from C#? 2-How can I load different resources...
2
1201
by: John Cullen | last post by:
I have uncovered an interesting problem with resource only DLLs. If I create a project with a long name and the name includes periods ("."), the IDE will fail to kick off the linker. The resource...
12
1932
by: manoj | last post by:
Hi I have a unicode program for win2k and win98 in vc7(dotnet). It contains Dlls.Each Dll has string table resource,menu resource,dialog resource etc. It successfully run on win2k. When i run it...
0
299
by: Kaworu | last post by:
Hi, 1.- I'm having problems to use custom controls in the language DLLs, d you know why I can load the DLL but I can't load the dialogs? 2.- What I want is that users can translate the strings...
0
1080
by: Maileen | last post by:
Hi, I use the localization feature of my VB.net application to create some ApplicationName.resource.dll files, but i would like to know if it does not exist a way to change the name of these...
0
1985
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description...
1
2866
by: va_acharya | last post by:
I have given multilingual support to my winform application, everthing is working fine, but when i compile my project it generates multiple resource dlls for all the languages. Is it possible to...
1
2355
by: MrAsm | last post by:
Hi, what is the C# equivalent of language-specific resource DLLs of the MFC/C++ world? With C++/MFC it's possible to build GUIs localized for different languages, and then dynamically load the...
7
12266
by: nws_reader | last post by:
I have a web service that needs to return a particular string for one of its web methods. I would like to manage the strings in a resource file. I went through a lot of the help provided on the...
0
7108
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7142
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6847
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5445
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4875
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3078
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1383
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
618
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.