Progress bar no border

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Progress bar no border

Re: Progress bar no border

Post by joedf » 22 Oct 2017, 21:24

Cool :+1: ;)

Re: Progress bar no border

Post by ScottMeyer » 22 Oct 2017, 16:18

Après avoir regarder un film (faire un break), j'ai trouvé la solution :bravo:
Des fois on cherche absolument la solution au problème plutôt que de le contourner ...

J'ai remplacer la progress bar par un champ texte que j'ai colorié avec CtrlColor https://autohotkey.com/boards/viewtopic.php?f=6&t=2197
Ca marche impec :D

Code: Select all

#Include %A_ScriptDir%\Class_CtlColors.ahk

Gui, 1:Add	, Text		, xp+11		yp+3 	w100	h4	 hwndCL1	vW_Fin_Ligne	
GuiControl	, 1:move	, W_Fin_Ligne		, % "w"(A_GuiWidth - 146 - 149) 
Gui, 1:Show	, xCenter y90 	w400 h140		, %ProgrammeName%
Return

guisize:
CtlColors.Change(CL1, "000000", "000000")
Return

Re: Progress bar no border

Post by joedf » 22 Oct 2017, 15:32

Et si tu enleves les bordures?

Code: Select all

Gui, Add, Progress, x5 y5 w100 h2 -Border BackgroundBlack

Progress bar no border

Post by ScottMeyer » 22 Oct 2017, 13:51

Bonjour,

Je coince sur un problème avec les progress bar que j'utilise comme trait. Tout vas bien que je l'affiche seule background + border noir
Mais que je veux agrandir la progress bar les bordures change ...

Code: Select all

Gui			, 1:Add   , Progress	, xp+11  yp+3  w100  h40  Background000000  vW_Fin_Ligne 		; ICI OK
GuiControl	, 1:move  , W_Fin_Ligne  , % "w"(A_GuiWidth - 146 - 149) 								; AGRANDISSEMENT OK MAIS LES BORDURES CHANGES ??? 
J'ai tester aussi avec, ca ne fonctionne pas : :(

Code: Select all

GuiControl,  , W_Fin_Ligne , +Background000000
GuiControl,  , W_Fin_Ligne , +0x8
GuiControl,  , W_Fin_Ligne , +0x800000
Si quelqu'un à une idée ?

Merci d'avance

Top