| View previous topic :: View next topic |
| Author |
Message |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Feb 03, 2008 9:06 am Post subject: [delphi] changing own class name |
|
|
hello,
I'm trying to change ny own Classname in delphi, it's usually TApplication, but I can't find anything to change it.
How do I do that?
thanks in advance
|
|
| Back to top |
|
 |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Sun Feb 03, 2008 9:15 am Post subject: |
|
|
I don`t think it`s possbile, because eeven Delphi32.exe uses that classname I thought...
atleast, not for TApplication
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sun Feb 03, 2008 9:30 am Post subject: |
|
|
| the ClassName is the Form's Name (if that's what you mean)
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Feb 03, 2008 9:48 am Post subject: |
|
|
| Well it's okay, I'm gonna use FindWindowEx
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Sun Feb 03, 2008 9:54 am Post subject: |
|
|
timo, you said you're using CreateWindow();
look at the first param, lpClassName, so here we know you enter the desire classname you want for your new window.
CreateWindow('MyClass',lpWindowName,..
then, the created window will get a classname called 'MyClass'
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Feb 03, 2008 10:06 am Post subject: |
|
|
lol I didn't.
Delphi does that automatically.
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sun Feb 03, 2008 11:30 am Post subject: |
|
|
| You can change the class name by using ASM.
|
|
| Back to top |
|
 |
|