|
-
January 27th, 2008, 05:16 PM
#1
Changing another application window classname
Hello,
I have a running application which has four windows of a class it registered.
Now using find window I get the handle of the specific one I want from my application (remotely) and I would like to change its class name leaving its functionality. I tought about creating a identical class (copying it) with only the different name and changing the window class to the class I created.
A problam that comes that I can think of is the class class procedure which is a address in the other app and not mine.
Is it possible to change the classname of a window that is already created? If so, could I change it from my app (remotely)?
Thanks.
-
February 6th, 2008, 08:04 AM
#2
Re: Changing another application window classname
Why would you want to change window’s class?
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
February 8th, 2008, 05:40 AM
#3
Re: Changing another application window classname
Hey again,
Does it really matter?
Because I don't want the other application to have the same class name I'm using and I can't change mine since other applications depend on it.
So it is possible ? how?
Thanks.
-
February 18th, 2008, 06:01 PM
#4
Re: Changing another application window classname
 Originally Posted by inbugable
Hey again,
Does it really matter?
Because I don't want the other application to have the same class name I'm using and I can't change mine since other applications depend on it.
So it is possible ? how?
Thanks.
Yes, it matters.
Are you sure there is a conflict? Even if you register class with CS_GLOBALCLASS class style, class is global for a process and all applications running in this process, unless is registered in a dll and you use special technique to load it into every process.
If each application is running in a different process, there is no need to change anything. Most likely no cange willbe nescessary.
Even if they are running in the same process most likely, classes are application local. CS_GLOBALCLASS style is hardly used.
That why I have asked question. I think you do not have anything t worry about.
Could you explain what element of the windows created using the same classed may be affected and HOW they can affect other window? If you find something peculiar please let us know.
There are only 10 types of people in the world:
Those who understand binary and those who do not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|