Guidosoft
March 27th, 2006, 09:55 AM
I am having some problems with my the scrollbar for my syntax highlight edit control I am making.
It's awkword. The bar size is 1/nth whole possible scroll bar size. N is the 1-based index maximum number of the scroll bar. So if the max is 1. I got half a bar. This is not what I want. I want it to work like a normal edit scrollbar control.
Also, I am having problems with setting the scroll pos from the track pos.
I am having problems with focus too.
If it is a child of a window it won't catch on focus or recieve focus message but when it is not a child then it recieves focus messages and catches focus.
Someone please help. I can't show my code because I am in school and my disk drives are broken at home.
It's awkword. The bar size is 1/nth whole possible scroll bar size. N is the 1-based index maximum number of the scroll bar. So if the max is 1. I got half a bar. This is not what I want. I want it to work like a normal edit scrollbar control.
Also, I am having problems with setting the scroll pos from the track pos.
I am having problems with focus too.
If it is a child of a window it won't catch on focus or recieve focus message but when it is not a child then it recieves focus messages and catches focus.
Someone please help. I can't show my code because I am in school and my disk drives are broken at home.