Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[ASM] [Help] Removing Visual style on ProgressBar Only

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
madeinqc
Master Cheater
Reputation: 0

Joined: 25 Jul 2006
Posts: 356

PostPosted: Sun Jan 18, 2009 2:15 am    Post subject: [ASM] [Help] Removing Visual style on ProgressBar Only Reply with quote

Hi! I work on a little custom program in asm with fancy button that need visualstyle. Till here, all is ok, but now I want to custum the progress bar and I'm not able... if someone can tell me how to disable visual style for progressbar only or how to override style (or maybe changing xpstyle temporarly?)

anyway, if someone could redirect me to any tutorial that could help me to custom the progress bar (background/Progression/border color) because I didn't found what I need.

thx a lot to all ^^

EDIT: I just want to say that I activate visual style by adding a manifest...dunno if it can help

_________________
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Jan 18, 2009 9:54 am    Post subject: Reply with quote

Are you initiating common controls. If you do, just not including the ICC_PROGRESS_BAR or whatever the const is named[/list]
_________________
Back to top
View user's profile Send private message
madeinqc
Master Cheater
Reputation: 0

Joined: 25 Jul 2006
Posts: 356

PostPosted: Sun Jan 18, 2009 9:14 pm    Post subject: Reply with quote

I use InitCommonControls... you think I should change to InitCommonControlsEx ?
_________________
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sun Jan 18, 2009 9:22 pm    Post subject: Reply with quote

Quote:
InitCommonControls Function

Registers and initializes certain common control window classes. This function is obsolete. New applications should use the InitCommonControlsEx function.


Should answer your question.

_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites