[?] API Function for changing window taskbar title. |
Author: |
Message: |
roflmao456
Skinning Contest Winner
Posts: 955 Reputation: 24
30 / /
Joined: Nov 2006
Status: Away
|
O.P. [?] API Function for changing window taskbar title.
do any of you programmers have the api function to change a window's taskbar title?
[quote]
Ultimatess6: What a noob mod
|
|
09-06-2007 09:47 PM |
|
|
deAd
Scripting Contest Winner
Posts: 1060 Reputation: 28
– / /
Joined: Jan 2006
|
RE: [?] API Function for changing window taskbar title.
|
|
09-06-2007 10:39 PM |
|
|
roflmao456
Skinning Contest Winner
Posts: 955 Reputation: 24
30 / /
Joined: Nov 2006
Status: Away
|
O.P. RE: [?] API Function for changing window taskbar title.
quote: Originally posted by deAd
SetWindowText
, but it adds a titlebar into my window.. which i don't want
[quote]
Ultimatess6: What a noob mod
|
|
09-06-2007 11:16 PM |
|
|
Stigmata
Veteran Member
Posts: 3520 Reputation: 45
21 / /
Joined: Jul 2003
|
RE: [?] API Function for changing window taskbar title.
setwindowtext
sendmessage to window to remove titlebar.
|
|
09-06-2007 11:24 PM |
|
|
roflmao456
Skinning Contest Winner
Posts: 955 Reputation: 24
30 / /
Joined: Nov 2006
Status: Away
|
O.P. RE: [?] API Function for changing window taskbar title.
quote: Originally posted by Stigmata
sendmessage to window to remove titlebar.
i couldn't seem to find the message to send to the window mind telling me what the message name/value is?
[quote]
Ultimatess6: What a noob mod
|
|
09-07-2007 01:08 AM |
|
|
NanaFreak
Scripting Contest Winner
Posts: 1476 Reputation: 53
32 / /
Joined: Jul 2006
|
RE: [?] API Function for changing window taskbar title.
quote: The SetWindowText function changes the text of the specified window's title bar (if it has one)
it shouldnt add a titlebar =\
|
|
09-07-2007 05:43 AM |
|
|
felipEx
Scripting Contest Winner
Posts: 378 Reputation: 24
35 / /
Joined: Jun 2006
|
RE: [?] API Function for changing window taskbar title.
something like this ?
code: function OnEvent_ChatWndCreated(ChatWnd){
var Wstyle = 0 /* WS_OVERLAPPED */ | 0x2000000 /* WS_CLIPCHILDREN */ | 0x4000000 /* WS_CLIPSIBLINGS */ ;
Wstyle = Wstyle | 0x40000;
Interop.Call("user32", "SetMenu", ChatWnd.Handle, 0);
//Interop.Call("user32", "SetWindowTextW", ChatWnd.Handle, "new title...");
Interop.Call("user32", "SetWindowLongW", ChatWnd.Handle, -16 /* GWL_STYLE */, Wstyle);
Interop.Call("user32", "ShowWindow", ChatWnd.Handle, 1);
}
This post was edited on 09-07-2007 at 06:57 AM by felipEx.
|
|
09-07-2007 06:14 AM |
|
|
Felu
Veteran Member
Posts: 2223 Reputation: 72
30 / /
Joined: Apr 2006
Status: Away
|
RE: [?] API Function for changing window taskbar title.
quote: Originally posted by NanaFreak
it shouldnt add a titlebar =\
It will add one if there isn't one already...
|
|
09-07-2007 03:01 PM |
|
|
roflmao456
Skinning Contest Winner
Posts: 955 Reputation: 24
30 / /
Joined: Nov 2006
Status: Away
|
O.P. RE: [?] API Function for changing window taskbar title.
my window doesn't have the <Title> tag in the XML. but when i use the api, it will show the title
[quote]
Ultimatess6: What a noob mod
|
|
09-07-2007 08:31 PM |
|
|
deAd
Scripting Contest Winner
Posts: 1060 Reputation: 28
– / /
Joined: Jan 2006
|
RE: [?] API Function for changing window taskbar title.
That's a Plus! problem, not something that can be fixed using the windows api.
|
|
09-07-2007 08:34 PM |
|
|
Pages: (2):
« First
[ 1 ]
2
»
Last »
|
|