Scrollbar

Bonjour.
Quand j’exécute mon application et que l’arbre (TreeCtrl) est déployé,
la scrollbar se place vers le bas.
Est-il possible de la maintenir vers le haut?
Et si oui, comment faire?
merci
Sébastien
http://beusse.alwaysdata.net/

Hello sebastien,

If you are talking about the Scroll bar on the left hand side, that
controls
the vertical scroll of the Tree Control, I am not sure of a specific way
in
which to manage that. However, it should be noted, that most windows
with
scroll bars, inherit from the Wx::ScrolledWindeow class, and should
expose
the same API there. I would suggest starting with that, and moving
forward,
to see if any of the methods listed there, will work for you.

hth,

Mario


Hello sebastien,

If you are talking about the Scroll bar on the left hand side, that
controls
the vertical scroll of the Tree Control, I am not sure of a specific way
in
which to manage that. However, it should be noted, that most windows
with
scroll bars, inherit from the Wx::ScrolledWindeow class, and should
expose
the same API there. I would suggest starting with that, and moving
forward,
to see if any of the methods listed there, will work for you.

hth,

Mario

2009/8/25 sebastien [email protected]

Doh, that didn’t go well…

[Traduction française ci-dessous / French Translation Below]

Bonjour Sébastien,

Si vous parlez de la barre de défilement sur le côté gauche, qui
contrôle le
défilement vertical de l’arborescence du contrôle, je ne suis pas sûr
d’une
manière spécifique pour gérer cela. Toutefois, il convient de noter que
la
plupart des fenêtres avec des barres de défilement, héritent de la
météo::
ScrolledWindeow classe, et devrait exposer la même API là . Je suggère Ã
commencer par cela, et aller de l’avant, pour voir si l’une des méthodes
qui
y sont énumérés, travaillera pour vous.

hth,

Mario