| |
|
|
Julian Schmidt | Hi, I try straight of/ one ProgressBar another colour zuzuweisen. moreover there The Messsage PBM_SETBARCOLOR. loudly MSDN[...] are The Parameter How follows:
Sendmessage(ProgressBar&,$0400+9,0,RGB(255,0,0)) still iwie wants it lest integrally functions.... CompileMarkSeparationWindowstyle 31
Windowtitle "Progressbar"
Window 0,0-640,110
var CLASSNAME$="msctls_progress32"
var ProgressBar&=External("USER32","CreateWindowExA",0,Addr(CLASSNAME$),0,$40000000+$10000000+$800000,10,10,width(%hwnd)-20,height(%hwnd)-20,%hwnd,0,%Hinstance,0)
Sendmessage(ProgressBar&,$0400+9,0,RGB(255,0,0))'PBM_SETBARCOLOR
While 1
Sleep 200
Sendmessage(ProgressBar&,$0400+2,SendMessage(ProgressBar&,$0400+8,0,0)+1,0)
le
LG
Julian57 |
|
|
| |
|
|
|
| there standing but too: MSDN
When visual styles are enabled, this message has no effect.
somewhere find You here imho a Function to individual Controls whom "visuellen Stil" abzugewöhnen. |
|
|
| |
|
|
|
| |
|
| |
|
|
|
Julian Schmidt | hmmm...Yes so goes it! Can after one whom "visuellen Stil" the Controls removes has, again whom standard-Visuellen Style settle? |
|
|
| |
|
|
|
| Yes over GetWindowTheme, OpenThemeData and SetWindowTheme -
or simply Control new produce. |
|
|
| |
|
|
|
Julian Schmidt | hmmm Yes, habs hinbekommen. thanks iF |
|
|
| |
|
|