Old 4th March 2003, 20:15   #1
Bizzeh
Forum Pirate
Beta Team
 
Bizzeh's Avatar
 
Join Date: Oct 2001
Posts: 2,032
Toggle Always On Top

this is some code i found on one of bennens pages... but i modded it up a lil to turn it in to a toggle always on to instead of just turning it on
code:
const GUID options_guid = { 0x280876cf, 0x48c0, 0x40bc, { 0x8e, 0x86, 0x73, 0xce, 0x6b, 0xb4, 0x62, 0xe5 } };
CfgItem *options=api->config_getCfgItemByGuid(options_guid);
if (options != NULL) {
int isOnTop = options->getDataAsInt("Always on top");

if (isOnTop == 1) {
options->setDataAsInt("Always on top", FALSE);
} else {
options->setDataAsInt("Always on top", TRUE);
}
}


just thought id share it

Bizzy D
Bizzeh is offline  
 
Go Back   Winamp & Shoutcast Forums > Winamp3 > Wasabi Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump